Re: Insert fails on linked server to Sybase




I haven't even been able to get that far - I've managed to set up sql
server 2005 on my local machine, but cannot manage to even set up the
linked (sybase) server.

I'm currently working around it by creating a new MS Access database,
importing the relevant data into there as a snapshot and now the
intention is to import that data into SQL 2005....just waiting for the
truckloads of data to come across the network, one electron at a time!

Obviously this is NOT a good workaround - anyone with any suggestions
as to how I could set it up so I could actually SEE the sybase db, I'd
be most appreciative

cheers,
niall

Soren S. Jorgensen wrote:
*Hi,

I have set up a linked server on our SQL2005 using MSDASQL that maps
to a
system ODBC dns pointing to a Sybase server.
The Sybase OLD DB Provider is very unreliable, so we have to use the
ODBC
thing.

I can select, delete and update tables in Sybase using the linked
server,
but cannot do inserts!
I have tried using the ODBC connection from another app where the
insert
goes well.

OLE DB provider "MSDASQL" for linked server "SYBASE" returned
message
"Unspecified error".
Msg 7343, Level 16, State 2, Line 1
The OLE DB provider "MSDASQL" for linked server "SYBASE" could not
INSERT
INTO table "[SYBASE].[mydatabase].[dbo].[mytable]"

Has anyone seen this before ??

Kr. Soren *



--
Niall Baird
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message2491603.html

.



Relevant Pages

  • RE: Invalid cursor state when using PRINT in MSSQL
    ... The server and all the SP's I am running this on is MSSQL and not Sybase. ... MS SQL Server help also mentions that you have to call SQLError right after ...
    (perl.dbi.users)
  • RE: Invalid cursor state when using PRINT in MSSQL
    ... Interesting article but I seriously doubt you are using the ODBC 2.0 MS SQL ... DBD::ODBC does call SQLError immediately after SQLExecute returns ... I was unable to reproduce this with the ODBC 3 MS SQL Server driver ...
    (perl.dbi.users)
  • Re: DTC Fehler
    ... Lege im SQL Server einen Linked Server für die AS/400 an. ... Einstellungen für den Providerstring - vergleiche auch Angaben zum ODBC ... Die Verbindung zur AS/400 wird über den IBM Client Access ...
    (microsoft.public.de.sqlserver)
  • Re: MS Access database to gradually become a server based database - which one ?
    ... Server 2008 Express Edition. ... SQL server is indeed a high performance system, and also a system that can ... Before Microsoft started "really" selling sql server, they rated JET could ... (this ONLY applies to odbc to sql server...you CAN and are FREE to do this ...
    (microsoft.public.access.gettingstarted)
  • RE: ODBC Error with Sybase from Win2K Server (but works from WinXP!)
    ... I'd like to know if you create a DSN in odbc ... When configuring the DSN for the ODBC connection to Sybase, ... SQL Server connection. ... >> HOWEVER, exeute the same stored proc on my workstation (WinXP Pro SP1, ...
    (microsoft.public.sqlserver.odbc)