r/SQLServer • u/Saitama_Punch • Nov 17 '16
[AMA] Microsoft SQL Server - 11/18
Hi Everyone!
We're from the Microsoft SQL Server Engineering Team and we want you to ask us anything!
We're posting this a bit early so you can start asking questions - feel free to start asking and we'll start answering Friday 11/18 at 9:30 PDT until 14:00 PDT. We'll have members from the Engineering teams participating in the AMA. This includes folks working on
SQL Server Features such as Columnstore, In-Memory OLTP, Row-Level Security, PolyBase, Stretch, or any of the features listed here.
Database Tools for Microsoft SQL Server and Azure SQL Database (SSMS, SSDT, SSRS, SSIS, SSAS, SSMA, SQLPS, CLI Tools)
Azure Portal for Azure SQL DB, Azure Elastic Database Pools or Azure Virtual Machines with SQL Server
R Services for predictive analytics, machine learning, and using scalable R packages with SQL Server technologies
Developing with SQL Server using the language of your choice (Examples. Node, Python, Java, etc.) or connecting your app to SQL Server using our drivers (ODBC, JDBC and open source drivers)
Migrating or Building Apps and Solutions with SQL Server and the resources we have available to help you get the most out of SQL Server.
[SQL Server on Linux] (https://www.microsoft.com/en-us/sql-server/sql-server-vnext-including-Linux)
[SQL Server 2016 Service Pack 1] (https://blogs.technet.microsoft.com/dataplatforminsider/2016/11/16/sql-server-2016-service-pack-1-generally-available/)
Here are some question ideas:
What’s new in SQL Server Service Pack 1 and SQL Server on Linux?
How does your team take the feedback from the community?
What tools would I use to migrate my database to SQL Server?
What’s a cool trick you don’t think most customers know about?
You can ask us anything about our public products or about the team. If there's a topic that's not listed above, ask it anyways! We'll do our best to answer it. We cannot comment on unreleased features and future plans, though :) Tweet at us with #SQLServer and follow @SQLServer to keep up to speed with what the SQL team is working on. After this AMA, you can also post questions here in reddit or tweet at us any time.
Update@9:50 PST Hey Everyone! We are starting to answer the questions! Thanks for all the awesome questions so far. keep them coming! :)
Update@2:15 PST Hey Everyone! Wow. Over 100 questions. Thanks for joining us today and participating in our SQL Server AMA! We're currently wrapping up the AMA, but we will do our best to answer the remaining questions. Going forward, the SQL Server Team will be more active on this subreddit. We're particularly excited to hear what you have to say about SQL Server v.Next!
Also, tell us what you thought about this AMA Event by taking our survey: https://survey.microsoft.com/211438
31
u/JustOneUsernameLeft Nov 17 '16 edited Nov 18 '16
SQL Server is a great product, thank you for it, but we need more from you.
And here's my question.
There are many issues on Connect that desperately need resolving, some of them are open for more than 10 years. My favorite is from Adam Machanic: https://connect.microsoft.com/SQLServer/feedback/details/252226/allow-enabling-and-disabling-of-a-columns-identity-property
There are also many pointed out by the SQL MVPs and experts for years, like these: https://sqlperformance.com/2013/04/t-sql-queries/filtered-indexes
I've collected some more stuff that is missing in SQL Server and should be implemented:
using GPU for processing!
native regular expression support! Don't force every user to implement their own CLR, just give us optimized regexes!
Git support for SSMS (just like it's in Visual Studio)
row constructors! - like in WHERE (orderdate, orderid) > (@orderdate, @orderid)
order preserving clustered columnstore
implement PERCENT and WITH TIES for OFFSET-FETCH (it's a standard feature) to align it with old TOP operator
TOP() OVER operator - like SELECT TOP (3) OVER (PARTITION BY custid ORDER BY orderdate, orderid)
NTH_VALUE window function
FILTER clause for window functions - http://modern-sql.com/feature/filter, similar to Itzik's suggestion https://connect.microsoft.com/SQLServer/feedback/details/532474
IS [NOT] DISTINCT FROM operator
INTERSECT ALL in addition to INTERSECT
EXCEPT ALL in addition to EXCEPT
RANGE BETWEEN INTERVAL '3' MONTH PRECEDING AND CURRENT ROW ability for window frames
WITH DROP_EXISTING (alternatively CREATE OR ALTER) for everything
ALTER TABLE .. CHECK CONSTRAINT should be a no-op if the constraint is already trusted
ORDER BY ... NULLS FIRST/LAST
user interface (wizards, monitoring) for Service Broker
column name in 'string or binary data would be truncated' message!
dark theme for SSMS
simple change of server collation on Windows (it's super-easy in SQL Server on Linux)
multiple tempdb databases + one "official" tempdb backwards compatible
In-Memory tempdb
search engine similar to Elastic Search / Splunk
ability to install In-Database R Services on FCI
generally speaking better coverage of standard SQL features - T-SQL is for DEVELOPERS who are constantly pushed by management to be more effective - so finally make their lives easier
This list is by no means exhaustive. Most of them are just features desctibed in ISO/IEC SQL standard.
A lot of Connect feedback has been prematurely and improperly closed with various reasons: Won't fix, by design, some are active for ages. What I would ideally want from you is to review all unfixed items and decide again whether they're worth doing or not.
Like this one - 124 votes and closed/won't fix!
https://connect.microsoft.com/SQLServer/feedback/details/728969
This one - 179 votes - active since 2007!
https://connect.microsoft.com/SQLServer/feedback/details/254390/over-clause-enhancement-request-top-over
Some limitations are just silly, like the one requiring something to be a single statement in a batch. If I can bypass that requirement by putting my code in a dynamic SQL and do EXEC(string) then why SQL Server cannot do that for me??
And please fix this darn slow Connect site. Maybe a reindex and statistics update will do? :-)
Finally the question: do you acknowledge this? Will you fix all this? Any comments?