I want to extract the relationships between tables for my SQL server database via Dremio.
I can execute “select * from INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS” whereby “REFERENTIAL_CONSTRAINTS” is a view from Microsoft SQL Server Management Studio, however, when I try it from Dremio it doesn’t exist.
I assume I cannot access it because Dremio has only its own information_schema tables which ultimately map onto my connection’s information_schema tables.
Can anyone please confirm if it’s possible to access the information regarding relationships for a sql server database?
See: REFERENTIAL_CONSTRAINTS (Transact-SQL) - SQL Server | Microsoft Learn