Can v edit the column's data type after creating the table? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Can v edit the column's data type after creating the table?

16th Apr 2016, 2:35 PM
Piyush Singh
Piyush Singh - avatar
1 Réponse
+ 1
Yes, you can use the ALTER command to change the data type. SQL will try to automatically convert the data in the table to the target data type, which might cause data truncation.
26th May 2016, 12:55 PM
James Flanders