If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > A way to "SELECT constraints FROM table"

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-11-05, 13:46
santal_maluko santal_maluko is offline
Registered User
 
Join Date: Jan 2005
Posts: 23
A way to "SELECT constraints FROM table"

is there any way to get the contraints or indexes of a table doing a SELECT QUERY?

I am using a VC++ application to do some changes on a Access DB and there is a contraint that as a random name... This would help me to find the constraint name automaticaly and change drop it as I want

hope someone knows a way to do this
Reply With Quote
  #2 (permalink)  
Old 01-11-05, 13:58
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Code:
SELECT * FROM MSysRelationships
-PatP
Reply With Quote
  #3 (permalink)  
Old 01-12-05, 04:32
santal_maluko santal_maluko is offline
Registered User
 
Join Date: Jan 2005
Posts: 23
Thank you very very very much.... you don't know how much did you help me

Finally someone gave me a good answer to my problem and it WORKS
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On