使用Oracle SQL Developer1.5.5将SQL server 2000的数据迁移到Oracle11g中去,模型已经转换好,脚本是从转换的模型自动生成的,但是当运行的时候总会出现这样的错误:
PROMPT Creating Table JP_ZFJL ...
CREATE TABLE JP_ZFJL (
WQID NUMBER(10,0),
数据文件 NVARCHAR2(255),
分析人 NVARCHAR2(8),
样品编号 NUMBER(10,0) NOT NULL,
……
后面的代码省略……
下面是生成的错误报告:
SQL 错误: ORA-00911: 无效字符
00911. 00000 - "invalid character"
*Cause: identifiers may not start with any ASCII character other than
letters and numbers. $#_ are also allowed after the first
character. Identifiers enclosed by doublequotes may contain
any character other than a doublequote. Alternative quotes
(q'#...#') cannot use spaces, tabs, or carriage returns as
delimiters. For all other contexts, consult the SQL Language
Reference Manual.
是因为使用了汉字字符才导致出错的吗?或者有其他原因?请高手不吝赐教~~(附:这个错误导致脚本之后的一连串错误,结果表只能迁移部分,而数据是一个也迁移不进去啊……- -)
PROMPT Creating Table JP_ZFJL ...
CREATE TABLE JP_ZFJL (
WQID NUMBER(10,0),
数据文件 NVARCHAR2(255),
分析人 NVARCHAR2(8),
样品编号 NUMBER(10,0) NOT NULL,
……
后面的代码省略……
下面是生成的错误报告:
SQL 错误: ORA-00911: 无效字符
00911. 00000 - "invalid character"
*Cause: identifiers may not start with any ASCII character other than
letters and numbers. $#_ are also allowed after the first
character. Identifiers enclosed by doublequotes may contain
any character other than a doublequote. Alternative quotes
(q'#...#') cannot use spaces, tabs, or carriage returns as
delimiters. For all other contexts, consult the SQL Language
Reference Manual.
是因为使用了汉字字符才导致出错的吗?或者有其他原因?请高手不吝赐教~~(附:这个错误导致脚本之后的一连串错误,结果表只能迁移部分,而数据是一个也迁移不进去啊……- -)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货