I am using pycharm professional, 2019.1.2 preview.
Most of the time the database I deal with is snowflake. Sometimes, however, it is MS SQL Server.
Here's my problem: when defining a sql command as a python variable, it injects the SQL language but it thinks it is snowflake. And it seems there is no way to tell it that this is actually intended for sql server. The sql highlighting is highlighting syntax errors and missing tables; but these are all false because the dialect and data source wrong.
Is there any way to fix this?