| A community of more than 1,600,000 database professionals and growing |
| | The Best Ever Every few years, or every year now, we see a new version of SQL Server proclaimed as the best ever. A few weeks ago, I saw a number of people leaving hte MVP Summit, rating it as the best ever summit. At SQL Bits or the PASS Summit every year, there's no shortage of people posting about that event being the best conference. Is this a human view, that the latest one is often the best one ever if we enjoyed it? Perhaps we learn something and we're excited about the latest new SQL thing and so we're excited to proclaim it the best? What's the best SQL Server version? Is there one for you? Some of you might be new to SQL Server or have worked with few versions, but perhaps one stands out. I've had the opportunity to work with a lot of versions, so the choices are hard. I've written code for SQL Server: 4.2, 6.0, 6.5, 7.0, 2000, 2005, 2008, 2008R2, 2012, 2014, 2016, 2017. I have two votes here. You might like one, and likely will disagree with one. First, I'll say that I have a fondness for SQL Server 2000. This was a stable, long awaited version that dramatically improved my life from SQL 6.5. It was more reliable and faster, and since it came after a relatively short time after v7, I ended up standardizing on this at a few jobs. Most of my upgrades were to SQL Server 2000 and it lasted a long time as the standard version. It was 5 years before SQL Server 2005 was released, an eternity in today's software lifecycle. There were some bumps in the road (SQL Slammer), but a better security coding model came about at Microsoft during this version as well as SSRS (added later). My other choice, maybe the top one, is SQL Server 2016. A number of security changes (AE, RLS, etc) as well as the inclusion of many features in Standard Edition (with SP1) make this my favorite. We got stability from the second version of OLTP tables and the third version of Availability Groups. I think SQL Server 2016 was perhaps the best version of SQL Server I've seen. You might have other votes, and let me know today. Is there a version that's near and dear to your heart. 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 ( 3.0MB) 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 | | Database migrations inside Visual Studio Feeling the pain of managing and deploying database changes manually? Redgate ReadyRoll creates SQL migration scripts you can use to version control, build and release, and automate deployments. Try it free |
| | NEW SQL Provision: Create, protect, & manage SQL Server database copies for compliant DevOps Create and manage database copies effortless and keeps compliance central to the process. With SQL Provisions virtual cloning technology, databases can be created in seconds using just MB of storage, enabling business to move faster. Sensitive data can be anonymized or replaced with realistic data to ensure data is protected as it moves between environments. Download your free trial |
|
|
|
| | | Additional Articles from Brent Ozar Unlimited Blog Brent Ozar explains that if you're going to do continuous integration or deployment, you've got a rocky road ahead of you. More » |
| Additional Articles from Database Journal Greg Larsen shows you a quick trick to programmatically script a way to identify when SQL Server was last started. More » |
| Devin Knight from SQLServerCentral Blogs In this module you will learn how to use the Enlighten Data Story. The Enlighten Data Story allows you to... More » |
| Bert Wagner from SQLServerCentral Blogs Watch this week’s episode on YouTube. In this week’s video with Power BI expert Eugene Meidinger, we’re in the kitchen learning... More » |
|
|
| | Today's Question (by Steve Jones): I have this code to create and load a table: CREATE TABLE CastTest ( Myval VARCHAR(20) ); GO INSERT CastTest ( Myval ) VALUES ('A') , ('123') , ('123.5') , ('20180301') , ('Mar 23, 2000'); GO I now run this query. How many rows are returned? SELECT CASE WHEN TRY_CAST(ct.Myval AS INT) IS NOT NULL THEN CAST(Myval AS INT) END FROM dbo.CastTest AS ct; |
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 1 point in this category: TRY_CAST(). 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 | Exam Ref 70-761 Querying Data with Transact-SQL Prepare for Microsoft Exam 70-761–and help demonstrate your real-world mastery of SQL Server 2016 Transact-SQL data management, queries, and database programming. Designed for experienced IT professionals ready to advance their status, Exam Ref focuses on the critical-thinking and decision-making acumen needed for success at the MCSA level. Get your copy from Amazon today. | | |
|
|
|
|
|
| Yesterday's Question of the Day |
| Yesterday's Question (by Steve Jones): I run this code: SET CONTEXT_INFO 12 GO SELECT CONVERT( INT, CONTEXT_INFO()) I get a result of 0. Why? Answer: the data first needs to be converted to varbinary(4) Explanation: The problem is with converting binary data. The CONTEXT_INFO() returns 128 bytes, but the integer is just 4 bytes. If you run this code, you get 12. SELECT CONVERT( INT, CONVERT( VARBINARY(4), CONTEXT_INFO())) Ref: CONTEXT_INFO() - 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. Removing stored procedures to move to cloud - I got an interesting email today about cutting back on the reliance of the applications on databases and plans to... raid 5 or raid 10 for sql server data warehouse database implementation - Hi, I'm building a SQL Server for data warehouse database implementation. Should I go for raid 5 or raid 10 ? Thanks SSL Certificate for SQL Server 2016 not appearing in MMC - Dear Everyone I followed the required steps to request a certificate for using SSL in SQL Server 2016 and i... SQL Server Agent stops running after changing the default listening port - Dear Everyone I changed the default listening port for SQL Server 2016 standard edition on windows 2012 R2 then i... Unauthorised action - installing sql 2016 on Windows 10 - Hi All I have been trying for four days now to install sql 2016 on Windows 10. I previous had a... Convert ORACLE code to SQL - Hi guys I am struggling to convert this into SQL SELECT sum( case when table1.sale_Id Is Null And table2.status In ('D1','E1','P1') And table3.Code... Client and Server cannot communicate...they do not posses a common algorithm - Hi, has anyone encountered this error when trying to connect from a SQL Server 2014 instance to a SQL Server 2008... Find end user who is running sql query using SQLCMD. - Hello Folks, I'm trying to find a user/developer who is trying to execute queries using SQLCMD. When I check using DMVs,... Assigning VIEW SERVER STATE to an account (preferably WITHOUT LOGIN) - I'm looking at a function that has been passed to me, to assign VIEW SERVER STATE, because of the access... Patching a 2 node cluster - Good day, I have a two node cluster A and B running on Windows 2012 R2 OS. Node A is the... Windowing in a Calendar Table - Good morning/afternoon/evening every one :-) I have been asked to provide a column on a (UK specific) calendar table that marks... Best way to perform calculation stored as varchar - Hello, I'm working on a report for a customer where they have a formula stored in a varchar field such as... emp logindetails based on conditions in sql server - I have a question about SQL Server. Please tell me how to solve login and logout time calculation in SQL... last entry, first entry - Hello I want to prepare a stock list of last entry , first entry DECLARE @IN TABLE (STOCK INT,ID INT, DATE_ DATETIME,AMOUNT... Update Trigger - Hello all, I have a table: CREATE TABLE .( NOT NULL, NULL, NOT NULL, NULL, (max) NULL ) ON TEXTIMAGE Deleting old records isn't freeing up space? - We have 1 table in our database which is about 220 GB in size and since we are running out... Using CASE in a View - I have created an employee View to which I need to add a calculated field called Calendar. All my internet... Impersonate - how do you tell what permissions the use is being impersonate with? - I am trying to clean up access to our database and grant access to views to a specific schema only. ... log_reuse_wait_desc = replication but there's no replication - I have a database whose log file keeps growing. I checked the sys.databases log_reuse_wait_desc column and it shows "replication" as... Default Trace Not Working - Someone disabled and removed the default trace. I added it back and it seems to be running however when i... |
|
| This email has been sent to newsletter@newslettercollector.com. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com. | 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 ©2018 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. Contact: webmaster@sqlservercentral.com |
|
|