Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sequence GUID
Message
De
16/05/2009 04:10:05
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Versions des environnements
Environment:
C# 3.0
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01398391
Message ID:
01400240
Vues:
66
>>>>It's just a way of combining a GUID and a date to create a 'pseudo' GUID which will order by date. I don't see any reason why it would not work in CE - but there's no point unless you need the ordering. I'd also be concerned that MS might change the way a GUID is constructed in a future version - I think they've already changed it once....
>>>>Best,
>>>>Viv
>>>
>>>Hi Viv,
>>>
>>>CE doesn't support this function, it seems.
>>
>>Which bit are you referring to. It supports GUID's. The rest is just an algorithm to modify it using a date......
>
>I mean I tried changing the GUID field in SQL Server Compact Edition to use NewSequentialID() as default value and it gave me a message that it's wrong function name or something along the lines.
>
>Of course, I could have used the C# algorithm in my code to insert sequential GUID this way.

Ah, I thought we were talking about C# code. I've no idea which subset of SQL syntax is supported by SQL CE...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform