Skip to content

Conversation

@siegelpeter
Copy link

Adds MSSQL and Azure SQL database support, including necessary dependencies and connection logic.

The changes implement the executeMSSQLQuery function to handle query execution for MSSQL and Azure SQL databases. It constructs the connection configuration, executes the query, and formats the result into a standard QueryResult object. Also, the executeQuery function is updated to route MSSQL/Azure SQL connections to the new handler.

Updates query execution logic to incorporate TOP clause for limiting number of rows fetched from MSSQL, Azure SQL, and SQL Server databases to address the missing limit clause which could cause a timeout. Also, includes better logging of errors to help diagnose issues.

These modifications allows the application to connect to and query MSSQL and Azure SQL databases directly, improving its database compatibility.

I also added error handling and tested it with my azure sql Databases.

Adds MSSQL and Azure SQL database support, including necessary dependencies and connection logic. It includes a version bump to 1.2.3.

The changes implement the `executeMSSQLQuery` function to handle query execution for MSSQL and Azure SQL databases. It constructs the connection configuration, executes the query, and formats the result into a standard `QueryResult` object. Also, the `executeQuery` function is updated to route MSSQL/Azure SQL connections to the new handler.

Updates query execution logic to incorporate `TOP` clause for limiting number of rows fetched from MSSQL, Azure SQL, and SQL Server databases to address the missing limit clause which could cause a timeout. Also, includes better logging of errors to help diagnose issues.

These modifications allows the application to connect to and query MSSQL and Azure SQL databases directly, improving its database compatibility.

Fixes: properly handle errors when listing tables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants