运行sqlplus system/manager@dname

解决方案 »

  1.   

    同意楼上,同时环境变量的path给定路径就应该没问题的。
      

  2.   

    把sql语句写在一个文本文件(比如:sql.txt)。在批处理里面:
    sqlplus system/manager@连接字 @sql.txt用户改为需要连接到的用户。还有,sql.txt 后面最好有一行 exit,使得运行后关闭 sql plus。
      

  3.   

    svrmgr23 system/manager@connectionString @a.sql