+ 2

Whats is main difference between Alter and Update in SQL Statements?

15th Apr 2018, 3:11 PM
Yonis Nouh Yonis
Yonis Nouh Yonis - avatar
4 odpowiedzi
+ 10
Although both words are similar semantically, in SQL ALTER will change the underlying structure of the table or SQL object while UPDATE was used to change the record(s) in the table. Hopefully it clear your doubt! 😉
15th Apr 2018, 3:26 PM
Zephyr Koo
Zephyr Koo - avatar
+ 2
Yep, ALTER make changes the table and UPDATE make changes the records in the table its enough zephyr koo
16th Apr 2018, 6:53 AM
Yonis Nouh Yonis
Yonis Nouh Yonis - avatar
+ 2
SQL UPDATE statement is used to modify column data values that meets specific filter criteria as defined in where clause as part of SQL UPDATE statement. ALTER is a DDL (Data Definition Language) statement. Whereas UPDATE is a DML (Data Manipulation Language) statement.
16th Apr 2018, 4:49 PM
Amit Kumar Rana
Amit Kumar Rana - avatar
+ 1
alter makes to add more...and update makes replace or changes
24th Apr 2018, 3:57 AM
Saran
Saran - avatar