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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleteing all rows in CF/Linux MySQL

Status
Not open for further replies.

gm456

Programmer
Aug 4, 2000
11
0
0
GB
Bad hair day... whats the syntax to remove all records from a table (I was using delete * from tblname on the NT box but it doesn't work with MySQL)

TIA

GM
 
I don't know MySQL that well (to tell you the truth I never used it at all :) ), but for every DB-system I've worked with it is:

DELETE FROM tablename

For you it's just a matter of getting rid of the asterisk (*). Good luck!

<webguru>iqof188</webguru>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top