Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

delete all rows from table sql

-- Quick, no possible rollback
TRUNCATE TABLE my_table;
-- With rollback
DELETE FROM my_table;
COMMIT;
 
PREVIOUS NEXT
Tagged: #delete #rows #table #sql
ADD COMMENT
Topic
Name
9+7 =