Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatically set Default Values for all fields
Message
De
01/06/2007 13:35:31
Aman Bains
Jaguar Computers
Jalandhar, Inde
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01229752
Message ID:
01229866
Vues:
13
>You can bind defaults using sp_bindefault stored procedure but it's depricated and will be removed in a future version of SQL Server. It's recomended to add DEFAULT constrains using CREATE/ALTER TABLE.

Thanks. I will write a script to traverse all fields in all table except PK to set the defaults.
Aman
-------
Lets fly away to the Land where there is Love & Peace
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform