SYBASE环境
query1.Close;
Query1.sql.text:='select * into a from b'
query1.execsql
总是报
select * into zxincharge.dbo.temp1 from zxincharge.dbo.m_msc_cellid_descGeneral SQL error.
ct_cursor(CLOSE): user api layer: external error: A cursor must be opened before this command type can be initialized.但直接在SQL advantage中执行可以成功
如何解决
query1.Close;
Query1.sql.text:='select * into a from b'
query1.execsql
总是报
select * into zxincharge.dbo.temp1 from zxincharge.dbo.m_msc_cellid_descGeneral SQL error.
ct_cursor(CLOSE): user api layer: external error: A cursor must be opened before this command type can be initialized.但直接在SQL advantage中执行可以成功
如何解决
不会不行的呀;应该;
query1.sql.clear;
query1.sql.add('select * into a from b');
query1.ExecSQL;