SQL Language (MOSC)

MOSC Banner

spool file

edited Feb 18, 2010 4:30AM in SQL Language (MOSC) 2 comments
  How can I put OS PID to SQLPLUS SPOOL FILENAME?
I tried $$ it got an :SP2-0332: Cannot create spool file error.
(SQL>spool test$$)
on OS:
odidev2$ echo "test PID" > test$$
odidev2$ ls -l test*
-rw-r--r--    1 oracle   dba               9 18 Dec 2008  test458858
(OS VERSION:AIX 5.3,ORACLE 9.2.0.7)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center