Link to home
Start Free TrialLog in
Avatar of terrywong
terrywong

asked on

Table Naming Conversion

Hi All,

We need to backup one oracle table every week before it is dropped. I wrote one scripts as:

CREATE TABLE a1backup
AS SELECT * FROM al;

I need to run this as cron every week. My question is how to specify the name of backup table(table name + date)? Like albackup03212003, a1backup31042003, ….

Thanks
Terry
ASKER CERTIFIED SOLUTION
Avatar of ypwitkow
ypwitkow

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: ypwitkow {http:#8216223}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

walterecook
EE Cleanup Volunteer