SQLServerCentral - www.sqlservercentral.com

A community of more than 1,600,000 database professionals and growing

Featured Contents

The Voice of the DBA

Fast Enough

Will RDBMS ever be fast enough? It's not likely, and this opinion piece notes that really any database won't be fast enough. Data volumes are exploding and the demands by users are increasing as new creative ideas abound. This means that we will constantly struggle to keep up with the workload demand. I agree with that part of the piece.

Where I start to disagree is with the idea that sticking with the traditional vendors of databases (Oracle, IBM, and Microsoft) is not a great idea. Even if these vendors adopt new technologies that are being put forth by disruptive startups, the author seems to think that we would be better off adopting some alternative technology from the NoSQL space. There's even a nod that younger millennials don't think that the big vendors' software is feasible. 

While I do think that many younger developers get excited by new technologies, I'd note that many of us older developers used to be young and get excited by new technologies as well. We just temper that with some experience to note that there are rarely magic bullets in technology and much of what we choose to implement has its own disadvantages and tradeoffs. While some might be worth making, not all are.

I do think that some of the technologies that have been developed by vendors in the NoSQL space are useful. Microsoft sees that and the Big Data Clusters coming in SQL Server 2019 are an attempt to access more data and make it useful to an organization. The addition of Machine Learning Services in the last two versions was another way in which the "same old, same old" product from this vendor is growing to accommodate the needs of more customers.

That doesn't mean I view all other types of database technologies as useless. Certainly there are problem domains where a graph database or a key-value store might provide lots of advantages. More and more customers and clients are integrating other databases in strategic places. Redis and Elasticsearch are incredibly popular, and they work very well on certain problems.  Other databases are worth investigating, though moving wholesale to a new technology based on a Proof of Concept, no matter how complex, is something I wouldn't recommend.

The challenge, as always, is getting the data to the engine that can process it. Throwing every query and workload onto your OLTP database is a recipe for disaster, though using ETL processes to copy data to other systems is a complex, though viable, alternative. It just takes work.

Systems are never fast enough for all users, but they often work very well for most of us. Don't get caught up in a new technology and expect it to solve all your problems. Likewise don't be close minded when it comes to evaluating another database engine. Follow the DevOps philosophy. Do more of what works, less of what doesn't, experiment, and always be learning.

Steve Jones from SQLServerCentral.com

Join the debate, and respond to today's editorial on the forums

ADVERTISEMENT
SQL Prompt

Write, format, analyze, and refactor SQL fast 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 code analysis you get suggestions to improve your SQL as you type. Download your free trial

SQL Source Control

How to track every change to your SQL Server database

See who’s changing your database, alongside affected objects, date, time, and reason for the change with SQL Source Control. Get a full change history in your source control system. Learn more

Featured Contents

 

Rolling Back CREATE DDL Statements

Steve Jones from SQLServerCentral.com

There is a myth that DDL statements can't be rolled back. This article tests and debunks the myth. More »


 

Getting Started with CQRS – Part 2

Additional Articles from SimpleTalk

In this second article of the series, Diogo Souza walks you through creating the MongoDB code, the query side of the pattern, to complete the CQRS configuration. More »


 

New Case Study: Reducing capital by $500,000 with SQL Clone

When a well-known financial services company was searching for a solution to move data through the development cycle faster and easier, SQL Clone provided impressive results. As well as leading to improved and more in-depth testing processes, SQL Clone saved between $400,000 and $500,000 in one month alone by reducing capital expenditure. Read more about their journey in this new SQL Clone case study. More »


 

From the SQLServerCentral Blogs - Time Animation with ArcGIS Maps in Power BI

Rayis Imayev from SQLServerCentral Blogs

(2019-Jan-14) Dynamic maps with dynamic visualization usually attract my attention, especially when I look at the satellite images of various cloud... More »


 

From the SQLServerCentral Blogs - Extended Events: Detect Implicit Conversions that affect execution plans

Joyful Craftsmen from SQLServerCentral Blogs

Implicit Conversions – Introduction In this blog post, I’ll explain and demonstrate how to use Extended Events to detect Implicit Conversions that... More »

Question of the Day

Today's Question (by Steve Jones):

I have this table created in my system.

 CREATE TABLE dbo.SalesOrderHeader ( OrderKey INT IDENTITY(1, 7) , CustomerName VARCHAR(30) ) GO 

I realized that I made a mistake and decide to RESEED the identity value.

 DBCC CHECKIDENT('dbo.SalesOrderHeader', RESEED, 0) GO 

