I determine where a given table is referenced via foreign keys.

I determine where a given table is referenced via foreign keys.

How can I determine where a given table is referenced via foreign keys?

View Answers

November 15, 2010 at 4:30 PM

Hi friends,

DatabaseMetaData.getExportedKeys() returns a ResultSet with data similar to that returned by DatabaseMetaData.getImportedKeys(), except that the information relates to other tables that reference the given table as a foreign key container.

Thanks.









Related Tutorials/Questions & Answers:
I determine where a given table is referenced via foreign keys.
I determine where a given table is referenced via foreign keys.  How can I determine where a given table is referenced via foreign keys
Get information about foreign keys used in a table.
Get information about foreign keys used in a table.  How can I get information about foreign keys used in a table
Advertisements
get information about foreign keys - JDBC
get information about foreign keys  How to get the information about foreign keys in Java
Foreign key update table
Foreign key update table  How to update table that has the foreign key in SQL..?   ALTER TABLE YourTable ADD CONSTRAINT FK_YourForeignKey FOREIGN KEY (YourForeignKeyColumn) REFERENCES YourPrimaryTable
alter table add foreign key mysql
alter table add foreign key mysql  Hi, How to add foreign key in mysql using the query 'alter table add foreign key mysql' Thanks   Hi, We can use the following query: ALTER TABLE emp_address ADD FOREIGN KEY (emp_id
how tohow to create a table with primary key and foreign keyhow to create a table with primary key and foreign key
how tohow to create a table with primary key and foreign keyhow to create a table with primary key and foreign key  how to create a table using java language with primary key and foreign key   Hi Friend, A foreign
Foreign key in mysql
Foreign key in mysql  Hi I am creating a website and linking..., there are foreign keys in some of the tables - does anyone know how to link the foreign key of one table into another table within phpmyadmin so the database
Where can I learn JavaScript
Where can I learn JavaScript  Hi, I have HTML knowledge and now want to learn JavaScript. Which is the best tutorials to learn JavaScript? Where can I learn JavaScript? Thanks   Hi, JavaScript is programming
How do I install a .deb file via the command line?
How do I install a .deb file via the command line?  How do I install a .deb file via the command line?   Hi, You can install it with following command: sudo dpkg -i DEB_PACKAGE Example: sudo dpkg -i packagename.deb
Where i can use UNIX Operating System?
Where i can use UNIX Operating System?  Where i can use UNIX Operating System
I need Oracle connector jar file. where will i download?
I need Oracle connector jar file. where will i download?  I need Oracle connector jar file. where will i download
Where can I find a nice TensorFlow tutorial?
Where can I find a nice TensorFlow tutorial?  Hi, I am beginner in TensorFlow and trying to find nice tutorials of TensorFlow. Where can I find a nice TensorFlow tutorial? Thanks
Where can I find a nice TensorFlow tutorial?
Where can I find a nice TensorFlow tutorial?  Hi, I am beginner in TensorFlow and trying to find nice tutorials of TensorFlow. Where can I find a nice TensorFlow tutorial? Thanks
i want to display where i entered values to same page
i want to display where i entered values to same page  hi friends !! i have a values from jsp page .and i want to store that values into DB at the same time i want to show immediatlly on same jsp page with tabular format
i want to display where i entered values to same page
i want to display where i entered values to same page  hi friends !! i have a values from jsp page .and i want to store that values into DB at the same time i want to show immediatlly on same jsp page with tabular format
Where can I learn Data Science for free?
Where can I learn Data Science for free?  Hi, I am beginner in Data...: Where can I learn Data Science for free? Try to provide me good examples or tutorials links so that I can learn the topic "Where can I learn Data
Where can I study data science?
Where can I study data science?  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: Where... that I can learn the topic "Where can I study data science?". Also
Where can I learn AI for free?
Where can I learn AI for free?  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: Where... that I can learn the topic "Where can I learn AI for free?". Also tell
Where can I learn data science?
Where can I learn data science?  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: Where... that I can learn the topic "Where can I learn data science?". Also
Where do I start machine learning and AI?
Where do I start machine learning and AI?  Hi, I am beginner in Data...: Where do I start machine learning and AI? Try to provide me good examples or tutorials links so that I can learn the topic "Where do I start machine
Where should I use Hibernate framework?
Where should I use Hibernate framework?  Hi, What are the advantages of Hibernate framework and Where should I use Hibernate framework? Thanks   Hello, Hibernate framework is famous for database driven applications
Where should I use Hibernate framework?
Where should I use Hibernate framework?  Hi, What are the advantages of Hibernate framework and Where should I use Hibernate framework? Thanks   Hello, Hibernate framework is famous for database driven applications
Where should I use Hibernate framework?
Where should I use Hibernate framework?  Hi, What are the advantages of Hibernate framework and Where should I use Hibernate framework? Thanks   Hello, Hibernate framework is famous for database driven applications
servlet code for finding the table for given number
servlet code for finding the table for given number  servlet code for finding the table for given number?   Here is a an example that accepts a number from the user and display its multiplication table using servlet. 1
I am new to ML/AI. Where do I start learning?
I am new to ML/AI. Where do I start learning?  Hi, I am beginner... to learn: I am new to ML/AI. Where do I start learning? Try to provide me good.... Where do I start learning?". Also tell me which is the good training
I want to learn Machine Learning, where should I start?
I want to learn Machine Learning, where should I start?  Hi, I am... for the tutorials to learn: I want to learn Machine Learning, where should I start? Try... "I want to learn Machine Learning, where should I start?". Also tell me
Mysql Alter Foreign Key
of another  table. The use of the foreign key is used to ensure referential... table Book Add Foreign Key contraint: mysql> describe book... mysql> ALTER TABLE book add CONSTRAINT fk_publisher FOREIGN KEY (publisher_id
Given a code listing, determine whether it is a legal and appropriate way to programmatically access a caller's security context.
Given a code listing, determine...;Next    Given a code listing, determine whether...) method to test whether the current caller has been assigned to a given security
i want to display where i entered values to same page
i want to display where i entered values to same page  hi friends !! i have a values from jsp page .and i want to store that values into DB at the same time i want to show immediatlly on same jsp page with tabular format
Where can I learn Java Programming
question which is "Where can I learn Java Programming?". We have given the best links for helping the new comers in learning Java. If you have any... have to search more for "Where can I learn Java Programming?", just
JSlice
for program debugging and understanding. Given a program P, the programmer provides a slicing criterion of the form (I, L, V), where I is a program input, L is a set of some statement instances during execution of program P with input I
Where can I find reviews of IT solutions company in India to choose from?
Where can I find reviews of IT solutions company in India to choose from?  Where can I find reviews of IT solutions company in India to choose from
I want to know the given class name exists in which jar file?
I want to know the given class name exists in which jar file?   I want to know the given class name exists in which jar file? C:\Program Files\IBM\IBMIMShared\plugins in this path around 600 jar files are there. i want to know
HOW CN I USE WHERE AND BETWEEN CLAUSE SIMULTANEOUSLY... IN MYSQL
HOW CN I USE WHERE AND BETWEEN CLAUSE SIMULTANEOUSLY... IN MYSQL  sir, how can i use WHERE and BETWEEN clause simultaneously..? my tables details is below. expid expdate exprs expdetails expfor_id i want to find out record
Please tell me where I can find tutorials on spring hibernate?
Please tell me where I can find tutorials on spring hibernate?  Hello, Please tell me where I can find tutorials on spring hibernate? Thanks..   Dear Friend, You can find some good tutorials on Spring Hibernate here
Where can I start learning how to use TensorFlow?
Where can I start learning how to use TensorFlow?  Hi, TensorFlow is becoming programming language of choice among data scientist. I also want to learn TensorFlow. Where can I start learning how to use TensorFlow? Thanks
Where can I do data science online training?
Where can I do data science online training?  Hi, I am beginner... to learn: Where can I do data science online training? Try to provide me good examples or tutorials links so that I can learn the topic "Where can I do data
Where can I get best Data science training with project work?
Where can I get best Data science training with project work?  Hi, I... for the tutorials to learn: Where can I get best Data science training with project... the topic "Where can I get best Data science training with project work
Where can I start learning how to use TensorFlow?
Where can I start learning how to use TensorFlow?  Hi, I have finished with my MCA and during studies I learned Java. I have also knowledge of C... start learning TensorFlow? Where can I start learning how to use TensorFlow
Where can I find a data science course online free?
Where can I find a data science course online free?  Hi, I am... for the tutorials to learn: Where can I find a data science course online free? Try to provide me good examples or tutorials links so that I can learn the topic "Where
Where can I find the best core java tutorial online?
Where can I find the best core java tutorial online?  Hi, I want to learn Core Java. Where can I find the best core java tutorial online? Thanks   Hi, RoseIndia.net website is the best website to learn core java
Where can I find the best core java tutorial online?
Where can I find the best core java tutorial online?  Hi, I want to learn Core Java. Where can I find the best core java tutorial online? Thanks   Hi, RoseIndia.net website is the best website to learn core java
I have to retrieve these data from the field table
chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values...I have to retrieve these data from the field table  Hi. I have
Where can I learn R programming in New Delhi?
Where can I learn R programming in New Delhi?  Hi, I am one of fan of Big Data and analytics. I want to learn R Programming language in Delhi. Online training classes is also good for me. Where can I learn R programming in New
Where can I learn R programming in New Delhi?
Where can I learn R programming in New Delhi?  Hi, I am one of fan of Big Data and analytics. I want to learn R Programming language in Delhi. Online training classes is also good for me. Where can I learn R programming in New
hibernate Foreign key
hibernate Foreign key  sir, I am using hibernate in netbeans. I have 2 following tables CREATE TABLE persons ( P_Id int(11) NOT NULL, LastName... using set methods in orders table in feild P_Id which is foreign key. How to insert
i got illegal start of expression error , plese tell me the mistake where i did...
i got illegal start of expression error , plese tell me the mistake where i did...   import org.springframework.context.*; import java.util.*; public class MyListener implements ApplicationListener { public static void main
PHP WHERE clause example to fetch records from Database Table
different actions in MYSQL Database Tables. PHP WHERE Clause is one of them. We can use the WHERE clause in PHP & MYSQL to  add, edit or delete the data within the MYSQL database table. You can also fetch the results using
how to use foreign key in java
how to use foreign key in java  I have two tables in my MySQL database, which were created like this: CREATE TABLE table1 ( id int auto_increment, first name varchar(10), primary key(id) ) CREATE TABLE table2 ( id_fk int, last
foreign key error in sql
foreign key error in sql  create table matchdetails(mid varchar2(10...); ->the match tablle is created create table batsman(mid varchar2(10),pid... varchar2(10),sixes varchar2(10),primary key(mid.pid), foreign key(mid

Ads