Quantcast
Channel: SQL Server
Browsing all 3819 articles
Browse latest View live

Blog Post: What is RESULT SETS?

I was reading some code the other day and it included the statement RESULT SETS . I’d never seen it before so it seemed worth a quick look. I’ll warn you in advance this is somewhat of a BOL blog post....

View Article


Blog Post: Change Availability Group Endpoint IP

I had someone email me and ask how they could change the IP address on their Availability Group Endpoint.  It’s no surprise that IPs need to be changed from time to time due to certain circumstances,...

View Article


Blog Post: PowerShell- Monitoring Multiple Services On Multiple Servers Using...

The requirement is to check only those services where startup mode set to Auto and services that stopped. In my previous post  have used Get-Service cmdlet which do not bind any such information hence...

View Article

Blog Post: Temporary Post Used For Theme Detection...

This is a temporary post that was not deleted. Please delete this manually. (c6d728fb-93d8-4ec0-a66c-6dd5e7281550 – 3bfe001a-32de-4114-a6b4-4005b770f6d7)

View Article

Blog Post: #0370 – SQL Server – Myths – CREATE DATABASE FOR...

In the past, I have written about attaching data files to a SQL Server instance when log files are missing by the use of the FOR ATTACH_REBUILD_LOG clause of the CREATE DATABASE statement. Recently, I...

View Article


Blog Post: SSRS: Sorting in Particular Order in a Report

This week I had the need to order values in a matrix in SSRS in a particular order. The names need to be ordered in alphabetical order, except for one name that always needs to come first. I’ll show...

View Article

Blog Post: To the page and back again

To the page It’s not one of those things you have to do frequently but every now and again you need to know what page a particular row is on. It’s not terribly difficult. There is a virtual column...

View Article

Blog Post: OPENQUERY - Linked Server error "Deferred prepare could not be...

If you're using OPENQUERY and get this error: OLE DB provider "SQLNCLI10" for linked server "MYREMOTESERVER" returned message "Deferred prepare could not be completed.". Msg 916, Level 14, State 1,...

View Article


Blog Post: Announcing Feed Monsters…

Did you use to use Yahoo! Pipes to manipulate RSS Feeds? Personal I did and I REALLY missed it when it was turned off by Yahoo. So like any good IT person I sat down (eventually) and did something...

View Article


Blog Post: Shrinking Database Data Files

Normal DBAs will sum up shrinking a database data file in one word: NO! I’ll talk to you about this subject because I’m not normal. Still, my goal is that you’ll go from “why can’t I shrink my files”...

View Article

Blog Post: New SQL Blogging Challenge

I recently came across Tim Ford’s ( B | T ) challenge to the technical blogging community. The challenge is to write one introductory level blog per month for the community. A simple statement with a...

View Article

Blog Post: Change Availability Group Endpoint Port

Let’s say you have a port conflict and need to change the port on your Availability Group endpoint.  How can we accomplish this? The first step is to change the port on the endpoint itself.  Note that...

View Article

Blog Post: The Table.Schema() Function In Power BI/M

Yet another new M function for you this week: the Table.Schema() function, which returns information about the columns in a table. There’s some fairly detailed documentation about what it returns here...

View Article


Blog Post: SQL Server Community Activities under Surat User Group

I am very pleased to announce that I will be speaking about SQL Server Storage Structure, Level 100 session on 23rd Jan 2016 at 5 PM. Well, this will be the first appearance as a speaker after 2012,...

View Article

Blog Post: Cursor Statistics Are Missing in dm_exec_query_stats

The dmv dm_exec_query_stats doesn’t track stats for OPEN CURSOR statements. This is a problem because the OPEN statement is the one that “runs” your query and if you rely on these stats to monitor...

View Article


Blog Post: Start SQL Server without tempdb

tl;dr; Re-start the instance in safe mode (-f startup parameter) and move tempdb. Then re-start without the parameter. While at the 2015 Summit I walked into the last few minutes of Russ Thomas’s ( b /...

View Article

Blog Post: HA/DR for Azure SQL Database

Azure SQL Database is a relational database-as-a-service in the cloud.  It uses a special version of Microsoft SQL Server as its backend that is nearly identical to SQL Server (see Azure SQL Database...

View Article


Blog Post: Schedule Posted for SQL Saturday Chicago!

We’re proud to announce our lineup of speakers and sessions for SQL Saturday Chicago , taking place on Saturday, March 5, 2016! Building a schedule for an event like this is never easy, especially...

View Article

Blog Post: I’m Going to be TECHUnplugged in Austin

…and you should join me.  On 2 February I’ll be speaking at TECHUnplugged Austin, Texas.  This event, which has free registration , focuses on how technology innovation is changing business and IT....

View Article

Blog Post: SSIS: An Item With The Same Key Has Already Been Added

Problem Recently I was working on a new project and was trying to deploy my SSIS project with several packages to the catalog for the first time. I received the error when trying to build the project:...

View Article
Browsing all 3819 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>