Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Jdbc > determine if a ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1873 of 1987
Post > Topic >>

determine if a column is UNIQUE using metadata

by petermichaux@[EMAIL PROTECTED] ("Peter Michaux") Jan 19, 2008 at 04:43 PM

Hi,

I've been trying to determine if a column is UNIQUE. I've been trying
to use the following

connection.getMetaData().getIndexInfo(null, "", "comment", false, true);

but it always says that the columns are not unique.

Am I on the right track with the above technique or should I be trying
to do something totally different?

Thanks,
Peter

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
 




 2 Posts in Topic:
determine if a column is UNIQUE using metadata
petermichaux@[EMAIL PROTE  2008-01-19 16:43:00 
Re: determine if a column is UNIQUE using metadata
books@[EMAIL PROTECTED]   2008-01-20 10:15:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Wed Jul 9 0:03:57 CDT 2008.