Yes, it could be permissions, see
=> Returns one row for each column that can be accessed by the current user in the current database.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Here is the SQL we use to connect and get the table and field names.
SELECT TABLE_SCHEMA ,
TABLE_NAME ,
COLUMN_NAME ,
ORDINAL_POSITION ,
COLUMN_DEFAULT ,
DATA_TYPE ,
CHARACTER_MAXIMUM_LENGTH ,
NUMERIC_PRECISION ,
NUMERIC_PRECISION_RADIX ,
NUMERIC_SCALE ,
DATETIME_PRECISION
FROM INFORMATION_SCHEMA.COLUMNS;
I have a table visualization (viz) in PBI which shows the table names and field names and info about each field. I can filter based on the table name.
Some tables do not show all the fields in this field list. Let's say for "table1" the field list does not show the field "desc". But when I do another query on "table1" I can use the field "desc" with no errors.
This problem is only on the Azure SQL server. When I query the Postgresql server direct it shows all the fields for a table just fine. But we are required to use the Azure SQL server to reduce load on the Postgresql server.
Thank you.
Yes, it could be permissions, see
=> Returns one row for each column that can be accessed by the current user in the current database.