Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GuidCOMB
Message
From
04/06/2011 06:36:54
 
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
C# 4.0
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01510431
Message ID:
01512831
Views:
45
HI
>>I'm not clear on your last sentence. The algorithm for TranfromToGuidWithProperSorting() is the same as that embedded in the version I referenced. I thought the whole point of the exercise was to produce a sequential GUID as used by the SQL ORDER BY clause.

I tried to use the GUID transformed via TranfromToGuidWithProperSorting and insert into SQL table, and found that it doesn't sort as mentioned. According to another article, last 4 bytes are highest priority and ... 1st 4 bytes are lowest priority

>>Oh - and did you read the suggestion to use DateTime.UtcNow to avoid time change issues ?
I just missed out this, will change accordingly. Thank you for help
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Reply
Map
View

Click here to load this message in the networking platform