According to the JavaDocs that come with the JDK, java.sql.DatabaseMetaData.

getImportedKeys(String, String, String)
Get a description of the primary key columns that are referenced by a
table's foreign key columns (the primary keys imported by a table).

    (*Chris*)

----- Original Message -----
From: Thor Heinrichs-Wolpert <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 18, 1999 11:34 AM
Subject: Re: Primary Key value


> If you mean which columns form the primary key attribute for a table, then
I
> believe it is db specific, since the data dictionary is not a standard
item
> describe in any of the ISO SQL drafts.
> Which db are you using?
>
> Thor HW
> ----- Original Message -----
> From: Srinivasan S (Systems Engineering Group) <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 16, 1999 11:57 PM
> Subject: Primary Key value
>
>
> > Hi team,
> >
> >         Is there any chance of getting the primary key value of a
> >         table??
> >
> > Thanks
> > Srini
> >
> >
>
___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to