DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003

    DynamicTable name

    I need to create backup of a table every 15 mints. or so for few days. is there a a way I can create the table name with date & time stamp included in TableName.

    Create Table EmpDate1Time1 as select & from EMP;

    Create Table EmpDate2Time2 as select & from EMP;

    etc. etc.

    How I can do something of this kind?

  2. #2
    Join Date
    Mar 2007
    Ft. Lauderdale, FL
    dynamic sql.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width