Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Wednesday, January 31, 2018

Creating Subscriber where publisher database is in AlwaysOn and NOT running in "Original Publisher" node

SQLServerCentral » Latest topics
Creating Subscriber where publisher database is in AlwaysOn and NOT running in "Original Publisher" node

Hi All,

My publisher database is in AlwaysOn and let say it as ServerA which has (Node1, Node2 and Node3).  We had setup replication and the distributor server is ServerB and Subscriber is ServerC.

No

Automatic Database Seeding

SQLServerCentral.com Articles
Automatic Database Seeding

Set up and use the automatic databases seeding feature for Availability Groups.

Comic for 2018.01.31

RSSMix.com Mix ID 8239024
Comic for 2018.01.31
New Cyanide and Happiness Comic

SSMS connect to another server => How to ?

SQLServerCentral » Latest topics
SSMS connect to another server => How to ?
Hello all,

before where i worked, it's was possible in sql server management studio to connect to a sql server by right click on the root node and choose connect.
I've change my job, and where i work actually if i want to make some change in

Tuesday, January 30, 2018

Comic for 2018.01.30

RSSMix.com Mix ID 8239024
Comic for 2018.01.30
New Cyanide and Happiness Comic

Free webinar: Database DevOps demo

SQLServerCentral.com Articles
Free webinar: Database DevOps demo

Microsoft MVP Grant Fritchey, and Redgate’s Arneh Eskandari, will show you how Redgate’s Database DevOps solution works to improve your database development and deployment processes. You'll see a demo of tools from Redgate's SQL Toolbelt and see how they plug into GIT, Jenkins and Octopus Deploy. There will also be plenty of time to ask Grant and Arneh questions.

Slow running query

SQLServerCentral » Latest topics
Slow running query
Hi,

I am trying to get some counts and it's running really slow. Any help would be really appreciated.

The table has a call_id, start_time, and end_time. The table has thousands or records but I am parsing by day. When I include the

Monday, January 29, 2018

Comic for 2018.01.29

RSSMix.com Mix ID 8239024
Comic for 2018.01.29
New Cyanide and Happiness Comic

Keeping track of history: SQL Compare and Temporal Tables

SQLServerCentral.com Articles
Keeping track of history: SQL Compare and Temporal Tables

SQL Compare 13 introduces support for deploying changes to temporal tables, which were introduced in SQL Server 2016. This means that any changes made to the definition of a temporal table in a source database, including to the retention policy for that table, will be included automatically in any deployment script that SQL Compare generates for that database.

sqlmonitor How to fix SQL Server disk I/O bottlenecks (without a hammer)
In this new article, Simple-Talk editor Tony Davis explains step-by-step how to find and fix the root causes of disk I/O bottlenecks, including gathering data, avoiding knee-jerk fixes, and how monitoring tools can help. Read now.

Creating one record from multiple records

SQLServerCentral » Latest topics
Creating one record from multiple records
Hi

From the table script below I would like to write a query that creates one row for each User. Each row should contain the User, the Activity DateTimes  and the date/time difference between each activity DateTime. So for example User 2 wou

Sunday, January 28, 2018

Sending table form HTML emails from a SQL Server database engine

SQLServerCentral » Latest topics
Sending table form HTML emails from a SQL Server database engine
Comments posted to this topic are about the item [B]Sending table form HTML emails from a SQL Server database engine[/B]

Comic for 2018.01.28

RSSMix.com Mix ID 8239024
Comic for 2018.01.28
New Cyanide and Happiness Comic

Cannot create primary key Serial to table have existing data .

SQLServerCentral » Latest topics
Cannot create primary key Serial to table have existing data .
Problem

Cannot create primary key Serial to table have existing data .

Table structure

