Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Habalabam
  • Content: Threads
  • Order by date
  1. Habalabam

    SQL Query finding next unused number in a property.

    This is a bit of an SQL nut (at least to me). I want to find the SQL statement that gets the next unused number within that category. Simplified Table: Table name: MyUnit. Attributes: -UnitNo -CategoryNo Let's assume the statement SELECT UnitNo FROM MyUnit WHERE (CategoryNo=@Category)...
  2. Habalabam

    Locate next available number.

    Hi, I want to find the SQL statement that gets the next unused number within that category. Simplified Table: Table name: MyUnit. Attributes: -UnitNo -CategoryNo Let's assume the statement SELECT UnitNo FROM MyUnit WHERE (CategoryNo=@Category) returns the set {1,2,3,4,5,7,8,10,11,12} if...

Part and Inventory Search

Back
Top