Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLServer and Incremental Values
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
SQLServer and Incremental Values
Miscellaneous
Thread ID:
00888511
Message ID:
00888511
Views:
47
I have a question about Incremental values. I am still getting into SQL Server but I had this thought.

Can a value be incremented within a certain boundary and then be reset to 1?

In other words, I have a table with:

Column A Column B Column C
D001 B5 1
D001 B5 2
D001 B5 3
D002 B5 1
D003 B3 1

Where Column C is an incrementing column that is dependent on the combined value of Columns A and B. Is this possible in SQL Server? Or do I need to create either a function/stored proc or handle it in my client?


TIA

Richard
State of Florida, DCF
Next
Reply
Map
View

Click here to load this message in the networking platform