[code language="sql"]USE [Malah

Saturday, January 27, 2018

Comic for 2018.01.27

RSSMix.com Mix ID 8239024
Comic for 2018.01.27
New Cyanide and Happiness Comic

Friday, January 26, 2018

Finding code smells using SQL Prompt: old-style join syntax

SQLServerCentral.com Articles
Finding code smells using SQL Prompt: old-style join syntax

SQL Prompt implements a static code analysis rule which will check code automatically for occurrences of non-ANSI standard JOIN syntax - here's how it works.

Specified file is not a SQL Server backup file

SQLServerCentral » Latest topics
Specified file is not a SQL Server backup file
I have two servers that the XP_delete_file command recognizes the sql backups created in SSMS as invalid backups.  The files pass a restore headeronly correctly.  I can restore the backups with no problems.  I have even copied a few of the

Thursday, January 25, 2018

Maxworker thread and needs understanding

SQLServerCentral » Latest topics
Maxworker thread and needs understanding
We have an issue currently and need to pick community's advise on this. Under extended SQL system health, we see maxWorkers="1088" workersCreated="1182". Does this mean SQL exhausting worker thread? Application timeouts and SQL SSMS fail to connect to SQL

Shredding JSON Array within Array

SQLServerCentral » Latest topics
Shredding JSON Array within Array
I'm currently working my way through Itzik's book for 70-761 and I'm struggling a bit with the JSON section.
There are fairly basic examples for extracting JSON but I'm busy playing and wanted something that I believe is a little more realistic and I

Introduction to Agile with SQL Server

SQLServerCentral.com Articles
Introduction to Agile with SQL Server

Working with SQL Server in Agile software development can be difficult. Ben Brumm provides an overview of Agile, specifically Scrum, and what to expect when SQL Server, or really any SQL platform, is involved.

Wednesday, January 24, 2018

NEW – Create, protect and manage non-production databases with SQL Provision

SQLServerCentral.com Articles
NEW – Create, protect and manage non-production databases with SQL Provision

Redgate's newest offering helps address data privacy and protection concerns by creating copies of SQL Server databases that mask all sensitive data. SQL Provision serves as a gateway between production and non-production environments, to ensure the safe distribution of database copies from one central location, without blocking the team’s development and release processes.

Comic for 2018.01.24

RSSMix.com Mix ID 8239024
Comic for 2018.01.24
New Cyanide and Happiness Comic

Question Regarding Date logic

SQLServerCentral » Latest topics
Question Regarding Date logic
Hi,

I need to get Year, monthname in three letters, startdate and enddate  of the month for last two years based on today’s date. Any sample query please

Tuesday, January 23, 2018

Comic for 2018.01.23

RSSMix.com Mix ID 8239024
Comic for 2018.01.23
New Cyanide and Happiness Comic

for each variable getting unset

SQLServerCentral » Latest topics
for each variable getting unset
So, inside a for each loop, I have various things that I am doing from an result set.

First off I go to a data flow to export data to an Excel Spreadsheet based on the parameter from the result set, which works.
After that I run a command lin

How to automatically provision sanitized data using SQL Clone, Data Masker, and PowerShell

SQLServerCentral.com Articles
How to automatically provision sanitized data using SQL Clone, Data Masker, and PowerShell

This article describes a strategy, using data masking, cloned databases, and PowerShell, which will allow you to sanitize data before it is copied or moved, for example from a production environment into testing or development environments.

sqlmonitor How to fix SQL Server disk I/O bottlenecks (without a hammer)
In this new article, Simple-Talk editor Tony Davis explains step-by-step how to find and fix the root causes of disk I/O bottlenecks, including gathering data, avoiding knee-jerk fixes, and how monitoring tools can help. Read now.

Monday, January 22, 2018

购买伊利诺理工学院硕士毕业证、伊利诺理工学院文凭、伊利诺理工学院成绩单Q微963146376、伊利诺理工学院学位证书、伊利诺理工学院学历认证、专业成绩单修改、代办留学回国证明、代办留信网认证

SQLServerCentral » Latest topics
购买伊利诺理工学院硕士毕业证、伊利诺理工学院文凭、伊利诺理工学院成绩单Q微963146376、伊利诺理工学院学位证书、伊利诺理工学院学历认证、专业成绩单修改、代办留学回国证明、代办留信网认证
Q/微信963146376美国办毕业证,美国买文凭,美国办假学历,办理美国大学毕业证,改成绩单,美国
留学学历认证,仿制美国学位证书,代办美国学历文凭认证,买文凭,美国假文凭,美国大学本科学位

Comic for 2018.01.22

RSSMix.com Mix ID 8239024
Comic for 2018.01.22
New Cyanide and Happiness Comic

Finding code smells using SQL Prompt: procedures that lack schema-qualification

SQLServerCentral.com Articles
Finding code smells using SQL Prompt: procedures that lack schema-qualification

It is a very good idea to get into the habit of qualifying the names of procedures with their schema. It is not only makes your code more resilient and maintainable, but as Microsoft introduces new features that use schemas, such as auditing mechanisms, you code contains no ambiguities that could cause problems.

Comic for 2018.01.21

RSSMix.com Mix ID 8239024
Comic for 2018.01.21
New Cyanide and Happiness Comic

Debıt Close and Aging

SQLServerCentral » Latest topics
Debıt Close and Aging
Hi, 

I want to aging.

[code language="sql"]drop table #TempStk

CREATE TABLE #TempStk(
    [ID] [int] IDENTITY(1,1) NOT NULL,
    [Ig]

Sunday, January 21, 2018

Zip XML data

SQLServerCentral » Latest topics
Zip XML data
Hi Experts,

We are creating an archival plan for one of our table which stores json data in nvarchar(max). We planned to load data from original table to a warehouses database on daily basis ,one time a day . The data will be selected  as xm

Saturday, January 20, 2018

Changing Extensions

SQLServerCentral » Latest topics
Changing Extensions
Comments posted to this topic are about the item [B]Changing Extensions[/B]

Friday, January 19, 2018

SQL Server Cumulative Updates (January 2018)

SQLblog.com - The SQL Server blog spot on the web
SQL Server Cumulative Updates (January 2018)

Microsoft has released the following Cumulative Updates for SQL Server:

Cumulative Update 3 for SQL Server 2017 RTM

KB 4052987DownloadBuild number: 14.0.3015.40SQL Release Services Blog Post


Cumulative Update 7 for SQL Server 2016 SP1

KB 4057119DownloadBuild number: 13.0.4466.4 SQL Release Services Blog Post


Cumulative Update 10 for SQL Server 2014 SP2

KB 4052725DownloadBuild number: 12.0.5571.0 SQL Release Services Blog Post 

Enjoy!

Formatted ASCII Results from a SELECT

SQLServerCentral » Latest topics
Formatted ASCII Results from a SELECT
Comments posted to this topic are about the item [B]Formatted ASCII Results from a SELECT[/B]

A new home for my SQLBlog content...

SQLblog.com - The SQL Server blog spot on the web
A new home for my SQLBlog content...
I've moved my content over to sqlblog.org . Read more details......(read more)

What is database DevOps, and why is it important for DBAs?

SQLServerCentral.com Articles
What is database DevOps, and why is it important for DBAs?

Over the past 20 years, the concept of database DevOps has always been around, but the ability to automate tasks hasn’t been as simple for the database as it has been for application development. Database DevOps tools have now emerged, however, and the benefits of including DevOps for the database are being realized by many organizations to achieve greater operational efficiency.

Comic for 2018.01.19

RSSMix.com Mix ID 8239024
Comic for 2018.01.19
New Cyanide and Happiness Comic

Thursday, January 18, 2018

Basic COUNTs 1

SQLServerCentral » Latest topics
Basic COUNTs 1
Comments posted to this topic are about the item [B]Basic COUNTs 1[/B]

WHY IT IS RECOMMENDED TO ASSIGN A GOOD AMOUNT SPACE TO INITIAL SIZE OF MDF FILE ?

SQLServerCentral » Latest topics
WHY IT IS RECOMMENDED TO ASSIGN A GOOD AMOUNT SPACE TO INITIAL SIZE OF MDF FILE ?
Hi all,

I have a question why and how it can be concluded that the initial size should be change from default and assign a big space as per DB expected size ?
example:-one of my DB which initial size is 300 GB but the data it contain is only

Free eBook: Defensive Database Programming

SQLServerCentral.com Articles
Free eBook: Defensive Database Programming

Resilient T-SQL code is code that is designed to last, and to be safely reused by others. The goal of defensive database programming, the goal of this book, is to help you to produce resilient T-SQL code that robustly and gracefully handles cases of unintended use, and is resilient to common changes to the database environment.

Wednesday, January 17, 2018

GDPR: Why We Stopped Selling Stuff to Europe

SQLServerCentral.com Articles
GDPR: Why We Stopped Selling Stuff to Europe

The EU’s new General Data Protection Regulation (GDPR) is a set of rules that give consumers rights about how their data is stored, used, and deleted. In this post Brent Ozar provides some handy resources, and sparks some interesting debate.

Comic for 2018.01.16

RSSMix.com Mix ID 8239024
Comic for 2018.01.16
New Cyanide and Happiness Comic

Compression estimates

SQLServerCentral » Latest topics
Compression estimates
Comments posted to this topic are about the item [B]Compression estimates[/B]

Tuesday, January 16, 2018

Transaction log issue

SQLServerCentral » Latest topics
Transaction log issue
HI All

I have a repeat incident in my database server
Transaction log is getting full pretty quickly and fill up the disk space .
I have checked the log backup(every hour) and full backup(daily) running well
also log file has autogro

Comic for 2018.01.15

RSSMix.com Mix ID 8239024
Comic for 2018.01.15
New Cyanide and Happiness Comic

Monday, January 15, 2018

Stored procedures from Access in MS SQL Server

SQLServerCentral » Latest topics
Stored procedures from Access in MS SQL Server
Hi Guys,

In Access i have Query where I am using textboxes fields from form:

[quote]SELECT tbl_Slownik.Slownik_ID, tbl_Slownik.PESEL, tbl_Slownik.Person_ID, tbl_Slownik.Nazwisko_imie, tbl_Slownik.

Implementing Azure SQL Database Virtual Network Service Endpoints and Rules

SQLServerCentral.com Articles
Implementing Azure SQL Database Virtual Network Service Endpoints and Rules

In previous articles, Marcin Policht has described the main characteristics of two new features known as Virtual Network service endpoints and Azure SQL Database virtual network rules. In this article, he focuses on the details of implementing this functionality.

Questions about Data Masking That You Were Too Shy to Ask

SQLServerCentral.com Articles
Questions about Data Masking That You Were Too Shy to Ask

The General Data Protection Regulation (GDPR) will be in effect in May of 2018. Data masking is one technique that can help your organization comply with this and other regulations. William Brewer answers those questions about data masking that you were too shy to ask.

Comic for 2018.01.14

RSSMix.com Mix ID 8239024
Comic for 2018.01.14
New Cyanide and Happiness Comic

Setting up SQL Server for regular imports

SQLServerCentral » Latest topics
Setting up SQL Server for regular imports
Hi all

I'm setting up a SQL Database to host consolidated data from a number of separate databases.  I think I've sorted the structure out, but I not sure on how to best set up the database for updates.

For a little background, we h

Sunday, January 14, 2018

Comic for 2018.01.13

RSSMix.com Mix ID 8239024
Comic for 2018.01.13
New Cyanide and Happiness Comic

Logshipping copy job failure

SQLServerCentral » Latest topics
Logshipping copy job failure
Hi Team,
I am trying to setup logshipping from PROD to DR, and my copy job fails with following error.

2018-01-14 08:15:14.12    Retrieved copy settings. Primary Server: 'Servername\InstanceName', Pri

Saturday, January 13, 2018

Did Microsoft Get Rid of the Upgrade Path from MCSA SQL 2012 to MCSA 2016?

SQLServerCentral » Latest topics
Did Microsoft Get Rid of the Upgrade Path from MCSA SQL 2012 to MCSA 2016?
Hi,

Microsoft used to offer upgrade exams for the same certifications, just newer years.  I currently have an MCSA in SQL 2012, but no longer see the option to only take one exam (instead of two) to upgrade my certification to SQL 2016. 

Friday, January 12, 2018

Comic for 2018.01.12

RSSMix.com Mix ID 8239024
Comic for 2018.01.12
New Cyanide and Happiness Comic

SQL Saturday Pordenone is back! Discover the 2018 edition!

SQLblog.com - The SQL Server blog spot on the web
SQL Saturday Pordenone is back! Discover the 2018 edition!
Another SQL Saturday has been scheduled in Pordenone (Italy), it will be the SQL Saturday #707, as last year it will be an international event with international speakers and several sessions in English language!
 
 
SQL Saturday Pordenone 2018 will be on February, Saturday 17 at Consorzio Universitario di Pordenone, Via Prasecco 3/a, Pordenone (Italy).
 
The agenda of the day is divided in four track that will deliver a total of 24 hours of free training on SQL Server, Business Intelligence, Microsoft Azure and Data Science! You will learn more about topics that you use every day rather than learn something about technologies that you don't use yet.
 
Thanks to our Sponsors the event will be free of charge for you, but the registration is mandatory.
 
If you are around Pordenone at the end of February, or if you want to come in Italy for a weekend of training on Microsoft Data Platform with friends, #sqlfamily and good food :) you are welcome!
 
Registration is available here and the official Twitter hashtag is #sqlsat707.
 
See you in Pordenone!

If you hear these phrases, you might need Microsoft Visual Studio Team Services

SQLServerCentral.com Articles
If you hear these phrases, you might need Microsoft Visual Studio Team Services

There are so many features in Microsoft Visual Studio Team Services that it can be difficult to wrap your head around what all they do and if you’re utilizing the tool to its fullest potential.

Running out of space on Server OS drive, where SQL Server app located, what to clear out?

SQLServerCentral » Latest topics
Running out of space on Server OS drive, where SQL Server app located, what to clear out?
I'm running a MS Windows Server 2012 R2, and SQL Server 2016 SP2, the main HDD OS drive is split into two partitions, C:\ and D:\, with lots of space on D:\ and only 60GB total space on C:\ now with less than 5GB left, it's in the red.

Besides us

Thursday, January 11, 2018

Quick performance check with latest patches

SQLblog.com - The SQL Server blog spot on the web
Quick performance check with latest patches
there is some degree of press hysteria, lawsuits etc. concerning the kernel vulnerabilities of Intel processors with out-of-order execution (which originates to Pentium Pro), so I did a quick check. Earlier, I posted on testing with the TPC-H database and queries at scale factor 100 (in conditions that do not meet official TPC-H standards). The test system is a single socket Xeon E5 2630 v4, 10 core, 64GB memory, SQL Server limited to 32GB, 4 Intel P750 NVMe SSDs for storage. The baseline test was...(read more)

New installation, looking for some architecture clarification

SQLServerCentral » Latest topics
New installation, looking for some architecture clarification

I haven't installed SSRS before, but I have installed SQL Server plenty of times (and skipped the SSRS pieces). But now, we're looking at potentially using SSRS, and going through the meetings for a preferred installation approach.

I'll be the

Comic for 2018.01.10

RSSMix.com Mix ID 8239024
Comic for 2018.01.10
New Cyanide and Happiness Comic

Free eBook: Performance Tuning with SQL Server Dynamic Management Views

SQLServerCentral.com Articles
Free eBook: Performance Tuning with SQL Server Dynamic Management Views

Dynamic Management Views (DMVs) are a significant and valuable addition to the DBA's troubleshooting armory, laying bare previously unavailable information regarding the under-the-covers activity of your database sessions and transactions.

Wednesday, January 10, 2018

Create Size-based Backups for SQL Server 2017

SQLServerCentral.com Articles
Create Size-based Backups for SQL Server 2017

Jeffrey Yao explains how to generate backups based on the amount of data that has changed for differential and transaction log backups.

Are the posted questions getting worse?

SQLServerCentral » Latest topics
Are the posted questions getting worse?
Is it me, or are the posted questions getting worse these days? I just read a post by someone apparently in charge of something who was asking how to take a database backup and restore it on another server. It seems like the general feeling of a lot

Tuesday, January 9, 2018

Comic for 2018.01.09

RSSMix.com Mix ID 8239024
Comic for 2018.01.09
New Cyanide and Happiness Comic

Detecting change week over week in SQL table

SQLServerCentral » Latest topics
Detecting change week over week in SQL table
Hello everybody,

trying to figure what is the best way to figure out change between snapshots of project records. Snapshots are taken weekly. Project name is unique, dates are always 7 days apart.

We have a process that generates snapsho

This is my most difficult SQLBlog post ever…and almost certainly, my last

SQLblog.com - The SQL Server blog spot on the web
This is my most difficult SQLBlog post ever…and almost certainly, my last
The pain of parting is nothing to the joy of meeting again - Charles Dickens It amazes me, but I have blogged here for over 11 years. My first post was about some new functionality in SQL Server 2005, Service pack 2. It was cross posted to drsql.spaces.live.com, where my original blog was hosted. No introduction post, just right into things. Back then things were still new, and I was just getting started. I have hundreds of blogs hosted here on SQLBlog, and I will miss being a part of this community...(read more)

Is This Data Science?

SQLServerCentral » Latest topics
Is This Data Science?
Comments posted to this topic are about the item [B]Is This Data Science?[/B]

Comic for 2018.01.08

RSSMix.com Mix ID 8239024
Comic for 2018.01.08
New Cyanide and Happiness Comic

Can you prevent deletes and inserts without a WHERE clause from running?

SQLServerCentral.com Articles
Can you prevent deletes and inserts without a WHERE clause from running?

Erik writes a script to do what it says on the tin.

Monday, January 8, 2018

SQL Clone v2.4 – run scripts during image creation

SQLServerCentral.com Articles
SQL Clone v2.4 – run scripts during image creation

SQL Clone 2.4 incorporates a new T-SQL script runner that the team can use to mask sensitive or personal data, or to modify security and other configuration settings, prior to creating a clone.

Comic for 2018.01.07

RSSMix.com Mix ID 8239024
Comic for 2018.01.07
New Cyanide and Happiness Comic

Spam Topics

SQLServerCentral » Latest topics
Spam Topics
Spam seems to be deleted fairly promptly these days, not sure if this is automatic or by manual intervention, which is to be highly commended. However the topic and the link (albeit to a holding page saying "Topic has been deleted") remains on the ho

Sunday, January 7, 2018

It's Time to Patch and Upgrade

SQLServerCentral » Latest topics
It's Time to Patch and Upgrade
Comments posted to this topic are about the item [B]It's Time to Patch and Upgrade[/B]

Saturday, January 6, 2018

CASE with 'and' condition not working

SQLServerCentral » Latest topics
CASE with 'and' condition not working
sorry for bring such a simple thing to this forum. for some reason the case statement with and condition is not  working. I used adventureworks to simulate the problem since this is not the actual data.
1. I have an inner select statement th

Comic for 2018.01.06

RSSMix.com Mix ID 8239024
Comic for 2018.01.06
New Cyanide and Happiness Comic

Problem with Tuning of Delete Statement

SQLServerCentral » Latest topics
Problem with Tuning of Delete Statement
Hi all,
This is my query.
[code language="sql"]
Delete FROM AliTest2.DBO.SDE_GEOMETRY9 
    WHERE NOT EXISTS (SELECT objectid,0 FROM AliTest2.DBO.NETWORK_V3 
        

Friday, January 5, 2018

Blog moved

SQLblog.com - The SQL Server blog spot on the web
Blog moved

Blog has been moved to: jorgklein.com

Follow me on twitter: twitter.com/jorg__klein

SQL Beginner: one to many relationship, updating single row based on many rows in join table

SQLServerCentral » Latest topics
SQL Beginner: one to many relationship, updating single row based on many rows in join table
Hello,

I'm fairly new to SQL and seem to be struggling with the concept of "one to many". I'll use the north wind DB for my example.
using employee table, I want to iterate through the orders table (one to many) and if there is an order that

Comic for 2018.01.05

RSSMix.com Mix ID 8239024
Comic for 2018.01.05
New Cyanide and Happiness Comic

Would you like to see Redgate tools inside SQL Operations Studio?

SQLServerCentral.com Articles
Would you like to see Redgate tools inside SQL Operations Studio?

You may already have heard about Microsoft’s new DevOps platform for database development, SQL Operations Studio. Related to this, Redgate is doing some research into cross-platform data tools. Read this blog post to find out more about what they're doing, and how you can get involved.

Thursday, January 4, 2018

An Introduction to SQL Server Containers

SQLServerCentral » Latest topics
An Introduction to SQL Server Containers
Comments posted to this topic are about the item [B]An Introduction to SQL Server Containers[/B]

Current State of the NewSQL/NoSQL Cloud Arena

SQLServerCentral.com Articles
Current State of the NewSQL/NoSQL Cloud Arena

Choosing the right data platform is not an easy task. Warner Chaves compares the capabilities of the big three Database as a Service (DBaaS) offerings, Microsoft’s Cosmos DB, Google’s Cloud Spanner, and Amazon’s DynamoDB, to help you make the right choice for your application.

sqlmonitor How to fix SQL Server disk I/O bottlenecks (without a hammer)
In this new article, Simple-Talk editor Tony Davis explains step-by-step how to find and fix the root causes of disk I/O bottlenecks, including gathering data, avoiding knee-jerk fixes, and how monitoring tools can help. Read now.

SQL Saturday Nashville: I'm Speaking

SQLblog.com - The SQL Server blog spot on the web
SQL Saturday Nashville: I'm Speaking
Going home y'all. On January 13th, I will be speaking at the Nashville SQL Saturday. I moved from Nashville less than 1 year ago, and I always look forward to making a trip up (and not just for hot chicken at Big Shakes , though it does figure into it.) Tamera Clark and team always do a great job, and the list of speakers that I get to hear and hang out with is pretty awesome. My topic and abstract are: How to Implement a Hierarchy in SQL Server One of the most common structures you will come across...(read more)

Wednesday, January 3, 2018

Comic for 2018.01.03

RSSMix.com Mix ID 8239024
Comic for 2018.01.03
New Cyanide and Happiness Comic

Using Better Tools

SQLServerCentral » Latest topics
Using Better Tools
Comments posted to this topic are about the item [B]Using Better Tools[/B]

Extended Events captures query_hash/query_plan_hash to 0 in some queries

SQLServerCentral » Latest topics
Extended Events captures query_hash/query_plan_hash to 0 in some queries

Extended Events captures query_hash/query_plan_hash to 0 in dynamic query sometimes, anyone knows why? thanks!

XE:

The Case of the Shrinking CFO, err Database

SQLServerCentral.com Articles
The Case of the Shrinking CFO, err Database

Shrink SQL Server databases quickly and with virtually no contention.

sqlmonitor How to fix SQL Server disk I/O bottlenecks (without a hammer)
In this new article, Simple-Talk editor Tony Davis explains step-by-step how to find and fix the root causes of disk I/O bottlenecks, including gathering data, avoiding knee-jerk fixes, and how monitoring tools can help. Read now.

Comic for 2018.01.02

RSSMix.com Mix ID 8239024
Comic for 2018.01.02
New Cyanide and Happiness Comic

Tuesday, January 2, 2018

Is the old stuff worth learning?

SQLServerCentral » Latest topics
Is the old stuff worth learning?
Comments posted to this topic are about the item [B]Is the old stuff worth learning?[/B]

New Azure SQL Database Standard Tier Sizes

SQLServerCentral.com Articles
New Azure SQL Database Standard Tier Sizes

Tim Radney of SQLskills talks about the various Standard tiers available in Azure SQL Database – what they get you, and how much they cost.

sqlmonitor How to fix SQL Server disk I/O bottlenecks (without a hammer)
In this new article, Simple-Talk editor Tony Davis explains step-by-step how to find and fix the root causes of disk I/O bottlenecks, including gathering data, avoiding knee-jerk fixes, and how monitoring tools can help. Read now.

Monday, January 1, 2018

Simulating Bad Networks to Test SQL Server Replication

SQLblog.com - The SQL Server blog spot on the web
Simulating Bad Networks to Test SQL Server Replication
SQL Server Replication usually works just fine when testing in a development environment where there’s low latency and high bandwidth. Real world conditions aren’t always like that. I’ve published instructions on how to use the free WANem network emulator to simulate poor network conditions such as when SQL Server has to replicate over a satellite link. See my post at https://www.red-gate.com/simple-talk/uncategorized/simulating-bad-networks-test-sql-server-replication....(read more)

Comic for 2018.01.01

RSSMix.com Mix ID 8239024
Comic for 2018.01.01
New Cyanide and Happiness Comic

Different Ways to Find SQL Server Orphaned Users

SQLServerCentral.com Articles
Different Ways to Find SQL Server Orphaned Users

SQL Server orphaned users are a common thorny issue in auditing. In this post, Jeffrey Yao provides a few different ways of identifying orphaned users covering various scenarios.