General information
Title:
How can I determine the primary key in a SQL Server table?
I have written a routine to automatically create remote views for all tables in a connection. I wanted to change it to create updatable view, but I need to know which fields in each table constitute the primary key. Is there a FoxPro command to do this (which will allow me to use any backend) or do I have to make a call to the backend (in this case, SQL Server) to do it?
Any help appreciated.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only