I know insert some data.

 INSERT dbo.SalesOrderHeader (CustomerName) VALUES ('Andy') INSERT dbo.SalesOrderHeader (CustomerName) VALUES ('Brian') INSERT dbo.SalesOrderHeader (CustomerName) VALUES ('Steve') GO 

What is the value for the row with "Steve" in it?

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: IDENTITY Property.

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-774 Perform Cloud Data Science with Azure Machine Learning

Prepare for Microsoft Exam 70-774 and help demonstrate your real-world mastery of performing key data science activities with Azure Machine Learning services. 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 today from Amazon.

Yesterday's Question of the Day

Yesterday's Question (by Steve Jones):

I am working in Python and have two lists:

 >>> West = ["Broncos", "Chiefs", "Chargers", "Raiders"] >>> South = ["Texans", "Titans", "Colts", "Jaguars"] >>> North=["Ravens", "Steelers", "Browns", "Bengals"]

I now decide to run this code. What is the value of Teams?

 Teams = West + South + North 

Answer: ['Broncos', 'Chiefs', 'Chargers', 'Raiders', 'Texans', 'Titans', 'Colts', 'Jaguars', 'Ravens', 'Steelers', 'Browns', 'Bengals']

Explanation:

Each of these is a list in Python. When I use the addition operator (+), these lists are combined into a new list with all the values.

Ref: Lists - click here

SO Question on + with lists - 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.

SQL Server 2017 : SQL Server 2017 - Development

Is sp_send_dbmail Asynchronous? - Hopefully this is an easy question. In my scenario, I want some events to trigger an e-mail to someone.  I have...

Match vertical records to next greater date to find datediff - I need to find the amount of time a user spent watching videos.  I have play/pause actions recorded with time...


SQL Server 2016 : SQL Server 2016 - Administration

Creating a subset of data - Thanks for reading and hopefully helping me find a solution... I have a database that is about 750GB and i would...


SQL Server 2016 : SQL Server 2016 - Development and T-SQL

Year By Months -Columns - Hi guys In what way can I have a result of a table that the columns are the years and months....

Determining a Start Date within a subset of a group - I have a result set that I need to apply grouping within. However, the grouping is not just a simply...


SQL Server 2014 : Development - SQL Server 2014

Inside out on my Where clause logic - WHERE (B.ELIGIBILITY_FLG <>'Y' or B.ELIGIBILITY_FLG is NULL) and DM.ELIGIBILITY_FLG <>'Y' B is Sol Tracker and DM is Duty Manager I want to see all...

very slow select - Team, I have this query that runs quite a long time, actually the result is not been displayed at all.

Performance Issue with Simple Query /Big Tables - This query (attached estimated query plan) returns Exception of type 'System.OutOfMemoryException' was thrown.  Are queried tables just too huge or can query performance...

Checking Fulfillment of Prerequisites That Can Contain Elaborate AND/OR Relationships - I am working with a system in which I can query prerequisites for course enrollment in a query like this: [code...


SQL Server 2012 : SQL Server 2012 - T-SQL

How do I change a SELECT statement in a stored procedure based on the value of a variable? - I've got a web page (.Net web forms) where a user can display sales invoices by date only or date...

Converting Date and Time to Date - I have a column that I need to display as date only.  Right now I get 2019-01-01 00:00:00 I cant remember...

Fiscal Column Year - Month / Values Result - Good afternoon I would like a script that can generate the following query, but that has the possibility to see also...

Dynamic query parameter conversion - Hi I'm trying to execute a dynamic query which takes (or should take) a bigint value to filter the results. Essentially the query...


SQL Server 2008 : SQL Server 2008 - General

Split a range of numbers in equal parts - Hi, I want to divide a range values into equal parts with t-sql If i have a range of valuessay...


SQL Server 2008 : SQL Server Newbies

Get results between 2 date fields? - there is 2 date fields with a from date and a to date, is it possible to find the record where...


Reporting Services : Reporting Services

Where do you put your design notes/comments? - I want to keep track of changes I make to reports but I'm not sure what's the best way to...


Data Warehousing : Integration Services

SSIS, FlatFile Destination with Multiple record types and formats - Hello all, I have a requirement to create a flat file for a one of our vendors that has fixed length...

SSIS research and documenation - Hi All, I am working on documentation prep and I want to know what is the best way to do...


Data Warehousing : Strategies and Ideas

Build dimension as a VIEW - Hello, I have build a dimension as a VIEW. Definition of the view is below: CREATE VIEW dbo.PowerBI_DimClient(ClientId,Client) WITH SCHEMABINDING AS WITH CTE AS (     SELECT    DISTINCT...


Database Design : Design Ideas and Questions

Entity Framework & RowVersion - Hi all, One of our developers has put a rowversion field with the datatype timestamp into all of the tables of...

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