Tuesday, May 13, 2014

TRUNCATE TABLE Syntax

So you need to empty the table use the following command

TRUNCATE TABLE empties a table completely. Logically, this is equivalent to a DELETE statement that deletes all rows, but there are practical differences under some circumstances

TRUNCATE  tbl_name

TRUNCATE TABLE empties a table completely. Logically, this is equivalent to a DELETE statement that deletes all rows, but there are practical differences under some circumstances.



0 comments:

Post a Comment