Delete Records
There are two commands to • E.g. of delete
delete records:
• Delete
• Truncate
• Delete:it is used to
delete all rows or
• E.g. of truncate
particular row from the
table using where
clause.
• Truncate: to delete al
the row from table and
free the space for
containing the table
• Drop Table: This
• E.g. Drop table
command is used to
physically delete the
table i.e. remove
structure also.
Update Command
• It is used to change the record of the table. You
can change all the rows or particular row from
the table. The Update command specifies the
row with where clause and new data is written
into respective record using set keyword. E.g
• Student table before change
Various way of Updating records
• Change a particular
• Updating Null value
value
• Updating multiple
records • Updating using
expression
Records after Modification