DELETE query is delete all existing record from table with condition or without condition
DELETE Syntax
DELETE FROM YourTableName WHERE Condition
Example
1. Delete specific record form table
DELETE FROM City WHERE CityID = 1
1. Delete all record from table
DELETE FROM City
DELETE Syntax
DELETE FROM YourTableName WHERE Condition
Example
1. Delete specific record form table
DELETE FROM City WHERE CityID = 1
1. Delete all record from table
DELETE FROM City
No comments:
Post a Comment