Quantcast
Channel: Steve Stedman » SQL 2012
Browsing latest articles
Browse All 20 View Live

Image may be NSFW.
Clik here to view.

SQL Server 2012 – SEQUENCE

SQL Server 2012 introduces the SEQUENCE object.  Looking at the syntax it is very similar to how Oracle has implemented SEQUENCEs for many years.  I believe that the SEQUENCE was introduced to aid in...

View Article


Image may be NSFW.
Clik here to view.

SEQUENCE Sample Code from SQL Saturday in Olympia WA

The sample code below is a quick run down of the new sequence object introduced in SQL Server 2012. USE [tsql2012]; -- SEQUENCE -- using default where does this one start? --DROP SEQUENCE...

View Article


Image may be NSFW.
Clik here to view.

Exploring the TSQL Enhancements in SQL Server 2012 – Slides and Sample Code

I just finished the Exploring the TSQL Enhancements in SQL Server 2012 presentation at SQL Saturday 166 in Olympia Washington. Thanks everyone who attended, I hope that you learned something useful....

View Article

Image may be NSFW.
Clik here to view.

How BIG is too BIG for a BIGINT IDENTITY?

After writing a recent blog post on Are you wasting half the capacity of IDENTITY, I started thinking about how much is too big for an BIGINT IDENTITY. If you don’t know about, you can get Are you...

View Article

Image may be NSFW.
Clik here to view.

Using a CTE to Split a String Into Rows with Line Numbers

Last year while working on my CTE presentation for a SQL Saturday I added a blog post called “Using a CTE to Split a String Into Rows“, and since that posting I have used it many times.   But as things...

View Article


Image may be NSFW.
Clik here to view.

3 Steps to Work More Efficiently in SSMS.

Throughout my career I have worked with different programming and database tools.  Thinking back the tools that I enjoyed using were the tools that were easy to get the job done, and the tools that I...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2012 IIF Statement

SQL Server 2012 introduces the IIF statement. It is very similar to the IIF statement in MS Access. I have extracted the IIF part of my presentation on Whats new in SQL Server 2012, and turned it into...

View Article

Image may be NSFW.
Clik here to view.

Happy Birthday SQL Server 2012

It has been a year since SQL Server 2012 released. There were some fun posts on Twitter about the SQL Server 2012 birthday or anniversary. For instance: declare @greetings varchar(100) SET @greetings=...

View Article


Image may be NSFW.
Clik here to view.

What twitter hash tags do you follow for SQL Server?

# The key to twitter is to follow the right hash tags.  What hash tags do you follow related to Microsoft SQL Server? Here are a few of the twitter hash tags that I follow: #SQLServer The generic SQL...

View Article


Image may be NSFW.
Clik here to view.

T-SQL 2012 Procedure sp_describe_first_result_set

SQL Server 2012 adds a new stored procedure called sp_describe_first_result_set.  This new procedure returns metadata for the result set returned from a query. The metadata is information about what...

View Article

Image may be NSFW.
Clik here to view.

Select Favorite SQL Server 2012 Articles

The following articles are a collection of my favorite SQL Server related posts over the last 6 months. 3 Steps to Work More Efficiently in SSMS. Posted 2/17/2013 Recently the 3 Steps to Work More...

View Article

Image may be NSFW.
Clik here to view.

Rows and Range, Preceding and Following

SQL Server 2012 adds many new features to Transact SQL (T-SQL).  One of my favorites is the Rows/Range enhancements to the over clause. These enhancements are often times referred to as the windowing...

View Article

Image may be NSFW.
Clik here to view.

DATEFROMPARTS function in TSQL

SQL Server 2012 adds a new function called DateFromParts.  This new function simplifies the creating of a DATE type in TSQL over the older ways of doing it. The information here has been extracted from...

View Article


Image may be NSFW.
Clik here to view.

T-SQL: A Simple Example Using a Cursor

For more information on cursors, also take a look at the free SQL query training provided by Steve Stedman. In SQL Server the cursor is a tool that is used to iterate over a result set, or to loop...

View Article

Image may be NSFW.
Clik here to view.

Allowing Inbound Connections to SQL Server on Windows Server 2012

A three and a half minute video showing how to configure SQL Server 2012 on Windows Server 2012 to allow for inbound connections on the default port of 1433. Steps: Configure SQL Server to use TCP...

View Article


Image may be NSFW.
Clik here to view.

End of June Summary

June was an exciting month for me with Beta 6 of the Database Health Reports releasing at the beginning of the month, and this being CTE Month at SteveStedman.com to mark the release of my Common Table...

View Article

Image may be NSFW.
Clik here to view.

Introducing the Joes2Pros Academy

The new Joes2Pros Academy has just launched. The Academy provides an interactive classroom experience that can be accessed on your own time as you need it. This site has high quality content, quizzes...

View Article


Image may be NSFW.
Clik here to view.

SSMS Results In A Separate Tab

At the end of my SQL Saturday presentation today on Advanced Common Table Expressions, which is about the 12th time I have presented on CTEs, I was asked a question that I have been asked many times...

View Article

Image may be NSFW.
Clik here to view.

Free SQL Server Training

I have been asked to help a development team with training so that they can all take and pass the SQL Queries 70-461 Microsoft certification. After looking it over and understanding all the topics...

View Article

Image may be NSFW.
Clik here to view.

TSQL Aggregation Strategies and Aggregating Data

This weeks training as part of the Free SQL Training for the 70-461 certification course is now available on YouTube. This week we covered Aggregating Data and Aggregation strategies.  For more...

View Article
Browsing latest articles
Browse All 20 View Live