try:
sqlplus catv/catv@oracle9 @drop-table.sql;

解决方案 »

  1.   

    最好加上路径test.bat
    sqlplus system/manager @c:\test.sqlD:\>test.batD:\>sqlplus system/manager @c:\test.sqlSQL*Plus: Release 8.1.7.0.0 - Production on Tue Nov 16 16:03:31 2004(c) Copyright 2000 Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    D
    -
    X
      

  2.   

    要把语句都写在drop-table.sql脚本里,
    然后sqlplus catv/catv@oracle9 @drop-table.sql;
      

  3.   

    创建test.bat
    sqlplus system/manager@service_name @c:\test.sql
      

  4.   

    SQL>@c:\test.sql;

    SQL>start c:\test.sql;
      

  5.   

    zmgowin,LGQDUCKY说的都对,但是zmgowin是最快给我发帖子,让我解决问题的.