前提:1 导入文件没有错误,以前曾多次导入
     2 oracle9i和以前版本一样
错误:由于更新操作系统,所以就重装了oracle
执行导入命令后,提示这样的错误,只是不能创建表,但视图及别的可以导入IMP-00003:遇到ORACLE 错误922
ORA-00922:缺少或无效选项
IMP-00017:由于ORACLE 的922错误,以下语句失败
"CREATE TABLE "SBDTZWCMX"("FIE" NUMBER(11,0),"ID" NUMBER(11,0)...
(SQL语法没错)

解决方案 »

  1.   

    ORA-00922 missing or invalid option  Cause An invalid option was specified in defining a column or storage clause. The valid option in specifying a column is NOT NULL to specify that the column cannot contain any NULL values. Only constraints may follow the datatype. Specifying a maximum length on a DATE or LONG datatype also causes this error.  
    Action Correct the syntax. Remove the erroneous option or length specification from the column or storage specification.  应该是非空数据或者数据类型校验的错误,你可以在导入时设定命令 ignore=y试试看