SQL Language (MOSC)

MOSC Banner

How to use Operating System Commands while using define in sqlplus

edited Jan 8, 2014 5:48AM in SQL Language (MOSC) 4 commentsAnswered
How to use Operating System Commands while using define in sqlplus . The Host OS is Linux

 

define report_name=PROD_${host date "+%b"}.html

 

The above is not working.

 

The output should be 

 

define report_name=PROD_JAN.html


Regards,

DB

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