dynamically changing table name

Results 1 to 2 of 2

Thread: dynamically changing table name

  1. #1
    Join Date
    Dec 1969

    Default dynamically changing table name

    is it possible to dynamically change the name of a table by accepting user input & storing the value in a variable & using that as the table name ?

  2. #2
    Join Date
    Dec 1969

    Default What you would have to do is...

    Rename the existing table to the new table name. I don&#039t think you will have to recreate the indexes and all. This is as long as the userid you are using in your connections string has RENAME privelages.<BR><BR>Example: RENAME oldtablename TO newtablename<BR><BR>At least that is how it could be done in ORACLE.<BR><BR><BR>HTH<BR><BR>Jerry

Posting Permissions

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