Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need some advice
Message
 
 
To
30/03/2000 00:10:09
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00348846
Message ID:
00352579
Views:
22
>I could add a identity field as autoincrement.
>But what happens when I want to insert a backdated entry which has to be sorted datewise in ledger report and the balances calculated in that order.
PMFJI, but all you need to do in this case is insert the record with the correct (backdated) date and order by date in the ledger report and balance algorithm.

The Identity field is used as a unique identifier or primary key. It should not be used to sort anything.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform