You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying to develop a script which will enable me to see each Parent to Child relationship within a table catalog.
Current script I'm using:
select *
from information_schema.columns
where TABLE_SCHEMA in
('*name of schema')
order by table_name, ordinal_position
Output I'm looking for:
TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, plus parent to child elements output - anyone who can help me with this? Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am currently trying to develop a script which will enable me to see each Parent to Child relationship within a table catalog.
Current script I'm using:
select *
from information_schema.columns
where TABLE_SCHEMA in
('*name of schema')
order by table_name, ordinal_position
Output I'm looking for:
TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, plus parent to child elements output - anyone who can help me with this? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions