How can we help you today? How can we help you today?
Win32nipuh
Hi Victoria, please try in the online formatter provided by RG. What is the result? FYI: the link https://www.red-gate.com/products/sql-prompt/#format-sql / comments
Hi Victoria, please try in the online formatter provided by RG. What is the result?FYI: the link https://www.red-gate.com/products/sql-prompt/#format-sql
0 votes
Jon_Kirkwood said: Hi there, I understand that the error being displayed there is coming from SQL Server directly and isn't being generated by SQL Prompt The IS NOT DISTINCT syntax is new for SQL Server 2022 & Azure SQL instances and is anticipated to throw a syntax error if executed against older versions of SQL Server. I suspect our online SQL formatter is not using SQL Server 2022 and this is why the syntax error occurs. Are you using SQL Prompt as a tool deployed to SSMS, VS or ADS on your local device? If this is the error you are receiving in your environment, then I suspect you are running this against an invalid version of SQL Server to parse this code https://learn.microsoft.com/en-us/sql/t-sql/queries/is-distinct-from-transact-sql?view=sql-server-ver16 Are you receiving any other errors than 'Incorrect syntax near distinct' when formatting your code? Hi Jon,  I do not use SQL Prompt, I am trying different tools to select what is suitable for us. We have used Poors Man formatter but it does not understand even more syntax constructions. So I have tried your online formatter and wrote the request. We need a tool for formatting T-SQL in SSMS, VS, Azure Data Studio. And also in VSC will be good but it is not mandatory for now. We are using SQL 2022 on-premise and Azure. Regards. / comments
Jon_Kirkwood said: Hi there, I understand that the error being displayed there is coming from SQL Server directly and isn't being generated by SQL PromptThe IS NOT DISTINCT syntax is new for ...
0 votes
Hi Roseanna, thnax, could you please look at  https://forum.red-gate.com/discussion/87291/docker-cannot-connect-to-sql-server#latest I have wrote about Docker problems / comments
Hi Roseanna, thnax, could you please look at https://forum.red-gate.com/discussion/87291/docker-cannot-connect-to-sql-server#latestI have wrote about Docker problems
0 votes