Isql导入大文件

时间:2015-11-05 08:56:40

标签: firebird firebird2.5 isql

当我尝试使用isql导入大SQL文件时,我有一个奇怪的错误

"c:\Program Files\Firebird\Firebird_2_5\bin\isql.exe" -b -e -i d:\ImportSQL.sql localhost:D:\ImportDB.gdb -user SYSDBA-password masterkey

enter image description here

Statement ailed, SQLSTATE = 42000
Dynamic SQL Error
-SQL error code = -104
-Token unknow -line 2, column 1
-F_ID
At line 2 in file d:\ImportSQL.SQL

当我使用FireDac(Delphi组件)或IBExpert IDE导入时:它运行良好。

有没有办法用isql导入大文件?

脚本只包含这样的行(UPDATE):

UPDATE客户端设置ITF_ID = 1093504349,其中ITF_ID = 1335867821; UPDATE客户端设置ITF_ID = 1093454349,其中ITF_ID = 1335802286; UPDATE客户端设置ITF_ID = 1093404349,其中ITF_ID = 1335736751; UPDATE客户端设置ITF_ID = 1093354349,其中ITF_ID = 1335671216; UPDATE客户端设置ITF_ID = 1093304349,其中ITF_ID = 1335605681; UPDATE客户端设置ITF_ID = 1093254349,其中ITF_ID = 1335540146;

UPDATE Client set ITF_ID=1093504349 where ITF_ID=1335867821;
UPDATE Client set ITF_ID=1093454349 where ITF_ID=1335802286;
UPDATE Client set ITF_ID=1093404349 where ITF_ID=1335736751;
UPDATE Client set ITF_ID=1093354349 where ITF_ID=1335671216;
UPDATE Client set ITF_ID=1093304349 where ITF_ID=1335605681;
UPDATE Client set ITF_ID=1093254349 where ITF_ID=1335540146;

0 个答案:

没有答案