Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL server. How to DELETE 1 million rec?
Message
 
À
30/12/1999 14:51:05
Oleg Khvalin
The Sutherland Group Ltd
Rochester, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00310564
Message ID:
00310795
Vues:
19
Hi Oleg,

What about

SELECT INTO #TEMPTABLE
for the 10000 or so

DROP TABLE

SELECT INTO FROM #TEMPTABLE

Create index

Cheers,

Andrew

>Mark,
>These records expire 3 month after their "mail" day and it means all 1 million rec (minus 10,000 that were used) expire at once.
>So, for 2 weeks this "delete job" will do nothing, then it will try to delete 1 mln rec.
>I know severeal workarounds (including my BCP-Fox solution), it is beyond the scope of this thread.
>Let us just assume you must delete 1 mil rec from 4 mil and you never heard about Foxpro (and BCP?).
>The question is how you delete 1 mil rec?
>Anybody has this experience?
>Thanks
>Oleg


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform