Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete Top 1??
Message
From
25/03/2003 11:59:13
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Delete Top 1??
Miscellaneous
Thread ID:
00769778
Message ID:
00769778
Views:
60
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
Next
Reply
Map
View

Click here to load this message in the networking platform