Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete Top 1??
Message
De
25/03/2003 11:59:13
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Delete Top 1??
Divers
Thread ID:
00769778
Message ID:
00769778
Vues:
59
Hi,

I want to loop through a number of rows, Select the Top 1 row from a temp table and insert into a permanent table.
After inserting the row, I want to be able to delete the row thats was inserted from the temp table.

Any ideas on how I could do this.
When I select the Top 1 row from the temp table, there arent any unique values that I can use for deletion.

Thanks,

Alvin
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform