0
Can we use UPDATE to insert new column instead of ALTER in SQL ?
1 ответ
+ 1
UPDATE is DML command i.e. it manipulates only the data.
ALTER is a DDL command i.e. it defines/alters the data structure.
So you can only use ALTER for table structure change.