Simple Question

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
tstimple
Forum Commoner
Posts: 53
Joined: Wed Jan 21, 2004 10:12 pm

Simple Question

Post by tstimple »

Hello,

Being new to mysql, I have what is probably an easy problem to solve, but I can't find it in the mysql manual.

Is there a command I can send from PFP to clear all the records in a table without actualy DROPing the table itself?

thanks,

--Tim
User avatar
mudkicker
Forum Contributor
Posts: 479
Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:

Post by mudkicker »

look at the syntax "TRUNCATE TABLE" or something like this.. :D
Post Reply