GithubHelp home page GithubHelp logo

microsoft / azuredatastudio Goto Github PK

View Code? Open in Web Editor NEW
7.4K 272.0 870.0 734.67 MB

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.

Home Page: https://learn.microsoft.com/sql/azure-data-studio

License: MIT License

JavaScript 1.70% TypeScript 93.61% Shell 0.14% PowerShell 0.06% Inno Setup 0.16% Batchfile 0.05% CSS 1.83% Python 0.01% HTML 0.55% Dockerfile 0.01% Jupyter Notebook 0.91% TSQL 0.04% Less 0.01% Rust 0.71% Scilab 0.23%
azure-data-studio sql-server sql azure postgresql typescript electron microsoft

azuredatastudio's Introduction

Azure Data Studio

Join the chat at https://gitter.im/Microsoft/sqlopsstudio Build Status Twitter Follow

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for additional database support options including MySQL, PostgreSQL, and MongoDB.

Download the latest Azure Data Studio release

Platform Type Download
Windows User Installer 64 bitARM
System Installer 64 bitARM
.zip 64 bitARM
Linux .tar.gz 64 bit
.deb 64 bit
.rpm 64 bit
Mac .zip UniversalIntel ChipApple Silicon

Go to our download page for more specific instructions.

Try out the latest insiders build from main branch:

Platform Type Download - Insiders Build
Windows User Installer 64 bitARM
System Installer 64 bitARM
.zip 64 bitARM
Linux .tar.gz 64 bit
.deb 64 bit
.rpm 64 bit
Mac .zip UniversalIntel ChipApple Silicon

Please visit our download page for more specific installation instructions. Check out the change log or release notes for additional details of what's in the each release. The Azure Data Studio documentation includes complete details on getting started, connection quickstarts, and feature tutorials.

Feature Highlights

  • Cross-Platform DB management for Windows, macOS and Linux with simple XCopy deployment
  • SQL Server Connection Management with Connection Dialog, Server Groups, Azure Integration and Registered Servers
  • Object Explorer supporting schema browsing and contextual command execution
  • T-SQL Query Editor with advanced coding features such as autosuggestions, error diagnostics, tooltips, formatting and peek definition
  • Query Results Viewer with advanced data grid supporting large result sets, export to JSON\CSV\Excel, query plan and charting
  • Management Dashboard supporting customizable widgets with drill-through actionable insights
  • Visual Data Editor that enables direct row insertion, update and deletion into tables
  • Backup and Restore dialogs that enables advanced customization and remote filesystem browsing, configured tasks can be executed or scripted
  • Task History window to view current task execution status, completion results with error messages and task T-SQL scripting
  • Scripting support to generate CREATE, SELECT, ALTER and DROP statements for database objects
  • Workspaces with full Git integration and Find In Files support to managing T-SQL script libraries
  • Modern light-weight shell with theming, user settings, full-screen support, integrated terminal and numerous other features

Here are some of these features in action.

Contributing

If you are interested in fixing issues and contributing directly to the code base, please see the document How to Contribute, which covers the following:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Localization

Azure Data Studio is localized into 10 languages: French, Italian, German, Spanish, Simplified Chinese, Traditional Chinese, Japanese, Korean, Russian, and Portuguese (Brazil). The language packs are available in the Extension Manager marketplace. Simply, search for the specific language using the extension marketplace and install. Once you install the selected language, Azure Data Studio will prompt you to restart with the new language.

Telemetry

Azure Data Studio collects telemetry data, which is used to help understand how to improve the product. For example, this usage data helps to debug issues, such as slow start-up times, and to prioritize new features. While we appreciate the insights this data provides, we also know that not everyone wants to send usage data and you can disable telemetry as described in the disable telemetry reporting documentation.

Privacy Statement

The Microsoft Privacy Statement describes the privacy statement of this software.

Contributions and "Thank You"

