Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique String Function
Message
 
 
À
20/02/2004 07:19:07
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00879123
Message ID:
00879141
Vues:
14
>Can anyone tell me if MSSQL Server has a built in function to generate a unique character string? VFP, for example has the SYS(2015) function which generates a unique 10 character string based on the date and time. I want to create an insert trigger that will assign this unique string to a field as a default.
>
Paul,

Check a uniqueidentifier data type and NEWID function in BOL.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform