Home » Infrastructure » Unix » automating a script (11g)
|
|
|
|
|
|
|
Re: automating a script [message #622514 is a reply to message #622507] |
Wed, 27 August 2014 05:21  |
Lalit Kumar B
Messages: 3174 Registered: May 2013 Location: World Wide on the Web
|
Senior Member |
|
|
farooqomar57 wrote on Wed, 27 August 2014 14:36but i wanted to do it unix ie. spool the output of SELECT sql_id FROM V$SQL_PLAN to file
Just use SPOOL in a SQL*plus session. In your shell script open a sqlplus session, SPOOL location:\filename, your query and finally spool off.
|
|
|
Goto Forum:
Current Time: Sun May 04 03:02:53 CDT 2025
|