17,382
社区成员




d:\>
d:\>more test.bat
sqlplus aaa/aaa @d:\test.sql
d:\>more test.sql
select * from dual;
INSERT INTO test(a) VALUES(1);
BEGIN
INSERT INTO test(a) VALUES(2);
END;
/
commit;
exit;
d:\>test.bat
d:\>sqlplus aaa/aaa @d:\test.sql
SQL*Plus: Release 10.2.0.1.0 - Production on 星期二 9月 9 23:03:07 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
D
-
X
已创建 1 行。
PL/SQL 过程已成功完成。
提交完成。
从 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options 断开
[Quote=引用楼主 susie8449 的帖子:]