![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Hi, MyTable has a primary key id, and this column is used in many tables as foreign keys. How can you get all tables/rows which point to a given id? The result should be something like: tablename | foreignkey column name | primary key value of referencing table Unfortunately the third column is not always of the same type. Any hints? Thomas |
#12
| |||
| |||
|
|
Hi, MyTable has a primary key id, and this column is used in many tables as foreign keys. How can you get all tables/rows which point to a given id? The result should be something like: tablename | foreignkey column name | primary key value of referencing table Unfortunately the third column is not always of the same type. Any hints? Thomas |
#13
| |||
| |||
|
|
Hi, MyTable has a primary key id, and this column is used in many tables as foreign keys. How can you get all tables/rows which point to a given id? The result should be something like: tablename | foreignkey column name | primary key value of referencing table Unfortunately the third column is not always of the same type. Any hints? Thomas |
#14
| |||
| |||
|
|
Hi, MyTable has a primary key id, and this column is used in many tables as foreign keys. How can you get all tables/rows which point to a given id? The result should be something like: tablename | foreignkey column name | primary key value of referencing table Unfortunately the third column is not always of the same type. Any hints? Thomas |
#15
| |||
| |||
|
|
Hi, MyTable has a primary key id, and this column is used in many tables as foreign keys. How can you get all tables/rows which point to a given id? The result should be something like: tablename | foreignkey column name | primary key value of referencing table Unfortunately the third column is not always of the same type. Any hints? Thomas |
#16
| |||
| |||
|
|
Hi, MyTable has a primary key id, and this column is used in many tables as foreign keys. How can you get all tables/rows which point to a given id? The result should be something like: tablename | foreignkey column name | primary key value of referencing table Unfortunately the third column is not always of the same type. Any hints? Thomas |
#17
| |||
| |||
|
|
Hi, MyTable has a primary key id, and this column is used in many tables as foreign keys. How can you get all tables/rows which point to a given id? The result should be something like: tablename | foreignkey column name | primary key value of referencing table Unfortunately the third column is not always of the same type. Any hints? Thomas |
![]() |
| Thread Tools | |
| Display Modes | |
| |