Home Answers Viewqa SQL What is the Delete Statements in SQL?

 
 


hemant kumar
What is the Delete Statements in SQL?
1 Answer(s)      2 years and 6 months ago
Posted in : SQL

What is the Delete Statements in SQL?

View Answers

November 19, 2010 at 3:58 PM


Hi,

Here is the answer,

Delete statement in SQL is used to delete partial/all data. Especially delete statement is useful in case of partial delete depending upon our criterias otherwise use TRUNCATE to

delete whole data from table.

DELETE FROM table_name WHERE column_name = some_value

Delete All Rows:

DELETE FROM table_name or DELETE * FROM table_name

Thanks,









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.