Machine-translated by Google. Questions are authored in English.
Top

Discussion

The SQL-92 command to change a table name is RENAME TABLE.

  • A.True
  • B.False

Answer: B

Correct answer: False

SQL-92 contains no rename command at all. RENAME TABLE is MySQL’s, and the other products each have their own, so a rename cannot be written portably. The standard-conforming route is to create the new table, copy the rows and drop the old one.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.