Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sequence GUID
Message
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
C# 3.0
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01398391
Message ID:
01399634
Views:
80
>>Hi,
>>Thank you.
>>
>>I tried out the code (code posted here and also from Jimmy one), and found that it is not generated in sequence as well. The way I test is
>>
>>1. Defined an array contains 5 elements.
>>2. Call the COMBGuid 5 times and assigned the return value to each element accordingly 0..1..2..3..4..5
>>3. Copy the guid value of each array elements to guid column of each record in table.
>>4. ORDER the guid column
>>
>>Result, the sequence of record doesn't same as the order of array element.
>>
>>Is it the right way to test?
>>
>>Please advice. Thank you
>
>Hi,
>The link Cetin provided in a previous post has C# code to create the COMBGuid - looks like it needs to be more complex than my sample ! Even after the more complex way of getting the Date derived byte[] I see that both arrays are reversed.
>
>Did Cetin's code work for you?
>Best,
>Viv

Does SQL Server CE support it and would it be a better way to go with the regular Guid?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform