| A community of more than 1,600,000 database professionals and growing |
| | SQL Server is Lagging a Bit I don't expect this to last, or I hope it doesn't, but SQL Server is lagging behind. I ran across a short piece on the SQL:2016 standards, and I know these standards aren't necessarily an important consideration for most of us when choosing a database. The standards are a compromise from many industry professionals working together. However, they do influence the vendors a bit. The way the list is written makes me wonder if Oracle provides more input and resources, or exercises more influence than other platforms. I hope not. In any case, I would expect that Microsoft to be able to make change and catch up quickly with their rapid engineering process. At least, they will if they want to, which means, do these things matter do you as a customer? Or maybe, do these things matter to the really large customers that use, or might switch to, SQL Server? I'm not sure I understand all of the changes to the standards, but row pattern recognition looks like some sort of LIKE-across-a-row feature. I know there are people that might need this, but I worry about the performance implications of doing this. As we move to larger data sets, perhaps those that come from sensors and other large data producers, this might be an important feature. Hopefully the implementation perform well. The one thing I expect is more JSON support. As much as I saw the value of XML and hated working with it, I see JSON as a better format, and one that developers use extensively. I do hope that SQL Server gets more extensive JSON support, though I expect plenty of people with a native JSON type to just start stuffing blobs in a column and spending lots of CPU cycles trying to de-serialize the values for queries. If this a native JSON type is an intermediate store before moving the data into a better format, I think this makes sense. However, we can't prevent poor choices from database designers, and I would expect consultants to love this, as I'm sure more JSON creates more issues for them to fix. I am glad that date/time work gets some attention in the standards, but since I can never remember the actual syntax and values, I don't really care. I'll depend on SQL Prompt to get me through changes here, and then try to get all data in yyy-mm-dd format so I am not confused. LISTAGG is interesting, but I expect JSON to be used more. There are other changes, and I'm not sure how valuable they are for most data professionals. Adding small functions and features, even those that are used rarely, are ways that we can dramatically improve developer productivity. Looking back over a career, I'm glad that I don't need to write sorting routines anymore. Using an ORDER BY or x.Sort() is a great time saver. There are certainly some poor implementations of some features, but we can often override and write our own implementations if needed. Or find workarounds that will meet our needs. I do hope to see the T-SQL language grow and expand over time, with regular enhancements that might help us work with data in easier and more efficient ways in future versions. Steve Jones from SQLServerCentral.comJoin the debate, and respond to today's editorial on the forums |
| The Voice of the DBA Podcast Listen to the MP3 Audio ( 4.7MB) podcast or subscribe to the feed at iTunes and Libsyn. The Voice of the DBA podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music. | |
|
|
| ADVERTISEMENT | | The industry standard for comparing and deploying SQL Server database schemas Trusted by 71% of Fortune 100 companies, SQL Compare is the fastest way to compare changes, and create and deploy error-free scripts in minutes. Plus you can easily find and fix errors caused by database differences. Download your free trial |
| | Library of articles for DevOps, DLM, & Continuous Delivery Discover best practices and processes for more agile methods of database delivery. Find out how automating the build, test and deployment of database changes reduces risk and speeds up the delivery cycle. Read more on Simple Talk |
|
|
|
| | | Press Release from SQLServerCentral.com This free eBook from Redgate Software will take you from the fundamentals of Statistics, Cost Estimation, Index Selection, and the Execution Engine, and guide you through the inner workings of the Query Optimization process, and throws in a pragmatic look at Parameterization and Hints along the way. More » |
| Additional Articles from SimpleTalk You can produce HTML from SQL because SQL Server has built-in support for outputting XML, and HTML is best understood as a slightly odd dialect of XML that imparts meaning to predefined tags. There are plenty of edge cases where an HTML structure is the most obvious way of communicating tables, lists and directories. Where data is hierarchical, it can make even more sense. William Brewer gives a simple introduction to a few HTML-output techniques. More » |
| Anthony Nocentino from SQLServerCentral Blogs With SQL Server on Linux, Microsoft has recognized that they’re opening up their products to a new set of users.... More » |
| Dharmendra Keshari from SQLServerCentral Blogs In last three years, I presented two times on the topic Transaction Log File Architecture. During the sessions, when I discussed... More » |
|
|
| | Today's Question (by Matt Crowley): What is the value of @@ROWCOUNT after each of statements are run: SET NOCOUNT ON CREATE TABLE #temp (col1 int) CREATE TABLE #tempout (col1 int) INSERT INTO #temp OUTPUT inserted.col1 INTO #tempout VALUES (1), (2), (3) SELECT @@rowcount UPDATE #temp SET col1 += 1 OUTPUT inserted.col1 INTO #tempout SELECT @@rowcount |
Think you know the answer? Click here, and find out if you are right. We keep track of your score to give you bragging rights against your peers. This question is worth 2 points in this category: T-SQL. We'd love to give you credit for your own question and answer. To submit a QOTD, simply log in to the Contribution Center. |
|
|
| |
ADVERTISEMENT | Automate your workload and manage more databases and instances with greater ease and efficiency by combining metadata-driven automation with powerful tools like PowerShell and SQL Server Agent. Automate your new instance-builds and use monitoring to drive ongoing automation, with the help of an inventory database and a management data warehouse. Get your copy from Amazon today. | | |
|
|
|
|
|
| Yesterday's Question of the Day |
| Yesterday's Question (by Steve Jones): I have a Agent job with a T-SQL step that is scheduled to run once a day (only one schedule attached to this job). There are no alerts attached to the job. The job is disabled, but the schedule is enabled. What information is captured about the job history after the scheduled run time? Answer: The job does not run, and no entry is made in Job History Explanation: Disabled jobs do not run, regardless of the schedule status. Ref: Job Properties - click here » Discuss this question and answer on the forums |
|
|
| Database Pros Who Need Your Help |
| Here's a few of the new posts today on the forums. To see more, visit the forums. LOOPING a Delete Store Procedure - Hi, I have the Following SP that will be sending the data to archive data before deleting data from tables, I'm... Help needed in resolving dead lock - Hello All, We are getting frequent deadlocks on one of sql server instance. Any help\suggestions will be greatly appreciated. Below is the deadlock... DBCC Check hanging, killed but does not roll back. - Hi everyone. I have a problem with a Killed session. The command Issued was DBCC CHECKDB () WITH NO_INFOMSGS, ALL_ERRORMSGS (Ola Halengrens... replacing hard coded value with column name fails the query - Below I've commented out what is failing to work. By fail, i mean no result set. when i substitute o.Datekey for '2017-05-17'... SUBSTRING and CHARINDEX query.... please help. - Hi, I have this table, column, and string: Table = audit_log Column named = request_u Example column value = http://stable-test.test.net/api/files/fs.testcollection/TP-0000000.pdf/download/ What I need to do is return the... Tempdb - Why I could not able shrink Tempdb even free space available in Tempdb. Please find attached screenshot . What happens when Trial expires? - I recently inherited an instance where the trial had already expired. This happened around 3 months ago and we had... Unregistered Component Error in SSIS - I can't create any Data Flow Task. Once I create (tested and working) Connection (it doesn't matter if it is... INCLUDE columns in nonclustered index which are in PK - Hi SSC, I was discussing include columns with a co-worker because he had put primary key columns in his list of... QUOTED IDENTIFIER ERROR help please - Hello all We have an issue that while running a process we get the following error. We are running SQL Server... Convert integer to date - Hello, In a flat file source (that comes from a Microsoft publishing "Training Kit - Implementing a Data Warehouse with Microsoft SQL... If statement in T-SQL - Hi guys, I am trying to display item_name with a new category, which says the following term ( i have pasted my... related query - Take a look at he picture. We have many jobs. How can I write a SELECT statement that would tell me... Monitor job in SSIS package with T-SQL isn't working - I've got an SSIS package in which I need to download a file from a third party website, then run... Unable to understand the Query Logic - Hi While I was browsing for some interesting puzzles on t-sql I found the below one. but I am unable to understand... Email report (letter) to specific email - Hi, I have created essentially a letter in report format that has grouping by people so every new group is a... Create Multiple SSRS Subscriptions for a Parameterised SSRS Report - Programmatically / Dynamically / Quickly - Hi We have 470 subscriptions in total, of which 224 are for the same parameterised ssrs report but pass different parameter... Using File System Task to partially delete directory contents - This is for SSIS 2012. I have a bunch of files in a directory that all start the same way (MyFile_Date_File1,... Stop Duplicates - SQL Task - SSIS 2010 - hi fairly new to SSIS I have to run an excel sheet every quarter (every 3 months) there is no unique... Extract column from flatfile - Hello, I have to extaract a column from faltfile , whose characters /length is "55575". How is that possible? it is then... |
|
| This email has been sent to [email protected]. To be removed from this list, please click here. If you have any problems leaving the list, please contact the [email protected]. | This newsletter was sent to you because you signed up at SQLServerCentral.com. Feel free to forward this to any colleagues that you think might be interested. If you have received this email from a colleague, you can register to receive it here. | This transmission is ©2017 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. Contact: [email protected] |
|
|