开发者

Running a SQL using sqlplus in UNIX?

While running the SQL using sqlplus, I dodn't want to dispaly anything on the screen. I am using SPOOL to save the contents to a file. even if I redirect it dispaly开发者_开发知识库s connected to SQL, SQL> 1 2 .... How can I prevent these entries from getting printed?


Try the option -silent (or just -s):

> sqlplus -s username/password@database


if everything else fails, you could try

sqlplus username/password@database @myscript.sql >/dev/null 2>&1
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