sqlplus命令窗口执行sql脚本文件

SQL>@file_name

例如

SQL>@monitor.sql      文件须得在当前窗口所在的目录下或者指定某个路径。

SQL>@D:\monitor.sql 

转载示例------------------------
sqlplus system/system@srv @a.sql 或者登录sqlplus后执行@a.sql

猜你喜欢

转载自www.cnblogs.com/chxmtl/p/11803276.html