SQL Server

Microsoft SQL Server 2017 powers your entire data estate by supporting structured and unstructured data sources. It builds on previous versions of SQL Server, which have been industry leading for four years in a row and a leader in TPC-E. It scales to petabytes of data and allows customers to process big data through PolyBase using T-SQL over any data. SQL Server has also been the least vulnerable database during the last seven years. SQL Server 2017 brings data insights with business intelligence capabilities that provide analytics at a fraction of the cost on any device along with advanced analytics with support for R and Python.

More details about SQL Server are available in the SQL Server documentation.
If you have a technical issue, please open a post on the developer forums through Stack Overflow or MSDN.

Do you have a comment or suggestion to improve SQL Server? We’d love to hear it!

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Add a Keyboard Shortcut that Executes the Statement where the Cursor is placed

    Having to select statements by clicking and holding the mouse is just bad ergonomics. Request to have a keyboard shortcut which runs the current sql statement. The current sql statement is defined based on where the cursor is placed. For example, proposed shortcut runs only runs a single sql statement to the next semicolon. This shortcut would be an equivalent to Oracle's SQL developer's ctrl + enter shortcut. Note that this is probably the most used shortcut in SQL Developer and not having an equivalent on SQL Server Management Studio is disappointing. I know that not everyone ends their statements…

    174 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

      7 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
    • Visual Studio 2017 SSDT adds hardcoded master.dacpac include

      Visual Studio 2017 seems to add a hardcoded path to the master.dacpac if I include it in a project of mine. Older versions of the SSDT used the $(DacPacRootPath) variable to get the master.dacpac.

      This is really annoying as it breaks the builds on our build server where the master.dacpac is installed in a different folder than on my development machine.

      29 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

        3 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
      • Remove the word "Initial" in SSMS, Object Explorer, Database Properties, Files.

        Right-click a database, Properties, Files. There's a column named "Initial Size (MB". The word "Initial" should be removed. It is incorrect to have that word there. What we see here is the current size. This is particularly confusing for tempdb since people tend to think that what you see here is indeed the initial size (size at startup, from sys.master_files), which is *not* correct. Again, you see the current size!

        22 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

          2 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
        • SSMS 2016 does not remember added SQL Snippets folder

          You can add your own snippets in SSMS bij using the Code Snippet Manager.
          In the Code Snippet Manager window you have the possibility to add a folder containing customer snippets by using the "Add..." button.
          This works fine as long as you're not closing SSMS. After restarting SSMS you have to add the folder again because it is no longer available in the snippets.

          14 votes
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

            2 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
          • SQL History SSMS

            In SSMS, keep track of all SQL run within SSMS and enable recall to run again. Store in local file/db. Do not store results but do store result stats. Such as Execution Time, Number of rows returned, date executed.

            Click to open in new window. Allow choice of connection to run against.

            13 votes
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)

              We’ll send you updates on this idea

              planned  ·  2 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
            • Performance Dashboard / Expensive Queries / copy query text

              When using the reports in the SSMS Performance Dashboard, you are unable to copy the query text from any of the "expensive queries" reports. Make it so you can either click to view the query in a new query window, or right-click the query to copy the text for pasting into a new window.

              13 votes
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)

                We’ll send you updates on this idea

                planned  ·  0 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
              • SSMS 17.6 crashes when clicking on a schedule in a maintenance plan

                SQL Server Management Studio 17.6 (version 14.0.17230.0) crashes when I click on the schedule icon for a subplan (from a SQL Server 2016 SP1 CU4 instance). In Event Viewer, I find the following event from ".Net Runtime":

                Application: Ssms.exe
                Framework Version: v4.0.30319
                Description: The process was terminated due to an unhandled exception.
                Exception Info: System.NullReferenceException
                at Microsoft.SqlServer.Management.SqlMgmt.ScheduleDialog.InitializeControls()
                at Microsoft.SqlServer.Management.SqlMgmt.ScheduleDialog..ctor(Microsoft.SqlServer.Management.SqlMgmt.JobScheduleData)
                at Microsoft.SqlServer.Management.DatabaseMaintenance.DbMaintDiagramHostCtrl.ChangeShedule()
                at Microsoft.SqlServer.Management.DatabaseMaintenance.DbMaintDiagramHostCtrl.grid_MouseButtonClicked(System.Object, Microsoft.SqlServer.Management.UI.Grid.MouseButtonClickedEventArgs)
                at Microsoft.SqlServer.Management.UI.Grid.GridControl.OnMouseButtonClicked(Int64, Int32, System.Drawing.Rectangle, System.Windows.Forms.MouseButtons)
                at Microsoft.SqlServer.Management.UI.Grid.GridControl.HandleButtonLBtnUp(Int32, Int32)
                at Microsoft.SqlServer.Management.UI.Grid.GridControl.ProcessLeftButtonUp(Int32, Int32)
                at Microsoft.SqlServer.Management.UI.Grid.GridControl.OnMouseUp(System.Windows.Forms.MouseEventArgs)
                at System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)
                at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
                at Microsoft.SqlServer.Management.UI.Grid.GridControl.WndProc(System.Windows.Forms.Message ByRef)
                at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
                at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
                at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

                12 votes
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  2 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                • Azure AD authentication in Import Export wizard in SSMS

                  Ssms 2017 doesn't have the capability to use Azure AD authentication in Import/Export wizard.
                  We have stopped providing Sql authenticated users to support people, we are using AD authentication which works seamlessly. However there is one more place in SSMS which requires the functionality.

                  When users try to use import export wizard they dont have possibility to use Azure AD authentication instead they need to use a SQL authentication which completely ruins our security setup and going back to the old way of accessing Azure Sql db.

                  Can the SSMS team add this little functionality so that it does in…

                  11 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    1 comment  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                  • Move SSMS and Updates into WSUS

                    I want to control SSMS and updates via WSUS. Please add to the catalog for importing or add to Products under SQL Server in the WSUS catalog.

                    10 votes
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      2 comments  ·  Setup + Deployment  ·  Flag idea as inappropriate…  ·  Admin →
                    • SEQUENCE gets reset on Publish from SSDT DB Project

                      When you add a sequence to a database project and have it start at 1 and then deploy the project to a database, the first time it gets created correctly.
                      When you get more values and the sequence next value is 100 and then publish the project again, the publish generates an ALTER SEQUENCE dbo.SequencObject RESTART WITH 1; statement and that should not happen when the sequence object already exists.

                      10 votes
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        planned  ·  1 comment  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                      • SSMS 17.5 Intellisense not working for Azure Server

                        I am running SSMS 17.5 and attaching to an Azure server with 35 Databases and over 50 users.

                        If I connect to a local DB intellisense works fine. On the Azure server there is nothing. No Intellisense at all. It is turned on (TextEditor -> IntelliSense -> Enable Intellisense) and working against other servers.

                        My questions are:

                        Could this be a bug in SSMS 17.5?
                        Is there a setting in SQL server to disable Intellisense queries?

                        7 votes
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          2 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →

                          The gist of the thread on MSDN is correct – Intellisense code currently falls over if your login doesn’t have any access to logical master.
                          At the root of the issue is that Intellisense tries to enumerate all databases and get their data, even on Azure, and since sys.databases returns “master” all the time that data fetch fails.
                          I haven’t found any way to write a query against sys.databases in Azure which omits “master” if the user doesn’t have access to it; so in the short term for SSMS 18.0 I will look for a way to modify Intellisense not to enumerate all the databases when connected to Azure, only the current connected database.

                        • Locate backups in azure container fails when Shared Access Signature contains sip parameter

                          1. I have a SAS created as here: https://docs.microsoft.com/en-us/sql/relational-databases/lesson-1-create-stored-access-policy-and-shared-access-signature, but i added ip restrictions (IpRange argument in GetSharedAccessSignature ), so that sas contains paramter sip=x.x.x.x-y.y.y.y
                          2. When I use this SAS in SSMS 17.4 to restore the backup, then in the "Locate Backup File In Microsoft Auzre" popup i cannot see any files. The reason is that SSMS issues invalid rest call, as it does not include the sip parameter, and that is the reason why the call is not authorized.

                          7 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            planned  ·  0 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                          • Remove Brackets from SSMS script generation

                            I won�t argue technical merits and I doubt this will sway the 800 lb. gorilla. But all one need do is listen to the chatter on the internet to realize that the use of brackets in SSMS script generation is a royal PIA. I respectfully request an option to remove them in SSMS. At the end of the day, you know this can be done and it would make a whole lot of of MSFT customers happy. Thank you.

                            5 votes
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              1 comment  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                            • Vulnerability Assessment reports lists users created WITHOUT LOGIN

                              I ran CREATE USER lilleman WITHOUT LOGIN in an SQL 2016 database. I then ran Vulnerability Assessment in that database, and this users was listed as oprhaned and to be removed. That seems wrong to me. The report should only list users that are expected to be mapped to a login but that are not.

                              4 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                planned  ·  0 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                              • Set the Maximum Size of the SQL Server Error Logs

                                In SQL Server 2012 and later versions, you can use xp_instance_regwrite to set the maximum size of individual error logs. Please make this setting available via SMO, instead of having to use xp_instance_regwrite.

                                Documentation for this feature can be found here: https://support.microsoft.com/en-us/help/2199578/how-to-manage-the-sql-server-error-log

                                3 votes
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  1 comment  ·  Setup + Deployment  ·  Flag idea as inappropriate…  ·  Admin →
                                • Appending datetime to the end of ""Commands completed successfully ... 2018-03-05 09:28:10.1829207"

                                  When I make any change to a stored procedure & compile it (F5),
                                  besides just returning ...
                                  "Commands completed successfully."

                                  Could we append a datetime to the end of that please ?
                                  "Commands completed successfully ... 2018-03-05 09:28:10.1829207"

                                  Buddy

                                  3 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    planned  ·  3 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                                  • SSMS v17 - Object must implement IConvertible. (mscorlib)

                                    When a query is selected with the mouse/keyboard, and then "Analyze Query in Database Engine Tuning Advisor" option in the context menu is selected the following error appears.

                                    "The argument type 'server type = Sql, server name = KSHQ-DB, timeout = 30, database = KSH_Cloudcare, protocol = NotSpecified, workstation = , integrated security = True' cannot be converted into parameter type 'Microsoft.SqlServer.Management.Common.SqlConnectionInfo'. (mscorlib)
                                    Object must implement IConvertible. (mscorlib)"

                                    3 votes
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      3 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →

                                      This is a known issue and it is being fixed (probably in the next major release of SSMS).

                                      Aside from the workaround listed here (update the dtashell.exe.config), another “workaround” is to upgrade from a previous version of SSMS 17.x (e.g. going from 17.4 to 17.5): that has the nice side effect of fixing the dtashell.exe.config as well.

                                    • Scripting Delete action to new query window is deleting the maintenance plans without even executing the script

                                      SQL Server version: Microsoft SQL Server 2014 (SP2) (KB3171021) - 12.0.5000.0
                                      Tested using SSMS 17 and SSMS 12

                                      Scripting Delete action to new query window for Maintenance plans is deleting the maintenance plans without actually executing the script:
                                      Steps:
                                      1)Create a maintenance plan using maintenance plan wizard
                                      2)This creates maintenance plan under path : Server or Instance Name>Management>Maintenance Plans along with a corresponding job under Sql server agent when viewed from SSMS
                                      3)Now right click on the Maintenance plan that gets created from step 1 in location specified in step 2 above and click delete
                                      4)But instead of clicking OK…

                                      2 votes
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        0 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Unable to attach to AzureGovernment cloud with SSMS 17

                                        SSMS 17.4 offers the ability to connect to Azure storage, but it appears unable to connect to Azure Government tenants even if I explicitly select AzureUSGovernment in the Tools|Options|Azure Services option. I've tested this both in the object explorer and in file|open|Merge Audit Files dialogs. In both cases, I get an error message indicating that it's still trying to access the version on the enterprise AzureCloud:

                                        The remote name could not be resolved: '__mystorageaccount__.blob.core.windows.net'

                                        2 votes
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          0 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Vulnerability Assessment reports lists DENYd permissions

                                          In a database I DENY permission to a user. I then run the Vulnerability Assessment in SSMS 17.4, this results in the rules VA2031 and VA1286 listing this condition. This seems to me to be an oversight. I was running against SQL Server 2016.

                                          1 vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                            planned  ·  0 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1
                                          • Don't see your idea?

                                          SQL Server

                                          Feedback and Knowledge Base