db2 出现“DB21007E”错误
我用sql文件建表,比如是aa.sql文件,格式如下:
drop table if exists bb_table;
create table bb_table
(
localno integer not null,
localdate date not null,
.
.
.
有
65
个
字
段
.
.
.
);
create unique bb_index on bb_table (localno, localdate);
在linux下执行:
db2 connect to dbname
db2 -svtf aa.sql
后出现"DB21007E End fo file reached while reading the command."的错误,
请问高手,怎么解决呢?我在语句后面加上‘;’、‘:’都不行,请赐教。