The DELETE statement is used to delete specific records/rows in a table
The DELETE Syntax
DELETE FROM table_name
WHERE some_column = some_value
The TRUNCATE statement is used to delete all records/rows in table
The TRUNCATE Systax
TRUNCATE TABLE table_name
The DELETE Syntax
DELETE FROM table_name
WHERE some_column = some_value
The TRUNCATE statement is used to delete all records/rows in table
The TRUNCATE Systax
TRUNCATE TABLE table_name
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.