Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 AS400 Linked Server

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-11-03 : 07:39:53
Matt Jones writes "I am having trouble delete records on a linked AS400 server. I am issuing the following statements but it doesn't work. Where AS400 is the name of my linked server and TXSEQ# is a primary key in the AS400 table.

DELETE FROM AS400.S1047P8M.DTECH.DTOUTB
WHERE [TXSEQ#] = 23

My error message is

Server: Msg 7345, Level 16, State 1, Line 10
OLE DB provider 'MSDASQL' could not delete from table 'SELECT * FROM DTECH.DTOUTB WHERE TXSEQ# = 0'. There was a recoverable, provider-specific error, such as an RPC failure.
ODBC: Msg 0, Level 19, State 1
SqlDumpExceptionHandler: Process 53 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
[OLE/DB provider returned message: Multiple-step operation generated errors. Check each status value.]"
   

- Advertisement -