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

Image may be NSFW.
Clik here to view.

You don’t need to be a sysadmin

Hey, I need sysadmin access to ServerA.Ok. Why do you need sysadmin?Well I need to be able to read and write to all of the tables on DatabaseA.No problem. I’m going to add you to the db_datareader and...

View Article


Image may be NSFW.
Clik here to view.

PASS Cloud Virtual Chapter – Call for Presenters

The cloud is calling to you. Or more specifically, Jody Roberts (b | @) and I (b | @) are looking to the community to find some presenters interested in presenting to the PASS community on building or...

View Article


Image may be NSFW.
Clik here to view.

Different ways to find Data, log and DB Size

Different ways to get the size of the data , log files and DatabasesUsing CountersQuerying sysaltfiles & sys.databasesQuerying sys.master_files  SELECT instance_name AS DatabaseName, [Data File(s)...

View Article

Image may be NSFW.
Clik here to view.

Monday Morning SQL Break – February 22, 2016

It’s Monday time for this week’s weekly blog and twitter round-up for last week. If you haven’t already, follow me on twitter (@StrateSQL). This is a good chance to catch up on data platform technology...

View Article

Image may be NSFW.
Clik here to view.

Changing the PASS NomCom Process

Recently, PASS Immediate Past President Tom LaRock posted on the PASS blog about changes to the process by which members of the PASS Nomination Committee (NomCom) are chosen.Previously, NomCom...

View Article


Image may be NSFW.
Clik here to view.

Using SELECT INTO with UNION Statements

On occassion, I need to take a number of different result sets and combine them into a single output, which I then want to store in a temporary table. I’ve done this while developing solutions for...

View Article

Image may be NSFW.
Clik here to view.

The Virginia Tour 2016

Long Time ComingWith less than a week before the Richmond SQLSaturday event, I am finally getting this post done – maybe.This is not just a one day event for me. No no! I will be presenting for three...

View Article

Image may be NSFW.
Clik here to view.

SQL Server on Linux Authentication

Yesterday Microsoft announced that they will now support SQL Server on Linux.  They are targeting mid-2017, but you can download a preview now.  I am on a technical list where I saw someone inquire...

View Article


Image may be NSFW.
Clik here to view.

How to Parameterize a Source Query in SSIS Using Attunity Connector for Oracle

The steps we are going to follow include the following: The Attunity connector for Oracle used inside of the SSIS data flow looks a little different than the typical OLE DB connector we most commonly...

View Article


Image may be NSFW.
Clik here to view.

A first look at SQL Server 2016–String_split

I’ve been developing T-SQL for about 20 years now and almost since day one there has been functionality that , IMO, has been missing.  That is grouped string concatenation (ie forming a delimited...

View Article

Image may be NSFW.
Clik here to view.

Moving the System Databases in SQL Server 2008R2

One of the more common tasks you will encounter in moving a system or user database from one physical location to another location. For example, Microsoft recommends that we place our backups, data...

View Article

Image may be NSFW.
Clik here to view.

Multiserver Queries

You can run queries against multiple servers at once, and it’s quite useful for a number of reasons.  I use it to check settings, verify backups and DBCC ran recently on unmonitored servers, make sure...

View Article

Image may be NSFW.
Clik here to view.

Pulling data from a non-clustered index

This is one of those things that I found very interesting but figured I’d probably never really use. Of course then I needed it recently and it came in quite handy.A while back Steve Stedman (b/t)...

View Article


Image may be NSFW.
Clik here to view.

Monday Morning SQL Break – March 14, 2016

It’s time for this week’s blog and twitter round-up for last week. If you haven’t already, follow me on twitter (@StrateSQL). This is a good chance to catch up on data platform technology and career...

View Article

Image may be NSFW.
Clik here to view.

How to: Download files with Internet Explorer 11

A lot of people are dealing with the progressive nature of Microsoft, where products are being either introduced or updated (on average) every three years. It is both a blessing and a pain in the butt...

View Article


Image may be NSFW.
Clik here to view.

Query the status of SQL Agent jobs

I’ve been involved in building a solution on top of SQL Server peer to peer replication (SQL 2014 SP1) and slowly building up a script library for general DBA tasks within that solution. One common...

View Article

Image may be NSFW.
Clik here to view.

Simple Methods to Recover MDF File Password

OverviewMS SQL Server is the relational database management system used to store information in form of tables, views, indexes, triggers, constraints and stored procedures. Master Database File (MDF)...

View Article


Image may be NSFW.
Clik here to view.

Everything has a cost

Too often we end up in a conflict while trying to explain how a minimally impacting function has no true business impact. If you are too detailed, no one wants to listen to you and you are wasting...

View Article

Image may be NSFW.
Clik here to view.

Creating a Domain Controller

The following is a short guide for promoting a Windows Server 2012 Machine to be a domain controller. This assumes that there is no existing forest or domain. My reason for doing this is to create a...

View Article

Image may be NSFW.
Clik here to view.

Query Active Directory from SQL Server

Have you ever had the need to query Active Directory right out of SQL Server using native TSQL?  There are 3 ways to accomplish this.  The first is CLR, but I won’t be covering that method.  The other...

View Article
Browsing all 1849 articles
Browse latest View live


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