| A community of more than 1,600,000 database professionals and growing |
| | Getting Close to the 2017 RTM I still can't believe that we'll have a new version of SQL Server this year. After speaking at so many events last year, talking about the new features of SQL Server 2016, it seems crazy that there's a new version coming out a year later. Welcome to the new world of DevOps, fast engineering processes, and the increasing pace of software releases from vendors. We can debate the wisdom or value of this, and you might not like it, but it's certainly the reality of today. The first Release Candidate (RC) for SQL Server 2017 is available this week. The big change for RC1 is that we can now use Active Directory authentication on Linux, and we get SSIS on Linux. There are a few other items, but these are the big ones. I guess SSIS scale out is a big deal for some people as their data load times increase, but I'd think that is a relatively small number of people. I'd also be wary of having clustering support for my ETL workloads, all of which haven't been designed for that environment. I would see this feature as being more important and valuable over time. For now, let the SSIS gurus develop some patterns and practices that make sense for us to follow. There are other new features in SQL Server 2017, and I'd urge you to play with them a bit. Upgrades are always tricky to justify for me, as I'm sure they are for you. If you don't know how the new features work, or how they might apply to your systems, how can you decide what to do? I tend to favor sticking with what works for older systems and moving to new versions for newer systems. Your view might vary, and certainly unless you want to setup SQL Server instances on Linux, I'm not sure 2017 offers a lot over 2016. In fact, I'd accelerate any SQL 2016 instance installations I could to avoid being trapped with SQL 2017 licenses and the chance that price or licensing terms will change. If there were features that made significant advances for my current system, I'd certainly look at SQL Server 2017. Since I tend to only move to newer versions when there is a good reason or a new install is being performed, I like the rapid release cadence. With the deployment and testing in Azure, it seems to me the quality of SQL Server keeps increasing, and the rapid releases allow new changes to come out sooner rather than later. With a version every 18 months (my guess at the new pace), I can adopt new features relatively quickly if I think they are beneficial. That being said, SQLServerCentral still runs on SQL Server 2008. It works, and we really just would like a core database engine. I do find it strange to work on the 2008 version of T-SQL as some of the data analysis I try to do is harder to write. I'd really like to upgrade and hopefully we'll make a good enough case to try and move to SQL 2017 late this year or next. Maybe then we can get the chance to play with some graph capabilities and add them to SQLServerCentral, comparing them to good old relational queries in real time. 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.8MB) 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 | | New SQL Monitor Reporting Module SQL Monitor now includes a new Reporting module. It allows you to create customized reports, combining the individual server performance metrics available in SQL Monitor with summary information on your entire SQL Server estate. These reports can then be exported to pdf and emailed to you on a scheduled basis. Download SQL Monitor now and get a 14 day free trial |
| | Write, format, and refactor SQL effortlessly with SQL Prompt Writing SQL is 50% faster with SQL Prompt. Your SQL code can be formatted just the way you like it, you can create and share snippets with your team, and with tab coloring you’ll never deploy to the wrong environment again. Download your free trial |
|
|
|
| | | Kenneth Igiri from SQLServerCentral.com A short description of our experience with Veritas Netbackup on MS SQL Server AG Groups. This article does not give a full description of the procedure for configuring netbackup but highlights a few pitfalls which we think some people will find very useful. More » |
| Additional Articles from SimpleTalk If the design of a relational database is wrong, no amount of clever DML SQL will make it work well. Dr. Codd’s Information Principle is that you have, inside the entity tables, the columns that model the attributes of that entity. The columns contain scalar values. Tables that model relationships can have attributes, but they must have references to entities in the schema. You split those attributes at your peril. Joe Celko explains the basics. More » |
| Rob Sewell from SQLServerCentral Blogs The SQL Server Diagnostics Preview was announced just over a week ago It includes an add-on for SQL Server Management... More » |
| Devin Knight from SQLServerCentral Blogs In this module you will learn how to use the Drilldown Cartogram Custom Visual. The Drilldown Cartogram is a map... More » |
|
|
| | Today's Question (by Steve Jones): When do I use the PARTIAL option of the RESTORE DATABASE command? |
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: Backup and restore. 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've got a LineItem table with some quanties, prices, and discount percentages stored in a table. CREATE TABLE [dbo].[LineItem] ( [LineItemKey] [int] NOT NULL IDENTITY(1, 1), [Qty] [int] NULL, [Price] [int] NULL, [DiscountPercentage] [int] NULL ) ON [PRIMARY] GO The data looks like this: LineItemKey Qty Price DiscountPercentage ----------- ----------- ----------- ------------------ 1 10 5 0 2 25 8 5 3 100 11 10 I am trying to write a query that will give me the final price. SELECT LineItemKey, Qty, Price, DiscountPercentage, FinalCost = CAST((Qty * Price) - ((Qty * Price) * (DiscountPercentage / 100)) AS DECIMAL(10, 2)) FROM dbo.LineItem; However, I get this result: LineItemKey Qty Price DiscountPercentage FinalCost ----------- ----------- ----------- ------------------ --------------------------------------- 1 10 5 0 50.00 2 25 8 5 200.00 3 100 11 10 1100.00 Why? Answer: The data is stored as integers, so the calculations produce an integer that is converted to a decimal Explanation: All of the first data is an integer value, which means the results of all intermediate calcuations in the query will produce integers. The CAST merely takes an integer and converts it to a decimal. Since the discount is an integer, the divide by 100 returns 0 instead of a decimal percentage. Ref: CAST AND CONVERT - click here » Discuss this question and answer on the forums |
|
|
| | Vasan Balu from SQLServerCentral.com Automatic Mirroring configuration for newly created user databases Instance name: Principle server : X Mirroring Server : Y Steps to follow: Create link server between principle server and mirror server with RPC (Remote procedure call) set as true in order to execute the procedure. Eg : lnk_X_Y_mirroring (Link server name) Create below stored procedure in to principle server. Schedule this Stored procedure (usp_Mirroring_Configuration) with 30mins/1hr interval based on business requirement via job Once the new database created in server mirroring will be configured vis job execution. Alert will be trigger ‘with the name of Mirroring Configuration Mail content:“Mirroring Configured for db_55555 and safety level is OFF” Hope this helps ! Thanks, Vasan --------- Manickavasagam Balu is working as a Database Administrator for ICON clinical research, global provider of outsourced development services to the pharmaceutical, biotechnology and medical device industries. More » |
|
|
| Database Pros Who Need Your Help |
| Here's a few of the new posts today on the forums. To see more, visit the forums. Max. Degree or Parallelism - Afternoon All, Sometimes setting MAXDOP 1 for a query results in a faster execution. Is this simply because the process of... In place 2012 to 2104 upgrade and log shipping - GOing to do in place upgrade from 2012 to 2014. Currently have log shipping. I believe it is supposed to... Same query different Execution plan on two different server - Same database, same tables, same query but running on two different servers bringing two different execution plans. plan1_server1 gets executed... Hashing column using SHA256 - I've got a table with one ID column (10 chars long). I'd like to create a new table with 2... How to get total cost of start package table between two periods by sql query? - Problem: how to get total cost of start package table between two periods with a SQL query? alexaPackage from 28/06/2017 to... Sum when between - Hi I am trying to do a count, to see how many times N-CO occurred until the Re-Act was completed. Could you... enable promotion of Distributed Transactions for RPC: should be set to TRUE or FALSE - It is my understanding that when having LinkedServers, the option "enable promotion of Distributed Transactions for RPC" should be set... OpenRowSet works locally but not over networked drives - Hi, My company got some new stuff. I spent an hour or so on the phone with a sysadmin this morning... How to combine two rows as one row for transactional Data - Hi, Because of the application issue, we are seeing partial duplicate row, how to combine duplicate row to original row. Ex Transactional... Distinct values from 2 columns - I want to get the distinct values from this table as row no 3 and 10 are the same .I... Parameterless stored procedure to update insert - I am working on a stored procedure that is supposed to insert or update rows in a remote table. I... Partition by or Row num or Subquery - Assistance - Hi I have the below problem. I am trying to see how often a customer has requested Re-Activation of their Internet account. The... SSIS Warning - Global Shared Memory - Hi I'm busy rewriting DTS packages as SSIS packages. As and when I finish a package I run it in debug... How to Calculate Difference between 2 queries Columns in union ALL - Hello Good Afternoon, Can you please help me with below query how to get the another column in the output as... task => generate script with tool sqlCmd - Hello all, i would like to know if it's possible to generate a script (create schema and datas) with the command... CHARINDEX doesn't find double spaces - Hi all I have a very strange situation where I have a table containing data that definitely has records having double... Job in hung state..How to fix - Good morning Experts, There is a job in hung state as shown above. Please help in troubleshooting this Data flow concept - Thoughts wanted - Looking for thoughts on this. I have an application where we receive data from customers via text file. Unfortunately, we... Incremental load issue - Hey guys, I'm in the process of trying to figure out if there is any way I can reliably perform an... Replication error - Hi! I get this error message when subscribing or reinitializing subscriptions on one of my databases. (I am running MS SQL 2000... |
|
| 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] |
|
|