Now we will use the delete operation on given table
if we want delete specific record in table we have to use the Delete operations
with where clause
if we want delete specific record in table we have to use the Delete operations
with where clause
so as you have seen in above table you can delete specific row using Delete Operations
if you want to delete all records of the table just use the Truncate operation on your table.
-Delete
Can not be rolled back.
DML command.
Does not reset identity of table.
It cannot activates trigger. mention transaction log of deleted rows.
- Truncate
Can be rolled back. DDL Command reset identity of table.
Activates trigger.
Does not mention transaction log.
No comments:
Post a Comment