AdobeStock_455007340

Faster SQL Deletes

Want to delete all data in a table? You can use DELETE FROM TABLE, but that is slow because changes are logged. A faster solution is to issue a TRUNCATE TABLE command which is faster because no logging occurs (and if really intent to delete all the data in a table, logging is probably not that important). (Applies to: ColdFusion All)

Leave a Reply