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. Removing dependency of MDS on SilverLight.

    Removing dependency of MDS on SilverLight.
    This dependency is preventing MDS from being used outside of POCs.

    18 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

      under review  ·  1 comment  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
    • New SQL version of SQL Server

      Would love to see sql server go the direction of nuodb or memsql and implement a fully distributed version of MS SQL SERVER.

      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

        under review  ·  0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
      • Have SSMS respect a Resource Lock

        When I set a lock on the Resource Group where my Azure SQL Server and DB reside - I can still delete the DB using SQL Server Management Studio This action should at least generate a prompt in SSMS indicating a Resource Lock has been set

        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

          0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →

          SSMS doesn’t know anything about Azure resource groups at this time. I suspect the lock only applies to the ARM REST API. Perhaps this suggestion should be copied over to Azure SQL Database; they could check for this lock on the server side and fail the TSQL query.

        • DATETRUNC(datepart,datevalue) instead of dateadd-datediff

          The generally accepted way to truncate some part of a datetime is:
          DATEADD(datepart,0,DATEDIFF(datepart,0,datevalue))
          To save us from much typing, and probalby a good amount of CPU due to a good implementation, I propose we create a new function exactly for that:
          DATETRUNC(datepart,datevalue)
          which rids the datevalue of any component LESS than datepart (ie, truncates it to the dateart level)

          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

            under review  ·  0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
          • T-SQL for changing table column order

            Once a table is created, the ordinal position of the columns is fixed. This is especially problematic for large data warehouse tables, where new columns are expected to be added over time.

            The only solution currently to re-order columns is to drop and recreate the table (or let the SSMS designer do this for you), but this is often not feasible for a large, highly used table, and it cannot be easily scripted.

            Please add some ALTER syntax that will allow changing column order.

            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

              under review  ·  1 comment  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
            • Open source Microsoft.SqlServer.SqlParser.dll + Release as nuget package

              It's not great to have to manually reference Microsoft.SqlServer.SqlParser.dll when we need to parse TSQL code.

              Open sourcing and releasing as a nuget package would open up a number of very interesting scenario that would empower the sql server community.
              For us, we want to pre-process our scripts with macros and also format consistently but I imagine there would be other cool scenarios such as linters and code analyzers.

              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  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
              • Reduce rollback duration on SQL Server Transaction

                Rollback and duration to rollback on a large transaction is a problem in SQL systems to maintain. There are cases the rollback duration is longer than the commit itself. Terminating long transactions (example index rebuild) in Always On environment is a nightmare. If customers failover the AG by mistake then the pending rollback creates additional problems. Compete products such as Oracle RDBMS have overcome this issue by adding a undo/redo/rollback segments. A similar solution needs to be added in SQL server too. Customers have openly expressed their unhappiness on this and compare SQL Server with Oracle frequently.

                A solution or…

                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

                  under review  ·  0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                • SSAS Tabular - SSDT 2017 Get Data - multiple flat files (csv/txt) from a folder

                  There are manay examples of new using modern Get Data feature while connecting to SQL Server. However, I can't find any examples of importing data from multiple flat files (csv/txt) located in one folder. How should I make an initial connection to the data source? Whether it should be a connection to a folder or to one of the files? How should I buid the query chain (query M). It seems that the way I do it in Excel does not work. I would be gratefull for any tips.
                  In SSDT I did it as I used to do it…

                  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

                    under review  ·  1 comment  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                  • The new query plan icons are hard to tell apart visually

                    SQL Server management studio 2017 just got new query plan icons.

                    They are blurry.

                    Also, they look undifferentiated. This makes it harder to visually understand a query plan. It is harder than before to tell icons apart. This is because there are only two colors now (black and blue).

                    Also, they are simply not very pretty. They are worse than the old icons with no mitigating advantages.

                    Can you provide icons with high visual usability please? SSMS is being used by professionals whose productivity depends on their tools.

                    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

                      under review  ·  0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                    • Support SQL logins with PolyBase

                      PolyBase only supports 'sa' and Windows users. Enable support for SQL logins.

                      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

                        0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                      • import flat file should be shown in SSMS context menu when right clicking tempdb.

                        For files I want to just import in for an adhoc task I would prefer to be able to import them in to tempdb

                        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

                          0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                        • Running PowerShell from SQL Agent returns an error

                          Running PowerShell from SQL Agent returns an error when SSMS hasn't been installed on the server.

                          The corresponding line is 'Import-Module SQLASCmdlets -ErrorAction SilentlyContinue -Global '. Correct the script and reschedule the job.

                          This appears to be happening because the PowerShell modules don't get installed in any other way. This is bad as many enterprise organizations do not install SSMS on the server.

                          We need another way to install the components needed to execute PowerShell from SQL Agent.

                          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

                            under review  ·  0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                          • declare @VarName as [Schema].[Table].[Column]%Type

                            I would like to reuse a Variables type from a Columns Type. There would be no need to check the ColumnType anymore - and if a column is altered the Stored Proc should be recompiled.

                            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

                              under review  ·  1 comment  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                            • Implement TensorFlow servable

                              Implement SQL Server ability to serve TensorFlow trained model trough the stored procedures as well as SQL Server hosted Web Services

                              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

                                under review  ·  0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                              • SSMS - An Option to show the SQL Statement in the "Edit Top n Rows" permanently

                                In "Ediit Top n Rows" It would be great to have an option like "SHOW SQL Statement in 'Edit Top n Rows' under Tools Options - to show the sql script permanently like in "SELECT n Rows"

                                At the moment you have to di it on a rather difficult way:

                                Although I have been working with the SSMS (SQL Server Management Studio) for years - and there with the right mouse button - I did not realize that you can edit the underlying SQL script and change it, in principle just like the "SELECT TOP n" The difference is that…

                                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

                                  under review  ·  0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                                • AG unhealthy node auto evict

                                  Idea is to find the disconnected replicas and evict them before the primary replica tlog fill-up.

                                  When a SQL Server secondary replica in an AlwaysOn Availability Group becomes unavailable or unhealthy, the SQL Server transactional log residing on the primary replica is not committed. The primary replica continues to accumulate transaction logs until the unhealthy or unavailable replica becomes available in a healthy state to resume. The primary replica AG transactional log file will fill the available disk storage if the unhealthy replica issue is not resolved within a reasonable time or if the unhealthy replica is not evicted from…

                                  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

                                    under review  ·  0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Always Current backup and recovery method on large databases with minimum resource utilization.

                                    A method to generate and maintain always current backup copy of database system with minimum system resource in a very large RDBMS or other database environment. Requiring one life time full backup only and then periodic differential backups unlike periodic full backups in current case. A method to use these backup files to recover to a point in time. Reducing time and resource utilization on very large database backup by applying these methods. This method eliminates the need to take periodic full backup copy on a database.

                                    I have seen the backup recovery issues on large databases at customer site.

                                    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

                                      under review  ·  0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                                    • SQL Transactions duration and log size used

                                      Let's say the log file size is 1 GB when you leave work at 5 pm and come back next morning to see it has grown to 5 GB. There is space is disk and frequent log backups are scheduled, but you want to know what caused the log to grow. In this case let's assume that nothing related to check db or index rebuild was scheduled. I am trying to find a way to look for these long running transactions and the ones which caused the log to grow so I can see if the transaction can be tweaked…

                                      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

                                        under review  ·  0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                                      • The External Tools needs better macro replacements or additional tokens and output redirection.

                                        The External Tools needs better macro replacements or additional tokens and other output redirection.

                                        In SSMS, the external tools provide the same macros that Visual Studio has (Item Path, Project Directory, Solution File, etc). These aren't very useful for SQL server tools.

                                        A better set would be things like "Current Connection String", "Current Db Name". etc. that can be used to hand off to powershell scripts or other custom tooling.

                                        An option to redirect the output to the current query window, current query results window, or new query window would also be good. There is little use in having it…

                                        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

                                          under review  ·  0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Don't see your idea?

                                        SQL Server

                                        Feedback and Knowledge Base