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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting next number in sequence.

Status
Not open for further replies.

Gatorajc

MIS
Mar 1, 2002
423
0
0
US
If someone read this in another forum sorry. Posted it in the wrong one.

I have a table that looks something like this.

OrderID Product Seq CustID
1 xyz 16 a494
2 fji 17 a494
3 ere 18 a494

I want to get next number in Seq. I have seen something with NoCount but have no clue how to use it.

AJ
[americanflag]

Do you feel lucky?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top