N
netabloid
Unregistered / Unconfirmed
GUEST, unregistred user!
Query1.close;
Query1.SQL.clear;
Query1.Sql.Add('insert into hul select * from [192.168.0.1].[data].[dbo].hul where not nameid in (select nameid from hul)');
Query1.Execsql;
Showmessage('信息更新成功!');
上述语句在 Query Analyzer 里运行没有问题,但在程序里报错:
Project test.exe raised exception class EDBEngineError with message 'General SQL
error.
Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to
be set for the connection. This ensures consistent
qu?. Process stopped. Use Step or Run to continue.
OK Help
() View CPU Windows
Query1.SQL.clear;
Query1.Sql.Add('insert into hul select * from [192.168.0.1].[data].[dbo].hul where not nameid in (select nameid from hul)');
Query1.Execsql;
Showmessage('信息更新成功!');
上述语句在 Query Analyzer 里运行没有问题,但在程序里报错:
Project test.exe raised exception class EDBEngineError with message 'General SQL
error.
Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to
be set for the connection. This ensures consistent
qu?. Process stopped. Use Step or Run to continue.
OK Help
() View CPU Windows