Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What is the command to delete one row in sql compact?
Posted
Comments
[no name] 16-Jun-13 18:10pm    
Have you tried writing a DELETE query?
Bruno C Soares 16-Jun-13 21:28pm    
How should I use it?

1 solution

The delete statement is very powerful and if not used correctly can empty the entire table. It is done by referencing a field(or several fields) that matches a value - if found it will delete the record.

SQL
Delete From TableName

Would delete all records.

SQL
Delete From TableName
Where _columnName = _value

Will delete any rows that match the condition.

http://www.w3schools.com/sql/sql_delete.asp[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900