macubergeek
IS-IT--Management
I'm trying to figure out the sql syntax to delete every row from a specified table. I don't want to drop the table just clean out every row...
I've tried:
DELETE * FROM TABLE_NAME;
DELETE * FROM TABLE_NAME WHERE id NOT NULL;
no luck.
Can someone give me a shove in the right direction?
I've tried:
DELETE * FROM TABLE_NAME;
DELETE * FROM TABLE_NAME WHERE id NOT NULL;
no luck.
Can someone give me a shove in the right direction?