r/SQL • u/_devonsmash • Jan 08 '26
PostgreSQL Data mapping
Looking for some input on the following.
I have about 50 tables of data, with around 30 headers each. I can only access this data through virtual desktop infrastructure, and use “in database connection” through alteryx. I cannot directly access it in SQL, but i can write SQL code in alteryx to access the data.
This is very tedious
I want to create a large map of this data, all its tables, and their connections. This will just be a map. No data will be stored in this table for security purposes, but I can build it in SQL, power bi, excel or any other suggestions. The goal of this is so I can easily reference where all the data is quickly and where everything is.
What is the best way to go about this?
View all comments
Show parent comment
1
u/ZarehD Jan 09 '26
Yeah, it'll be tedious and manual but you can probably use name matching to suggest the FK relationships ->
col_a1intable_ais described as a primary key and it also appears intable-b, so it's a FK relation betweentable_aandtable_b.