You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using mssql and sqltools extensions in VS Code 1.97.2
When I use mssql .. after I execute any sql query .. I see that it was added to Panel 'Query History'.
When I SQLTools extension with driver 'SQLTools MSSQL/Azure+ Driver' .. Panel 'Query History' is not populating.
To Reproduce
Steps to reproduce the behavior:
Go to VS Code
Click on Connection for SQLTools
Select any connection to database and click on icon 'New SQL file'
Execute query
Note that 'Query History' Panel was not populated
Expected behavior
After each SQL query execution ... Query History should be updated
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
SQLTools Version 0.28.4
VS Code Version: 1.97.2
OS: [Windows
Driver:
SQLTools MSSQL/Azure+ Driver 0.6.2
Database version: MS SQL 15.0.4390.2
Additional context
It has no issue when instead of SQLTools I use MSSQL extension.
The text was updated successfully, but these errors were encountered:
@rojam-bocaj - sorry, but what do you mean by ‘property connection'?
SQLTools working fine in all aspects except not displaying Query History. I simply connected it to driver… and that’s it.
On the other hand I found a workaround. Since I have another extension installed I.e. mssql which doesn’t have issues with History… I simply click CTRL+H or CTRL+Shift+P and could see Queries History.
Thanks for your comments
Open VS Code and go to Settings (Ctrl + ,).
Search for SQLTools: Query History.
Ensure Enable Query History is checked.
Manually Open Query History
Run SQLTools: Show History from the Command Palette (Ctrl + Shift + P).
If it doesn’t appear, restart VS Code and try again.
Check SQLTools Log for Errors
Open Output Panel (Ctrl + Shift + U).
Select SQLTools from the dropdown.
Look for any errors related to query history.
Check Storage Location
SQLTools stores history in a local JSON file. If this file is corrupted or missing, you might need to reset it:
Navigate to %APPDATA%\Code\User\globalStorage\mtxr.sqltools
Look for query_history.json.
If it’s missing or corrupted, try renaming it and restarting VS Code.
Update or Reinstall SQLTools
Run SQLTools: Update Dependencies from the Command Palette.
If the issue persists, uninstall and reinstall SQLTools.
Will any of this help what you are trying to do? I came up with this really quick so ask me any questions.
Describe the bug
I am using mssql and sqltools extensions in VS Code 1.97.2
When I use mssql .. after I execute any sql query .. I see that it was added to Panel 'Query History'.
When I SQLTools extension with driver 'SQLTools MSSQL/Azure+ Driver' .. Panel 'Query History' is not populating.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After each SQL query execution ... Query History should be updated
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
SQLTools MSSQL/Azure+ Driver 0.6.2
Additional context
It has no issue when instead of SQLTools I use MSSQL extension.
The text was updated successfully, but these errors were encountered: