Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the constraint of a column
Message
De
07/10/2004 22:50:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00949432
Message ID:
00949784
Vues:
10
Hi Sergy,

Thanks for the reply. I want to retrieve the constraint name that was created when I placed a default value on a field. I tried executing

sp_helpconstraint 'Tablename',nomsg

This gave me a list of all contraints. I tried executing the code that you gave but it does not return a result if the constraint type of the column is DEFAULT.

Did I missed on something?

Thanks...
Music Rocks www.musicreserve.blogspot.com
Success is 1% Inspiration & 99% Perspiration
God Sometimes Delays His Help to Test Our Faith and Energize Our Prayers
Our Boat May Be Tossed While He Sleeps, But He Wakes Up Before it Sinks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform