Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
We have a Database that was created with a case sensitive name in Snowflake called MyDatabase.
CREATE DATABASE "MyDatabase"
To query this database, we have to run a query like:
SELECT * FROM "MyDatabase".PUBLIC.ITEMSTABLE
This query will fail when we query snowflake:
SELECT * FROM MyDatabase.PUBLIC.ITEMSTABLE
In PowerBI when we native query via the Snowflake connector, the error logs indicate that the quotes around MyDatabase are being stripped from the query. We get this error in PowerBI:
And this error in Snowflake:
Inicating that the query making it to snowflake is missing the double quotes around MyDatabase.
See original Stackoverflow thread and comments exploring topic here:
Please reachout if you have further questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.