Files
azuredatastudio/extensions/query-history/README.md
Charles Gagnon 0bd3e1b0e1 Fix query-history README links (#7205)
* Fix README URLs

* different fix
2019-09-13 15:24:14 -07:00

51 lines
2.3 KiB
Markdown

# Query History *(preview)*
Adds a Query History panel for viewing and running past executed queries.
### How do I view the history?
Query History is displayed as a tab in the tab panel, which is toggled by the *View: Toggle Panel* command.
![Query History tab](https://github.com/microsoft/azuredatastudio/blob/master/extensions/query-history/images/QueryHistoryTab.PNG?raw=true)
Initially this view will be empty but once you execute a query editor that will be captured in the window - with a separate row displayed for every query executed.
![Query History tab with queries](https://github.com/microsoft/azuredatastudio/blob/master/extensions/query-history/images/QueryHistoryTabWithQueries.PNG?raw=true)
Each row consists of 3 parts :
1. Status icon : This will be a ✔️ if the query executed successfully. If any errors occurred a ❌is shown.
2. Query Text : This is the text of the query that was executed
3. Connection Info : The Server and Database the query was executed against
4. Timestamp : The date and time the query was executed
### Query History row actions
Right clicking on a history row will bring up a menu with a number of actions available.
![Query History action menu](https://github.com/microsoft/azuredatastudio/blob/master/extensions/query-history/images/QueryHistoryActionMenu.PNG?raw=true)
#### Open Query
This will open a new query editor window populated with the query text from the query executed and using the connection of that query.
#### Run Query
This will do the same thing as Open Query but will additionally run the statement immediately.
#### Delete
This will permanently delete the row from the view.
## Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
## Privacy Statement
The [Microsoft Enterprise and Developer Privacy Statement](https://privacy.microsoft.com/en-us/privacystatement) describes the privacy statement of this software.
## License
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the [Source EULA](https://raw.githubusercontent.com/Microsoft/azuredatastudio/master/LICENSE.txt).