Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleteing rows

Status
Not open for further replies.

DirtDawg

IS-IT--Management
Apr 17, 2002
218
JP
Hello,

What I would like to is add a button that is able to delete all of the rows from the SQL server.
I am adding just numbers to a table, and these numbers are changed every week. So I need to be able to have the users delete the numbers before that input new ones.

Is there a way to do this?

Thanks
 
Execute a query to do that :
Code:
TRUNCATE TABLE TableName
or
Code:
DELETE FROM TABLE TableName
Water is not bad as long as it stays out human body ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top