Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find primary key?
Message
 
 
To
09/01/2003 13:43:27
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00739910
Message ID:
00739915
Views:
5
There's no VFP function but you can use sp_pkeys system sproc.
USE pubs
EXEC sp_pkeys 'authors'
>I am dynamically generating a vfp views database based on a sql server database. I am using the vfp functions - SQLTables() and SQLColumns() to extract the tables and their schema. However, the data returned does not indicate which of the fields/columns is the table's primary key. Does anyone know of a way to determine the PK of a sql server table via a vfp function?
>
>Thanks,
>Douglas
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform