firebird - insert with 2 linked servers -



firebird - insert with 2 linked servers -

i'm connected in sql server 2012, connect sql server 2005 after can connect firebird base.

my query 2 linked server:

insert openquery(2005server, 'select test_id, age openquery(firebirdserver, ''select test_id, age firebirdbase'')' ) values (1, 22)

a exemple 2 linked server works me is:

insert openquery(firebirdserver, 'select test_id, age firebirdbase') values (1, 22);

error 2 linked servers (first code up):

ole db provider "sqlncli11" linked server "2005server" returned message "multiple-step ole db operation generated errors. check each ole db status value, if available. no work done.". msg 16955, level 16, state 2, line 1 not create acceptable cursor.

anyone have error?

thanks!

i've encountered same issue before way solve insert in exec @ seek this...

exec ('insert openquery(firebirdserver, ''select test_id, age firebirdbase'') values (1, 22)') @ 2005server

sql-server firebird linked-server openquery

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -