How to pass date dynamically in prompt. [message #418641] |
Mon, 17 August 2009 23:46 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
deep0983
Messages: 28 Registered: April 2009
|
Junior Member |
|
|
Hi All,
i need to display the below statement.
PROMPT '-----Backup tables ABC_20090818 and DEF_20090818 will be created -----------'
I have created a sql file and when it will run the above message should display at beggining.
The problem is i want to display Table name and today's date in YYYYMMDD format like ABC_20090818.
Can annybody help me how to create dynamically the date so that it will display the date according to today's date.
i tried with sysdate but i dont know how to pass the varibale in above statement.
Please help me out.
Regards
Deep
|
|
|
|
|
|