Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot set newsequentialid as default for UID
Message
De
22/11/2008 08:29:35
 
 
À
21/11/2008 23:39:17
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01363630
Message ID:
01363640
Vues:
9
>trying to setup a table in a sql express 2005 with a UID pk and set the default value to newsequentialid() but management studio 2008 tells me it can't validate it and if I try to create it with a script there is not intellisense for it ( just for newid()) (tried it in a sql 2008 table with the same results)
>
>Am I missing something basic here? How do you use newsequentialid as a default value if you can't set it up as part of the schema?
>
>TIA

Nevermind. Sorry for the false alarm. Working now just fine - seems it was a glitch on my end - possibly having Redhat SQL Generator open and maybe an SMO connection?


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform