給oracle 的SQL指令碼傳引數
阿新 • • 發佈:2019-01-26
SQL指令碼內容:
conn &1/&2selectcount(*) from user_tables; exit
呼叫:
SQL> exit
從Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production中斷開
C:/>sqlplus /nolog @E:/test.sql scott tiger
SQL*Plus: Release 9.2.0.1.0 - Production on 星期二 12月 4 14:02:45 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
已連線。
COUNT(*)
----------
4
從Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production中斷開
C:/>