SQLServerCentral - www.sqlservercentral.com

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

Featured Contents

The Voice of the DBA

We Don't Have Perfect Information

I was discussing the PASS Summit with someone and they were wondering about building their schedule. Actually, they wanted to pick sessions, but see the choices in a calendar format, but the schedule wasn't out at that point in time. My suggestion was to just build the schedule and then sort out conflicts later.

A few people have mentioned over the years that they want to build a schedule and be ready for the event to maximize their experience and be efficient. I think that's a common, normal thing that many technical people like to do. Many of us are Type-A, and we like knowing our plans and having a schedule prepared in advance. We can then decide which sessions might have greater priority for us during a time slow and adjust our choices to have the best experience. After all, we may want to see two speakers, but if they present at the same time, we have to make a choice.

The problem is that we don't have perfect information. Even if the descriptions and abstracts included perfect information about the agendas, what is covered, and to what depth, including demos, we'd still not necessarily assimilate and recognize all that data in a way that makes sense, even to us. There are no shortage of people that make plans today and are unhappy a few weeks later.

Even if we knew what we wanted to watch, many of us might think a session on database design has to cover third normal form, even when the text said this examines PKs and FKs. We might assume an SSIS data load talk included something on CSVs when the presenter described the talk as being for ragged right text files.

We're human, and that means we have flaws in how we deal with the world. This includes the ways in which we model and analyze data. We can make mistakes in our analysis often when we simplify our view of a problem to the point where our analysis is inherently flawed. If we don't account for this and assume we're flawed, we may overweight our conclusions.

I try to remember this when I write reports from systems that others will use. I won't have every piece of information that might affect a decision, but I try to ensure I have the most important, or significant, data. Or at least, the data I and the users feel is significant. The important thing to remember is that out data is always incomplete, and it's entirely possible that we have missed a valuable piece of data.

When that happens, we have to adapt and adjust our report, our application, or our conference schedule. We'll learn more across time and we can use that information to change our system. I know that my view of a conference like the PASS Summit today, or even a week before the event, will be different than how I feel at the event. I should have a plan, but be willing to flex as circumstances change. And, always have a backup. I like to pick two or three sessions for every time slot, just in case.

Steve Jones from SQLServerCentral.com

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


The Voice of the DBA Podcast

Listen to the MP3 Audio ( 5.3MB) podcast or subscribe to the feed at iTunes and Libsyn. feed

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
SQL Provision

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

RGUni

Redgate University

Self-paced online training courses with easy to follow classes on getting started, exploring advanced features, and making the most of Redgate products. Learn the fundamentals, best practices, and top tips from the experts - Redgate’s Microsoft Data Platform MVPs and engineers.
Start Learning

Featured Contents

 

Stairway to SSAS Tabular Level 4: Implementing Date Dimensions

Thomas LeBlanc from SQLServerCentral.com

In this first level of the SSAS Tabular stairway, learn how to implement and format a date dimension. More »


 

Free eBook: SQL Server Internals: In-Memory OLTP

Press Release from Redgate

In this free eBook, Kalen Delaney explains how Microsoft's 2016 In-memory OLTP engine works. In her book, learn how to use lock- and latch-free data structures to allow non-blocking data processing, and find out how to migrate existing tables to Hekaton. More »


 

Deep dive into Python scripts execution in SQL Server

Additional Articles from MSSQLTips.com

This article looks at how Microsoft implemented the Python language support into SQL Server and how it can be used. More »


 

From the SQLServerCentral Blogs - Moving a SQL Server Availability Group to a different Subnet

Klaus Aschenbrenner from SQLServerCentral Blogs

(Be sure to checkout the FREE SQLpassion Performance Tuning Training Plan - you get a weekly email packed with all the... More »


 

From the SQLServerCentral Blogs - Did Not Know That - Redirecting CMD to the Clipboard

Andy Galbraith from SQLServerCentral Blogs

One of the items I frequently deal with as a Production DBA is drive alarms.  I have written previously about... More »

Question of the Day

Today's Question (by Steve Jones):

I have created a few vectors in R with this code:

 > west.teams = c('Diamondbacks', 'Rockies', 'Dodgers', 'Giants', 'Padres') > west.wins = c(72,71,70,65,50) > west.losses = c(58,59,61,67,83) 

I want to combine these vectors into a data frame. How do I do this?

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: R Language.

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-765 Provisioning SQL Databases

Prepare for Microsoft Exam 70-765–and help demonstrate your real-world mastery of provisioning SQL Server databases both on premise and in SQL Azure. 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):

