1.

The statement used to change the table name is __________(a) RENAME(b) CHANGE(c) CHANGENAME(d) CHANGENMThis question was posed to me by my school teacher while I was bunking the class.Enquiry is from Using Server-Side Prepared Statements in division MySQL Programs Using C of MySQL

Answer»

The CORRECT answer is (a) RENAME

The explanation: To CHANGE the NAME of a table, the keyword ‘RENAME’ can be used. It can be used with the ‘ALTER TABLE’ CLAUSE. It can also be used as a statement in itself like ‘RENAME TABLE old_tbl new_tbl’.



Discussion

No Comment Found

Related InterviewSolutions