If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > record deletion problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-12-05, 01:22
aalokb aalokb is offline
Registered User
 
Join Date: Oct 2004
Posts: 9
record deletion problem

In my site 1 tb. is having around 29,00,000 records...can anyone tell me a efficent way to delete all records....
normal sql takes millions of seconds ..so need some smart way...
Reply With Quote
  #2 (permalink)  
Old 02-12-05, 08:58
sais sais is offline
Registered User
 
Join Date: Feb 2005
Posts: 1
Truncate table <tablename>
Reply With Quote
  #3 (permalink)  
Old 02-16-05, 02:19
aalokb aalokb is offline
Registered User
 
Join Date: Oct 2004
Posts: 9
ty..
i got the solution...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On