Were we taught about renaming the tables ? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Were we taught about renaming the tables ?

Need to know how to rename a particular table's column after its created and has content, without shifting or moving the content or deleting the column after copying. so basically. just rename. is "Rename" sufficient?

18th Feb 2017, 5:22 AM
Jithu Nair
Jithu Nair - avatar
1 Antwort
+ 1
For Oracle, MySQL, and MariaDB you can use the following statement ALTER TABLE [table name] MODIFY [column name] [column type];
18th Feb 2017, 11:54 PM
Antonio Russo
Antonio Russo - avatar