Dont delete truncate your tables in SQL
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 5025
Total Votes: 70 votes
Category: Basic SQL/Advanced SQL
Submitted on: 2011-11-02 08:20:14
Submitted By: Javin Paul
Description:Dont Delete , truncate it. If you are working in a huge table you need to be very very careful while executing any query because due to large data any query can run at very long duration or return very huge results which can potentially hang or blew your database. one of common problem with beginners is that they use delete frequently to remove data from tables which is incorrect because if your table is huge than delete can run off your log segment. truncate is the best way to purge data from tables. More detail...