L
lianzhao01
Unregistered / Unconfirmed
GUEST, unregistred user!
我用Query建一个新表,databasename:='kkkkk';语句如下:
with Query1 do
begin
close;
Query1.SQL.Clear;
Query1.SQL.Add('createtable'+表名+'(编号 int,实验名称 char(10))');
ExecSQL;
end;
可是运行期间系统给出错误:
project project2.exe raised exception class EDBEngineError with message'general SQL error.
[microsoft][ODBC microsoft Access drive]无效的SQL语句;期待‘DELETE’、‘INSERT’、‘PROCEDURE’
‘SELECT’、或‘UPDATE’、Process stopped.use step or run to continue.
不知道是怎么回事??请好心人帮我。。。。。。。。
with Query1 do
begin
close;
Query1.SQL.Clear;
Query1.SQL.Add('createtable'+表名+'(编号 int,实验名称 char(10))');
ExecSQL;
end;
可是运行期间系统给出错误:
project project2.exe raised exception class EDBEngineError with message'general SQL error.
[microsoft][ODBC microsoft Access drive]无效的SQL语句;期待‘DELETE’、‘INSERT’、‘PROCEDURE’
‘SELECT’、或‘UPDATE’、Process stopped.use step or run to continue.
不知道是怎么回事??请好心人帮我。。。。。。。。