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. Please create a redistributable command-line equivalent for SSMS -> Extended Events -> Export

    We've created a .NET C# based export for XEL to CSV using QueryableXEventData but it takes 4 minutes to export a 1GB file. In SSMS, clicking Extended Events -> Export -> CSV takes 45 seconds for the same file.

    Unfortunately, interative SSMS is required, so the process cannot be automated. Please create a command-line executable so we can automate the export at the delicious speeds of SSMS.

    Also, if the NULL can be removed from output in both SSMS and the command line tool, that would be far better.

    28 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)

      We’ll send you updates on this idea

      under review  ·  3 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
    • Make Reporting Services RestAPI a full replacement for the depreciated SOAP API

      Make Reporting Services RestAPI a full replacement for the depreciated SOAP API. Specifically it needs to provide a function to retrieve parameter values for a report when a higher level parameter value is known

      See : https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f9c8b902-63a9-40ea-8d72-90c9ac775d24/ssrs2017-restapi-how-to-retrieve-parameter-values-for-a-report-when-a-higher-level-parameter-value?forum=sqlreportingservices

      1 vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)

        We’ll send you updates on this idea

        under review  ·  0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
      • Installation option for Lock Pages in Memory

        I would like to have an option to set Lock Pages in Memory in the SQL Server command line installation.

        Something like this:

        /SQLSVCLOCKPAGESINMEMORY

        https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-from-the-command-prompt

        2 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)

          We’ll send you updates on this idea

          under review  ·  0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
        • support service broker functionality in native compiled objects

          Hello,
          We are working intensively with service broker to reduce the load of our Sql-Server.
          With the feature of memory optimized tables we tried to significantly increase our performance.
          After some migration testing we find out, we could not use this in production because we need to enqueue messages and so we go back to not memory optimized tables.
          It would be nice if you support "SEND" command for native compiled objects like triggers and stored procedures.

          If this is not possible or not planned It would be nice if you can give as a short explanation so we can…

          0 votes
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)

            We’ll send you updates on this idea

            0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
          • Add StatementId and StatementType to live query plan StmtSimple node

            When rendering a live query plan, the "SELECT"/"INSERT"/"UPDATE"/etc node on the far left is not rendered. This is because the StmtSimple node in the plan XML is missing the StatementId (which can always be set to 1 in this context) and the StatementType (which should be properly set). Adding these should add little overhead and would enable the UI to return better information.

            1 vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)

              We’ll send you updates on this idea

              under review  ·  0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
            • Individuel SSRS Help Button for each report

              we have following extension proposal for SSRS:
              When starting a report, we would like to have button or link-action in order to provide some additional information before starting the report.
              Especially, we would like to provide infos for setting the parameters before executing the report.
              Could you please create an optional button or link with the text �Help� just below of the �Show report� button.
              The button should appear when setting the global report property �helpLinkUrl�

              Thank you and greetings from Austria

              0 votes
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)

                We’ll send you updates on this idea

                0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
              • "Call Stack"

                Provide DMV to provide the call stack of stored procedures, triggers, CLR functions etc prefferable in JSON format so it is parsable.

                As Erland Sommarskog says this is available but only in the "event Blocked Process Report:

                <executionStack>
                <frame line="17" stmtstart="1332" stmtend="2906" sqlhandle="0x03000d00399f00558c840601a29800000100000000000000"/>
                <frame line="1" sqlhandle="0x01000d00638e300f302e10ac000000000000000000000000"/>
                </executionStack>

                That is, here the call stack is available. Through the sqlhandle it is possible to retrieve
                the objectids of the calling procedures.

                If if it's available this way, it can't be too difficult to expose this in a DMV. Only exposing the
                sqlhandle would not match with my observation with permissions above, but…

                1 vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  under review  ·  0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                • Add a 'Scope to this' option to the SSMS database treeview

                  I work with many databases at once. Some of them have very similar names. Adding a 'Scope to this' option would allow me to limit the viewed database details and let me avoid doing changes in other similarly named databases involuntarily.

                  0 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                  • Add a 'Scope to this' to the databases treelist in the SSMS

                    I work with many databases, sometimes with similar names. It is ease to get confused and ending manking changes into the wrong one.

                    0 votes
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                    • Reporting services - do not show a red cross if an image is missing

                      If an image is missing from where ever it is sourced, Reporting services shows a red cross. Better if it showed nothing, like it would if a text field was empty or null.

                      1 vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        under review  ·  0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                      • Scalar MAX function

                        It would be nice to have a scalar MAX function (name it S_MAX) that returns a maximum of two numbers. Right now you have to use CASE or write your own TVF and CROSS APPLY it, both are quite clumsy. Same for minimum of two:

                        SELECT
                        S_MAX(1, 0) --yields 1
                        ,S_MIN(1, 0) --yields 0

                        1 vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          under review  ·  1 comment  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                        • newsequentialid function with initial value

                          Hi Team,

                          We have a scenario where we want to convert default constraint from NEWID to NEWSEQUENTIALID but it is not helping us to fix page split issue since value generated by NEWSEQUENTIALID is not greater than what is already generated by NEWID function in that table. So we need an enhanced version of NEWSEQUENTIALID function which can use a initial value and start incrementing from there something IDENTITY function sort of. Thanks.

                          0 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                          • SET STATISTICS IO should also show schema name for tables

                            When you use schemas in your database, and you have the same table names in multiple schemas, it is not clear, which schema the table belongs too in the output of the SET STATISTICS IO. E.g. a table called Profile, or configuration in different schema is very common at our databases

                            Today the output is just
                            Table 'Profile'. Scan count 1, logical reads 123, physical reads 1, read-ahead reads 121, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
                            Table 'Profile'. Scan count 3, logical reads 13, physical reads 1, read-ahead reads 342, lob logical reads 0,…

                            7 votes
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              under review  ·  0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                            • Create Tabular Model Items from Tabular Model Explorer

                              feature addition for creating tabular model objects

                              0 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                              • 1 vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  under review  ·  0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                                • Give us option to not have square brackets when drag&drop in SSMS

                                  When we drag something from OE into a query window, then the identifier will always be enclosed in square brackets. Many of us do our due diligence and take care to use identifiers that do not require separators. These separators makes SQL code (a lot) harder to read, and we feel that we are punished with these square brackets. We don't want to do a search and replace all over and over again, when there could just be a setting in SSMS to not generate these.

                                  4 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    under review  ·  0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                                  • SSRS Schedule Management

                                    In SSRS 2005/2008R2 it was possible to see which reports were using a Schedule when you were editing it. I cannot find this feature in SSRS 2016 and feel that it is useful.

                                    0 votes
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Add FOR CSV to facilitate CSV export

                                      We have FOR XML and FOR JSON. But it is not uncommon that people want to produce CSV files. This can be done with BCP, but it is not straightforward not the least if you want to add headers. And if you only want fields to be quoted when needed, BCP is not really what you are looking for. SSIS is also an alternative, but SSIS does not always fit in.
                                      Thus, it would be handy if there was a an option like FOR CSV, with a syntax like:
                                      FOR CSV [, HEADERS] [,DELIMITER(',')] [, QUOTE('"')]

                                      HEADERS would mean that…

                                      9 votes
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        under review  ·  1 comment  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                                      • T-SQL Common Table Expression "Materialize" Option

                                        T-SQL Common Table Expression "Materialize" Option

                                        I have run into a couple performance and results issues using Common Table Expressions (CTEs).

                                        The first case is where I coded a data retrieval as a single, large query with a CTE that is referenced multiple times in the query. The CTE has an expensive query. I was able to determine, via execution plans, etc., that the results of the CTE were being recalculated multiple times, resulting in slow execution. I rewrote the data retrieval as multiple steps where the query of the CTE was first executed into a table variable, and I…

                                        9 votes
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          under review  ·  0 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Replace the import wizard with Power Query

                                          Instead of using the outdated import wizard (not the new one that was released recently in SSMS), a new one should be created that leverages the Power Query engine (aka the M language) to import data into SQL Server.

                                          26 votes
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                            under review  ·  3 comments  ·  Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 158 159
                                          • Don't see your idea?

                                          SQL Server

                                          Feedback and Knowledge Base