With this table

 CREATE TABLE UserConfig ( UserConfigKey INT IDENTITY(1,1) NOT NULL CONSTRAINT UserConfigPK PRIMARY KEY , UserID INT , IsActive BIT SPARSE , IsSubscriber BIT SPARSE , DefaultQuantity INT SPARSE , Options XML COLUMN_SET FOR ALL_SPARSE_COLUMNS ) GO 

We run this query

 INSERT dbo.UserConfig ( UserID , IsActive , IsSubscriber , DefaultQuantity ) VALUES (8, 1, 1, 5) 

and then this

 SELECT * FROM dbo.UserConfig AS uc WHERE uc.UserConfigKey = 8 ; 

What is returned?

Answer: The UserConfigKey, the UserID, and the Options column with 3 XML nodes.

Explanation:

The Options column is a column set. As values are added to the sparse columns, the column set returns an XML representation of the values.

Ref: Use Column Sets - 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 - Administration

SSRS subscription move to another server - Our servers are SQL 2017. On our production server and test server we have  a folder of reports that has subscriptions. and...


SQL Server 2017 : SQL Server 2017 - Development

Rewrite query - Hi, Is there another way of writing this query without first having to get the MAX date for an id and...


SQL Server 2016 : SQL Server 2016 - Administration

Upgrade to 2016 from 2012 - what are the CLR issues? - We have a vendor application that needs to be upgraded from 2012 to 2016. The server isn't due for replacement...

Grant sql assistant - Hello to all,  I have one user as full granted and another one as a read-only user to SQL server. The first...

Allowing developers ability to administer SQL Agent jobs in production - Hi all Trying to get an idea of what people are doing out in the industry around SQL job management. I'm...

Hide schema from all users (except people with SA access) - Hi all I need to create a schema to store a set of tables but I don't want anyone (including those...


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

Importing from XML to SQL 2014 - This is my 4th day on SQL so I am a newbie. I created a query to import from an...


SQL Server 2014 : Administration - SQL Server 2014

Linked Server Kerberos Double-Hop Problem - Dear Colleagues, I am having a kerberos-related problem.  I have a network of two SQL Servers that reference each other via...

Best Practice Help - Table Structures - Hi there, I am being asked to provide a list of all the reasons that we should create actual normalized...


SQL Server 2012 : SQL 2012 - General

Delete statement hangs - Hi all, Vendor gave me a statement to run to delete records from tables. The last output of the statement was: (20000 row(s)...

RAC like capability for SQL 2012 - Hi, Good day everyone just want to ask if sql server 2012 has a capability of load balancing just like what...


SQL Server 2012 : SQL Server 2012 - T-SQL

Data flow doesn't finish processing records to OLE DB destination - Hi, I've got a fairly simple data flow that loads from a flat file to a sql server table. According to...

Delete Old Tables - dear Friends, Kindly help me, I want to make a syntax that compares if the number of rows in table A...

t-sql 2012 with parameter with multiple values -


SQL Server 2008 : SQL Server 2008 - General

How do I write a record for each day in a date range??? - Hi To make it simple I  have a @StartDate and @EndDate I choose students with an admit date in that range from the...


SQL Server 2008 : T-SQL (SS2K8)

Rounding decimal times into seconds. - Hi I am using the below code to convert decimal times into hh:mm:ss e.g. 0.18 minutes = 10.8 seconds rounder up to 11...


Cloud Computing : SQL Azure - Development

Ideas for setting Azure SQLmanaged instance for transaction and reporting - Hi, we plan to migrate several database application to Azure managed instances. Users will be using it for transaction and...


Reporting Services : Reporting Services

Help required with GROUP BY - Hello I have 4 work trays and I would like a report that gives me the name of each work tray,...


SQL Server 7,2000 : T-SQL

Column with both primary and foreign key constraints - Hi Friends, I am a Newbie to T-SQL Database Development. My question is I notice that in Adventureworks2012 Database there is...


Career : Presentations and Speaking

Potential presentation idea: Intro to data warehousing - Hi folks... I'm contemplating what to do for new presentation topics, and am thinking about doing an intro to data warehousing. ...

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