Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 returning free numbers
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

21 Posts

Posted - 08/02/2007 :  10:38:32  Show Profile  Reply with Quote
I need to make a procedure that return free numbers from a secuential table. Could somebody help me?.

for ex: 1, 2, 3, 4, 5, 7, 8, 9, 10

Its mast be return 6. Thank

Flowing Fount of Yak Knowledge

United Kingdom
1064 Posts

Posted - 08/02/2007 :  10:42:07  Show Profile  Reply with Quote
What's a secuential table? Are these numbers in rows or columns? The former - sounds like you have a first normal form problem. The latter is easy.
Go to Top of Page

Cybernetic Yak Master

11752 Posts

Posted - 08/02/2007 :  10:56:42  Show Profile  Visit spirit1's Homepage  Reply with Quote

Causing trouble since 1980
Go to Top of Page

Patron Saint of Lost Yaks

30421 Posts

Posted - 08/02/2007 :  11:00:03  Show Profile  Visit SwePeso's Homepage  Reply with Quote

E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000