We would like to thank all our users who raised issues, and in particular the following users who helped contribute fixes:

  • eulercamposbarros for Prevent connections from moving on click (#7528)
  • AlexFsmn for Fixed issue where task icons got hidden if text was too long
  • jamesrod817 for Tempdb (#7022)
  • dzsquared for fix(snippets): ads parenthesis to sqlcreateindex snippet #7020
  • devmattrick for Update row count as updates are received #6642
  • mottykohn for In Message panel onclick scroll to line #6417
  • Stevoni for Corrected Keyboard Shortcut Execution Issue #5480
  • yamatoya for fix the format #4899
  • GeoffYoung for Fix sqlDropColumn description #4422
  • AlexFsmn for Added context menu for DBs in explorer view to backup & restore db. #2277
  • sadedil for Missing feature request: Save as XML #3729
  • gbritton1 for Removed reference to object explorer #3463
  • Tarig0 for Add Routine_Type to CreateStoredProc fixes #3257 (#3286)
  • oltruong for typo fix #3025'
  • Thomas-S-B for Removed unnecessary IErrorDetectionStrategy #749
  • Thomas-S-B for Simplified code #750
  • rdaniels6813 for Add query plan theme support #3031
  • Ruturaj123 for Fixed some typos and grammatical errors #3027
  • PromoFaux for Use emoji shortcodes in CONTRIBUTING.md instead of � #3009
  • ckaczor for Fix: DATETIMEOFFSET data types should be ISO formatted #714
  • hi-im-T0dd for Fixed sync issue with my forked master so this commit is correct #2948
  • hi-im-T0dd for Fixed when right clicking and selecting Manage-correct name displays #2794
  • philoushka for center the icon #2760
  • anthonypants for Typo #2775
  • kstolte for Fix Invalid Configuration in Launch.json #2789
  • kstolte for Fixing a reference to SQL Ops Studio #2788
  • AlexFsmn Feature: Ability to add connection name #2332
  • AlexFsmn Disabled connection name input when connecting to a server. #2566
  • SebastianPfliegel Added more saveAsCsv options #2099
  • ianychoi Fixes a typo: Mimunum -> Minimum #1994
  • AlexFsmn Fixed bug where proper file extension wasn't appended to the filename. #2151
  • AlexFsmn Added functionality for adding any file to import wizard #2329
  • AlexFsmn Fixed background issue when copying a chart to clipboard #2215
  • AlexFsmn Fixed problem where vertical charts didn't display labels correctly. #2263
  • AlexFsmn Fixed Initial values for charts to match visuals #2266
  • AlexFsmn Renamed chart option labels #2264
  • AlexFsmn Added feature for the opening file after exporting to CSV/XLS/JSON & query files #2216
  • AlexFsmm Get Connection String should copy to clipboard #2175
  • lanceklinger Fix for double-clicking column handle in results table #1504
  • westerncj for Removed duplicate contribution from README.md (#753)
  • ntovas for Fix for duplicate extensions shown in "Save File" dialog. (#779)
  • SebastianPfliegel for Add cursor snippet (#475)
  • mikaoelitiana for the fix: revert README and CONTRIBUTING after last VSCode merge (#574)
  • alextercete for Reinstate menu item to install from VSIX (#682)
  • alextercete for Fix "No extension gallery service configured" error (#427)
  • mwiedemeyer for Fix #58: Default sort order for DB size widget (#111)
  • AlexTroshkin for Show disconnect in context menu only when connectionProfile connected (#150)
  • AlexTroshkin for Fix #138: Invalid syntax color highlighting (identity not highlighting) (#140))
  • stebet for Fix #153: Fixing sql snippets that failed on a DB with a case-sensitive collation. (#152)
  • SebastianPfliegel Remove sqlExtensionHelp (#312)
  • olljanat for Implemented npm version check (#314)
  • Adam Machanic for helping with the whoisactive extension

And of course, we'd like to thank the authors of all upstream dependencies. Please see a full list in the ThirdPartyNotices.txt

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License.

azuredatastudio's People

Contributors

aasimkhan30 avatar abbiepetcht avatar alanrenmsft avatar barbaravaldez avatar benjin avatar brian-harris avatar candiceye avatar charles-gagnon avatar cheenamalhotra avatar chlafreniere avatar corivera avatar csigs avatar cssuh avatar dependabot[bot] avatar kburtram avatar kevcunnane avatar kisantia avatar lewis-sanchez avatar llali avatar lucyzhang929 avatar maddydev avatar mattirv avatar nasc17 avatar ranasaria avatar sakshis-harma avatar smartguest avatar ssreerama avatar udeeshagautam avatar vasubhog avatar yuronghe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azuredatastudio's Issues

Feature Request - Add SQL Server Agent Section

  • SQL Operations Studio Version:

Version 0.23.6
Commit 8a3011756318a2ded1e6e84332230a2b2bf9c544
Date 2017-11-05T22:46:14.815Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

Below the 'Server Objects' section have a section that shows the SQL Server Agent section that includes jobs, alerts, operations, etc.

2017-11-15_16-19-27

Steps to Reproduce:

Feature Request: Extensions Support

Couldn't see that this has already been raised - it'd be great to be able to install Extensions as in VSCode. For instance being able to install VIM emulation.

Same Issue Connecting to SQL as mssql vs code extension

  • SQL Operations Studio Version: 0.23.6 (0.23.6)

Steps to Reproduce:

  1. Attempt to connect to a database.

Details (taken from my post on the other issue):
It seems that it's returned when attempting to connected to a different SQL server. The one that worked is SQL 2016 (13.0.4446.0). The one I tried to connect to today is SQL 2012 (11.0.6607.3).

Link to the issue

Can't Copy multiple columns from results panel

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

  1. Run any query that returns multiple columns.
  2. select the entire column by clicking in the Header of the column
  3. Holding control or shift, select any additional column
  4. Copy either by using control+c or by right clicking and selecting copy/copy with headers functionality
  5. Paste into excel

Expected Behavior:
All selected columns would be copied

Actual Behavior:
Only 1 single column is copied.

Feature Request: Tree view database schemas

  • SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
  • OS Version: Windows_NT x64 10.0.15063

Steps to Reproduce:

  1. Navigate to database > Tables
  2. The databases are listed without being grouped by schemas. For a large database with many schemas, the default view would be improved by a another level in the tree grouping tables/views/etc by the schema in which they reside.

Chart Type values are not user friendly

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

  1. View Chart Type in list.

What I'd expect to see:
"Horizontal Bar" and similar naming for types.

What I see:
"horizontalBar" and other lowerCamelCase naming.

Keep connection and selected database when opening new query tabs

Before we get to the issue, I've been waiting for a tool like this for quite some time, I'm very excited! Looks very nice so far!

SQL Operations Studio version

Version 0.23.6
Commit 8a3011756318a2ded1e6e84332230a2b2bf9c544
Date 2017-11-05T22:46:14.815Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

Steps to Reproduce

  • Connect to a database server
  • Open a new query
  • Select a database
  • Open a new query (Ctrl + N)

I would very much like if the connection and selected database would still be there in the new query tab (similar to what Management Studio does)!

Chart Viewer doesn't work if query is re-run

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

  1. Run "SELECT 1"
  2. Select "View as Chart"
  3. Run query again in same window.
  4. Select "View as Chart"

What I'd expect to see:
I'd expect to be able to see the Chart Viewer tab again.

What I see:
The button doesn't do anything and the Chart Viewer tab doesn't appear.

Edit Data: Insert in table with identity fails

  • SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
  • OS Version: Windows_NT x64 10.0.16299

Steps to Reproduce:

1.Select any table with an identity column
2.Right click and select "Edit Data"
3. Try to enter values manually
4. The result is the error message "Commit row failed: A required cell value is missing"

The list of databases doesn't load in an instance with many databases

It times out when trying to load the list of databases.
Apparently, the query to list the databases gets really slow when it needs to bring values from sys.database_mirroring.
Ex:

SELECT
ISNULL((case dmi.mirroring_redo_queue_type when N'UNLIMITED' then 0 else dmi.mirroring_redo_queue end),0) AS [MirroringRedoQueueMaxSize],
ISNULL(dmi.mirroring_connection_timeout,0) AS [MirroringTimeout],
ISNULL(dmi.mirroring_partner_name,'') AS [MirroringPartner],
ISNULL(dmi.mirroring_partner_instance,'') AS [MirroringPartnerInstance],

Bar chart options start at lowest value

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

  1. Run "
    SELECT 'A' AS Label
    , 10 AS Cnt
    UNION ALL
    SELECT 'B'
    , 20
    UNION ALL
    SELECT 'C'
    , 21
    "
  2. Select "View as Chart"
  3. Select horizontalBar or Bar from the Chart Type list.

What I'd expect to see:
The bar charts to start at 0.

What I see:
The bar charts start at the lowest value, 10 in this case. This makes it hard to read bar charts correctly since some of the meaning of the value is lost.

Perhaps an option to specify a starting value?

SQL Operations Studio cant expand list of databases.

  • SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
  • OS Version: Windows_NT x64 10.0.15063

Steps to Reproduce:

image

image

I cant see all list of databases, however there are a lot of ones.

Copy (Ctrl-C) from query result window does not work

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

  1. Run some query that produces results.
  2. Select some cell and press Ctrl-C
  3. Open notepad and paste

Result: nothing is copied. Right-click on Cell and select Copy does work.

Copy (Ctrl-C) from cell in results window does not work

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

  1. Run a query.
  2. In output result, select some cell.
  3. Hit Ctrl-C to copy value
  4. Go to query window and paste.

Does not work. In order to copy from cell you have to right-click on cell and select Copy

Query charts visuals lost when switching between options

  • SQL Operations Studio Version: sqlops 0.23.5 (8ceb667ae168eab08f666044f8c4611d9d68cfc4, 2017-11-05T21:22:13.756Z)
  • OS Version: Windows_NT x64 10.0.16299

Steps to Reproduce:

  1. Run query against AWDW (2016): SELECT st.SalesTerritoryCountry, sum(frs.salesamount) as Totals from FactResellerSalesXL_CCI as frs
    join DimSalesTerritory as st
    on st.SalesTerritoryKey = frs.SalesTerritoryKey
    group by st.SalesTerritoryCountry
  2. Click view as chart option
  3. Switch from default view (horizontal bar) to time series
  4. Visual is lost
  5. Try to switch back to another/valid visual, visual does not come back. Have to re-run query to reset

When the chart viewer throws an error, unexpected behavior occurs.

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

  1. Run "SELECT 1 AS A"
  2. Select "View as Chart"

What I'd expect to see:
Chart viewer tab selected and count Chart Type selected.

What I see:
Stays at Results tab but Chart Viewer tab is available. I have to manually click on the tab and choose "count".

Feature Request - Multifactor Authentication Logins

  • SQL Operations Studio Version: 0.23.6

Logging into SqlAzure databases that require multi-factor authentication doesn't appear to be implemented yet.

Can't wait to see this tool mature - it's looking great already.

Column Encryption Setting Enabled not working

  • SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
  • OS Version: Windows_NT x64 10.0.15063

When working with Always Encrypted, I found great you guys created the selection box for the encryption setting but it does not seem to be working at the moment. Has it been implemented yet?

Steps to Reproduce:

  1. Create new connection (to a database with Always Encrypted)
  2. Before clicking Connect, Click the Advanced button
  3. Under Security, click on the "Column Encryption Setting" dropbox and select "Enabled"
  4. Click "OK" and then "Connect"
  5. Run a SELECT statement from a table that has encrypted fields. The encrypted fields will not be decrypted.

Feature Request - Show configured connections in "Connect" dialog

  • SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
  • OS Version: Windows_NT x64 10.0.17025

The Connect dialog shows "Recent History" connections for a simple "click to connect" experience.
It would be nice just have the configured connections available whether I have recently used them or not, so please replace "Recent History" with "Configured Connections".

Steps to Reproduce:

  1. Write a query e.g. SELECT 'Hello World';
  2. Disconnect by clicking Disconnect
  3. Click connect - it only shows recent history

image

Windows Authentication does not work on macOS

  • SQL Operations Studio Version:
    Version 0.23.6 (0.23.6)

Steps to Reproduce:
Open SQL Operations Studio
Enter Server name - tried both just the name and name.domain.com
Authentication type = Windows Authentication
Click Connect
Get an error listed below

My iMac is connected to windows domain. I login to the mac using domain credentials. When I try to connect using windows authentication, I get the following error:

System.Data.SqlClient.SqlException (0x80131904): Cannot access Kerberos ticket. Ensure Kerberos has been initialized with 'kinit'.
ErrorCode=InternalError, Exception=Interop+NetSecurityNative+GssApiException: GSSAPI operation failed with error - An unsupported mechanism was requested (unknown mech-code 0 for mech unknown).
at System.Net.Security.NegotiateStreamPal.GssInitSecurityContext(SafeGssContextHandle& context, SafeGssCredHandle credential, Boolean isNtlm, SafeGssNameHandle targetName, GssFlags inFlags, Byte[] buffer, Byte[]& outputBuffer, UInt32& outFlags, Int32& isNtlmUsed)
at System.Net.Security.NegotiateStreamPal.EstablishSecurityContext(SafeFreeNegoCredentials credential, SafeDeleteContext& context, String targetName, ContextFlagsPal inFlags, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, ContextFlagsPal& outFlags)
at System.Data.SqlClient.SNI.SNIProxy.GenSspiClientContext(SspiClientContextStatus sspiClientContextStatus, Byte[] receivedBuff, Byte[]& sendBuff, Byte[] serverName)
at System.Data.SqlClient.SNI.TdsParserStateObjectManaged.GenerateSspiClientContext(Byte[] receivedBuff, UInt32 receivedLength, Byte[]& sendBuff, UInt32& sendLength, Byte[] _sniSpnBuffer)
at System.Data.SqlClient.TdsParser.SNISSPIData(Byte[] receivedBuff, UInt32 receivedLength, Byte[]& sendBuff, UInt32& sendLength)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.<>c__DisplayClass22_0.b__0(Task1 _) at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection.ReliableSqlConnection.<>c__DisplayClass28_0.<b__0>d.MoveNext() in C:\J\jobs\sqltoolsservice_master_win\workspace\src\Microsoft.SqlTools.ServiceLayer\Connection\ReliableConnection\ReliableSqlConnection.cs:line 298
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.d__46.MoveNext() in C:\J\jobs\sqltoolsservice_master_win\workspace\src\Microsoft.SqlTools.ServiceLayer\Connection\ConnectionService.cs:line 542
ClientConnectionId:719fbb11-e2be-46ca-b44c-fb57f4179fd6

Results not aligned correctly

  • SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
  • OS Version: Windows_NT x64 10.0.17025

Steps to Reproduce:

1.run a query
2.In the grid, you can see rows and columns are not aligned correclty

capture

Not able to execute a query against multiple connections using 'New Server Group' option

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

When I create a 'New Server Group' and add multiple connections under it, I am not seeing an option to run a query against all the connections at a single go.

Executing a SQL Query against multiple servers at the same time was one of the biggest advantage of using Registered Servers feature in SSMS. This needs to be built into the Ops Studio to leverage the real power of the 'New Server Group' feature.

Cannot switch back to Results view after choosing Chart Type of "time series" in Chart Viewer

  • SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
  • OS Version: Windows_NT x64 6.1.7601

Steps to Reproduce:

  1. Run this query:
    select '2017-06-22T00:00:00' [dt], 791 [count] union all select '2017-06-22T01:00:00' [dt], 451 union all select '2017-06-22T02:00:00' [dt], 528

  2. Click the "View as Chart" button in the bottom Results pane, on the right side.

  3. In the Chart Type drop down menu, choose "timeSeries"

  4. No chart is displayed (I expected a chart to be displayed)

  5. Click the Results name to the right of the Chart Viewer name to switch back to Results view (this fails, nothing is displayed).

CodeSignSummary.md

  • SQL Operations Studio Version: 0.23.6.0

Steps to Reproduce:
Within the main build contains CodeSignSummary.md. Don't believe this should be in the program directory

Execute Stored Procedure Option is missing

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:
Right click on a Stored procedure. There is no option for executing the stored procedure.
It is present via SSMS and I used it all the time, so would be great to have that.

Dashboard refresh doesn't work when changing user settings

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

  1. Add an insight to user settings file.
  2. Open Dashboard.
  3. Change title for insight in user settings file.
  4. Refresh Dashboard.

What I'd expect to see:
I'd expect to see the new title on the insight.

What I see instead:
I see the old title on the insight. Nothing changes.

Text header on Code tab has incorrect spelling.

The text contained on the Code tab for the GitHub project contains the following text:

SQL Operations Studio is a data management tool that enables working with SQL Sever, Azure SQL DB and SQL DW from Windows, macOS and Linux.

Pretty clearly, that bold text should be Server

Go statement doesn't recognize numerical execution count parameter

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

  1. Create a new query in SQLOPS
SELECT @@SERVERNAME
GO 5
  1. Execute and it will only run once

  2. Run the same query within SSMS or SQLCMD and it will execute multiple times.

This probably isn't a production type feature but handy with demonstrations, automation, and development work to provide a multi execution of a single batch
I know that this is not strictly a TSQL language but has been in our other client tools and very useful in the field.

Dashboard refresh doesn't work when underlying query has changed.

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

  1. Add an insight based on a custom query.
  2. Open the dashboard.
  3. Change the query and save.
  4. Refresh the dashboard/insight.

The refresh button doesn't seem to be doing anything at the moment. I have to close and reopen the dashboard before it picks up any changes.

Widget is doubling the number of rows in some tables

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce: add the widget for table-space-db-insight to the database dashboard.

The query underlying the table space widget is doubling the number of rows for some, not all, tables in my db.

SELECT Top 5
    TABL.name AS table_name,
    SUM(PART.rows) AS rows_count,
    SUM(ALOC.total_pages) AS total_pages,
    SUM(ALOC.used_pages) AS used_pages,
    SUM(ALOC.data_pages) AS data_pages,
    (SUM(ALOC.total_pages)*8/1024) AS total_space_MB,
    (SUM(ALOC.used_pages)*8/1024) AS used_space_MB,
    (SUM(ALOC.data_pages)*8/1024) AS data_space_MB
FROM sys.Tables AS TABL
    INNER JOIN sys.Indexes AS INDX
    ON TABL.object_id = INDX.object_id
    INNER JOIN sys.Partitions AS PART
    ON INDX.object_id = PART.object_id
        AND INDX.index_id = PART.index_id
    INNER JOIN sys.Allocation_Units AS ALOC
    ON PART.partition_id = ALOC.container_id
WHERE
INDX.object_id > 255
    AND INDX.index_id <= 1
GROUP BY TABL.name, 
INDX.object_id,
INDX.index_id,
INDX.name
ORDER BY 
(SUM(ALOC.total_pages)*8/1024) DESC


'Server Name' and 'Database Name' - Can these be drop downs instead of text boxes?

  • SQL Operations Studio Version: 0.23.6

Steps to Reproduce:

When you are adding a new connection, is there any plan to make the 'Server Name' and 'Database Name' as drop downs instead on text boxes? It will be nice to have the 'Database Name' drop down auto populated once I mention my 'Server Name'

I do see that we are capturing 'Recent History' of the connection strings, which is beneficial.

Query execution shortcuts

Okay, firstly: For a first preview, this is already tremendously good.

One of the best features in SQL Management Studio is the ability to assign shortcut keys to query templates. So for example, if the cursor is on the table name 'Clients', pressing Ctrl+4 does a select from Clients, because that's how I have it configured.

I realize some of those shortcuts already do something different, but any ability to assign shortcuts to often-used queries will be terrific to have.

  • SQL Operations Studio Version:
    Preview 1

Steps to Reproduce:

  1. Select some text
  2. Ponder about the shortcut key that should execute a favourite query.
  3. Realize that won't work.

Support Results to Text

When executing a query, the results are shown in grid form. Sometimes it is more useful to have it as text, using spaces or commas. This is a configurable option in SSMS, which is great.

  • SQL Operations Studio Version:
    Preview 1

Steps to Reproduce:
Execute something like:

execute sp_helptext MyStoredProcHere

The results are given in the grid, but it would clearly make more sense as text.

Inconsistent Results when Executing Statements in a Loop

SQL Operations Studio Version:

  • 0.23.6 (0.23.6)

Background:
I often find myself writing scripts to perform a series of tasks against a list of entities, for example, calling a sproc n times where n = a list of ids I need to work with.

I've always preferred to perform these tasks using a simple loop instead of a cursor.

In SQL Operations Studio, I see inconsistent results of executing this looping logic - it seems the first one or two iterations function as I'd expect, but after that I don't see the results I would traditionally see if I executed the script using SSMS.

Steps to Reproduce:
I've attached a small sample script that should reproduce the behavior.

What I Would Expect to See from the attached Script

  • I would expect my loop to execute 10 times, and I would expect to see 10 result sets, each outputting the text "Working With {N}" where {N} is replaced by the record ID of the processed record.

What I see Instead:

  • I see the loop execute 10 times, but the result sets are inconsistent. I see 1 to 3 actual results sets where the expected text is returned. The other expected result-sets have no returned data.

In SSMS:

  • The same script executes and behaves as expected.

sqlOps_LoopBug_ReproScript.txt

Feature request: actual execution plans

  • SQL Operations Studio Version: 0.23.6

When running queries, the "Explain" button gets the estimated execution plan, but there doesn't appear to be a way to get the actual execution plan for a query.

Error messages logged to console on Ubuntu 17.10

  • SQL Operations Studio Version:

Steps to Reproduce:
Ubuntu 17.10
bash/oh-my-zsh/terminology

follow install steps as described
type "sqlops" at prompt
receive the following, but the app comes up and seems to work fine

 ~ sqlops
Gtk-Message: Failed to load module "overlay-scrollbar"
/usr/share/themes/Ambiance/gtk-2.0/apps/mate-panel.rc:30: error: invalid string constant "murrine-scrollbar", expected valid string constant

relevant possibility: https://forum.qt.io/topic/68608/gtk-message-failed-to-load-module-overlay-scrollbar/6

https://twitter.com/kevcunnane/status/930924938298400768

Minor graphic glitch of results grid selection

SQL Operations Studio Version:
Version 0.23.6
Windows 10 Fall Creator

Steps to Reproduce:

Drag a selection on results grid from left-top to right-bottom and there is a minor graphic glitch that remove the bottom border of first cell.

image

If you drag from bottom-right to top-left the selection is different but I feel that also in this case there is some problem with the bottom border of first cell.

image

Add possibility to check Intellisense status

Intellisense sometimes not working(not showing tables etc.)

Reason might be that data are not fully loaded yet. Please add possibility to check if Intellisense is fully initialized.

  • SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)

Doe not run as a different user

  • SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
  • OS Version: Windows_NT x64 10.0.14393

Steps to Reproduce:

  1. Shift Right click... run as diff. user

Running query/hitting F5, query window looses focus

  • SQL Operations Studio Version: 0.23.6 (Windows)

Steps to Reproduce:

  • Open new query tab, write a SQL statement and hit run or F5. I would expect to still be able to type in the query window, but I actively have to mouse-click or just tab to get focus in query window again

Feature Request: Support for Visual Studio SQL Database Projects

Hello,

At my workplace we use Sql Server Visual Studio Database projects for handling our database developing.

Since SQL Ops seems to be tailored also for devs with its features it will be really nice to have the possbility to open .sqlproj files to provide db dev.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.