Quantcast
Channel: SQL Server – cjsommer.com
Browsing all 24 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

SQL Server Policy Based Management by Example

What steps do you go through to validate SQL Server configurations after a server build? Even a single server can take some time and is also prone to human error. Have you ever needed to validate a...

View Article



Image may be NSFW.
Clik here to view.

T-SQL Tuesday #68: Just Say No to Defaults

Using PowerShell and SMO to set MinServerMemory and MaxServerMemory Programatically Here is a link to the official #tsql2sday invitation from Andy Yun’s Blog. This month’s subject is “Just Say No to...

View Article

Image may be NSFW.
Clik here to view.

Present at SQL Saturday #386 – Achievement Unlocked!

SQL Saturday #386 (Albany, NY) – My first SQL Saturday Session So that picture to the right is me out front of the SUNY Albany campus around 6:45 AM. It was a nice cool morning and I decided to start...

View Article

Image may be NSFW.
Clik here to view.

TSQL2SDAY #70: Strategies for managing an enterprise

Thanks to MidnightDBA (b/t) for hosting this month’s #tsql2sday. Strategies for managing an enterprise. What do you think of when you hear the word enterprise? I used to think mainframes and big iron....

View Article

Image may be NSFW.
Clik here to view.

Pratical Use of a SQL Server Database Snapshot

I was doing a database code deployment the other night and the first step in the release plan was “Take a full database backup in case we have to roll back the deployment”. The database in question was...

View Article


Image may be NSFW.
Clik here to view.

Do you write ugly T-SQL?

Are your scripts littered with commented blocks of T-SQL code?select fname,lname from usertable where id=1 --and lname like 'smith%' /* -- Who knows why this block is commented out select fname,lname...

View Article

Image may be NSFW.
Clik here to view.

Running Parameterized Queries against SQL Server using PowerShell

For many years I didn’t really think about the implications of how I was retrieving data from my SQL Servers in PowerShell. I was just happy that I was able to retrieve the data! As I learned more...

View Article

Image may be NSFW.
Clik here to view.

Using Extended Events to Detect Connection Pooling

What is connection pooling? Lets start with a definition from MSDN. Connecting to a data source can be time consuming. To minimize the cost of opening connections, ADO.NET uses an optimization...

View Article


Image may be NSFW.
Clik here to view.

T-SQL Tuesday #73 – Naughty or Nice?

Thank you to SQLBalls ( b | t ) for hosting this month’s #tsql2sday. As you work with SQL Server look around you. Is your environment Naughty or Nice? If it is Naughty what’s wrong with it? What would...

View Article


Image may be NSFW.
Clik here to view.

Slow Running Query? Where do I Begin?

Maybe you’re new to SQL Server or maybe you’re just expanding into performance tuning a little more. Query tuning can be a very daunting task and sometimes it’s hard to decide where to look first. In...

View Article

Image may be NSFW.
Clik here to view.

Identity Column Increment Value (EVEN/ODD)

As always I’m sitting at my desk, minding my own business, when an email comes in from a developer. “Hey DBA’s, I have a thought about a really creative solution to this really hard problem. I have...

View Article

Image may be NSFW.
Clik here to view.

Announcing SQL Server on Linux

Yes, you read that right. SQL Server will be ported to Linux. Here’s the Blog post from Scott Guthrie. http://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/ Today I’m excited to...

View Article

Image may be NSFW.
Clik here to view.

Speaking at SQL Saturday #487 in Ottawa on April 16, 2016

If you are a SQL Server professional and are interested in spending a day with a bunch of other like-minded individuals, SQL Saturday is for you. It’s a day chock full of SQL Server related...

View Article


Image may be NSFW.
Clik here to view.

Use PowerShell to script existing Availability Group creation scripts!

Scripts that write scripts! One of my favorites! So last night I was up working on an issue with an Availability Group. For whatever reason the cluster resource for the AG would not come online....

View Article

Image may be NSFW.
Clik here to view.

Speaking at SQL Saturday #526 in Rochester on May 14, 2016

If you are a SQL Server professional and are interested in spending a day with a bunch of other like-minded individuals, SQL Saturday is for you. It’s a day chock full of SQL Server related...

View Article


Image may be NSFW.
Clik here to view.

Painting with PowerShell: SQL Server Administration

This blog post is just a quick follow from my presentation last week for the SQL PASS PowerShell Virtual Chapter. Here is a link to the YouTube Video of the presentation. Check at the bottom of this...

View Article

Image may be NSFW.
Clik here to view.

Comparing databases using SSDT

Another Twitter-born blog post! I love getting new ideas from the community. Real world ideas for solving real world problems! The original question was “Does SQL Compare or others prods allow me to...

View Article


Image may be NSFW.
Clik here to view.

Speaking at SQL Saturday #513 in Albany, NY on July 30th – PowerShell and SQL...

If you are a SQL Server professional and are interested in spending a day with a bunch of other like-minded individuals, SQL Saturday is for you. It’s a day chock full of SQL Server related...

View Article

Image may be NSFW.
Clik here to view.

T-SQL Tuesday #83: How are we still dealing with the same problems?

#TSQL2SDAY is a monthly blog party hosted by a different blogger each month. This blog party was started by Adam Machanic (blog|twitter). You can take part by posting your own participating post that...

View Article

Image may be NSFW.
Clik here to view.

Who owns your availability groups?

Question: Who owns your availability groups? The person who creates the AG becomes the owner by default. Did you know that you can (and probably should) change that the same as many of the other SQL...

View Article
Browsing all 24 articles
Browse latest View live




Latest Images