Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AFIELDS() on cursor from SQL Server
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01463201
Message ID:
01463219
Vues:
43
>>Hi,
>>
>>I was wondering if, when getting a cursor from SQL Server into VFP app (via SPT call), it is possible to determine if a field/column has a FOREIGN KEY constraint set? I am looking at the AFIELDS() function which populates 18 elements for each field but I don't seem to see any that would indicate FK constraint. Is it possible?
>>
>>TIA.
>
>No, it does not. You need to bring this info from the SQL Server in a separate call.

Thank you. How would you call SQL Server to get info on FK constraint?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform