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 querying a database that uses user defined types, as described in the SQL Server documentation. The table 'MyTable' has fields that use one of these user defined types.
Using Azure Data Studio, if I submit the query SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'MyTable'
I get a response with one row per field in MyTable with the following columns:
Environment
Issue
I am querying a database that uses user defined types, as described in the SQL Server documentation. The table 'MyTable' has fields that use one of these user defined types.
Using Azure Data Studio, if I submit the query
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'MyTable'
I get a response with one row per field in MyTable with the following columns:
The column DOMAIN_NAME contains the name of the user defined type where applicable, or NULL if a system defined type is used.
When I perform the same query using pyodbc, the response consists of 23 columns, but for every row the value in the DOMAIN_NAME field is None.
Is there anyway to determine where user defined types have been used in a table?
The text was updated successfully, but these errors were encountered: