WrenAI icon indicating copy to clipboard operation
WrenAI copied to clipboard

Show original SQL toggle not working

Open shardulb13 opened this issue 9 months ago • 6 comments

After we get the result and select the view SQL tab, when you the view the SQL query it is inaccurate and when we click the Show Original SQL toggle button, it always gives a blank output. This especially happens when you select MSSQL database. Please refer the below attached image for the reference.

Image

shardulb13 avatar Mar 04 '25 11:03 shardulb13

@Douenergy could you check this issue ?

wwwy3y3 avatar Mar 06 '25 08:03 wwwy3y3

@shardulb13 Is this toggle issue only happening with MSSQL, or are your other database connections working fine? Also, just to confirm, you're not having any SQL Server connection issues in general, right?

douenergy avatar Mar 07 '25 08:03 douenergy

@douenergy There is an issue with the SQL Server connection setup. Even when all the details are correct, an SSL certificate error persists, regardless of whether the certificate toggle is enabled or disabled. However, after repeatedly toggling the enable/disable option and clicking the "OK" button, the setup eventually proceeds to table selection and connection definition. Additionally, for MSSQL, the "Show Original SQL" toggle does not work, whereas it functions properly for a PostgreSQL database.

shardulb13 avatar Mar 13 '25 12:03 shardulb13

@shardulb13 is the issue fixed?

cyyeh avatar Jun 13 '25 22:06 cyyeh

Still not fixed ..

edisun3003 avatar Sep 23 '25 03:09 edisun3003

@douenergy There is an issue with the SQL Server connection setup. Even when all the details are correct, an SSL certificate error persists, regardless of whether the certificate toggle is enabled or disabled. However, after repeatedly toggling the enable/disable option and clicking the "OK" button, the setup eventually proceeds to table selection and connection definition. Additionally, for MSSQL, the "Show Original SQL" toggle does not work, whereas it functions properly for a PostgreSQL database.

Having same error.. almost whole week have been trying this.. still not able to go past this error

edisun3003 avatar Sep 23 '25 03:09 edisun3003