Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

primary key check

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi All,

We have an interesting question for you.
Is there any way to see if a column pulled from a database in a cfquery is a primary key?

As far as we know ther's no CF function for this.
So a workaround seems to be needed
Any suggestions?

tnx
 
ICQof188 posted an interesting article on this last month using ADO. (it should be in this archive somwhere).

There is a modified version of that and a few other ADO scripts here as well.


If you hunt around the Allaire site, there is a another method that modifies the permissions to the Access sytem tables... I haven't been able to locate it since they updated their forum.

If you are using Oracle or MySQL you may need to find a different workaround.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top