• subscribe


Check back for future polls! Previous Polls



SQL Server 2012

 

SQL Server 2012's New Features

SQL Server 2012 promises to be an exciting release. Learn about some of its new features and enhancements, as well as system requirements, the upgrade process, and changes in the setup program.


Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Programming Tips

T-SQL & PowerShell Scripting

Editorial Announcement

Vote for Your Favorite Products in the SQL Mag Community Choice Awards!

The SQL Server Magazine Community Choice Awards let YOU decide what SQL Server products get chosen for acclaim and recognition. The nomination phase is finished, so now is the time to cast your final vote!

Click here to vote for your favorite SQL Server products!


T-SQL & PowerShell Scripting Articles

SQL Server 2012: How to Write T-SQL Windows Functions, Part 3

By Itzik Ben-Gan, 01/26/2012

Itzik wraps up his discussion of SQL Server 2012's window functions by focusing on optimization. He provides indexing guidelines for optimal performance, and he describes cases ...

Small Code Changes, Big SQL Server Performance Improvements

By Kalen Delaney, 01/19/2012

Learn how you can replace a scalar-valued user-defined functions (UDFs) call with actual code to greatly improve SQL Server performance.

Free Tool Review: Scripted PowerShell Automated Deployment Engine

By Kevin Kline, 01/13/2012

The Scripted PowerShell Automated Deployment Engine is a free, remote install and configuration tool for SQL Server that streamlines remote deployment and simplifies complex ...

Microsoft SQL Server 2012: How To Write T-SQL Window Functions, Part 2

By Itzik Ben-Gan, 12/13/2011

SQL Server 2012 enhances support for window aggregate functions. In part 2 of this series, Itzik discusses window offset functions and window distribution functions.

Microsoft SQL Server 2012: AlwaysOn Availability Groups Feature

By Michael Otey, 12/12/2011

New to SQL Server 2012, the AlwaysOn Availability Groups feature is the next evolution of database mirroring. Find out what AlwaysOn Availability Groups are, what you need to use ...


Changing a Column's Data Type

Microsoft's Patrick Conlan describes how to change a column's data type from numeric to float with the least impact on data availability....

Small Code Changes, Big SQL Server Performance Improvements

Learn how you can replace a scalar-valued user-defined functions (UDFs) call with actual code to greatly improve SQL Server performance....


Short Circuit

You can rewrite logical expressions to leverage the short circuit feature, which saves CPU cycles and prevents runtime errors....

Small Code Changes, Big SQL Server Performance Improvements

Learn how you can replace a scalar-valued user-defined functions (UDFs) call with actual code to greatly improve SQL Server performance....


Running PowerShell Scripts Is as Easy as 1-2-3

If you're unfamiliar with PowerShell's "secure by default" philosophy, running PowerShell scripts can be a hassle. But if you follow these three steps, you'll be running PowerShell scripts...

Excel Macro Creates INSERT Statements for Easy Data Migration

Here’s a solution that lets you migrate data from Excel to SQL Server without having to manually create INSERT statements or use SQL Server Management Studio’s (SSMS’s) Import Data feature....


More T-SQL & PowerShell Scripting Articles

Microsoft SQL Server 2012: AlwaysOn Availability Groups Feature

By Michael Otey, 12/12/2011

New to SQL Server 2012, the AlwaysOn Availability Groups feature is the next evolution of database mirroring. Find out what AlwaysOn Availability Groups are, what you need to use ...

4 Techniques to Improve the Readability of Your Dynamic T-SQL Code

By Maurice Pelchat, 12/12/2011

In the SQL Server community, most examples of dynamic T-SQL code are plagued with a severe readability problem. Find out the four techniques that you can use to solve this ...

How to Use Microsoft SQL Server 2012's Window Functions, Part 1

By Itzik Ben-Gan, 11/21/2011

SQL Server 2012 enhances support for window aggregate functions by introducing window order and frame clauses, support for offset functions, and support for window distribution ...

T-SQL String Manipulation Tips and Techniques, Part 2

By Itzik Ben-Gan, 10/26/2011

Itzik explains how to handle type conversions when you need to convert a character string value to another type, in both SQL Server 2008 and SQL Server Denali.

Review: SQL Source Control 2.2

By Michael K. Campbell, 10/21/2011

SQL Source Control takes all the pain and potential problems out of implementing version control in SQL Server.

SQL Server and PowerShell FAQs

By Michael Otey, 10/18/2011

Common problems DBAs face when using Windows PowerShell.

Don’t Fear Dynamic SQL

By Andrew Kelly, 10/18/2011

When done correctly, dynamic SQL can be used effectively. Make sure you know how to get the most out of it.


Featured Blogs

Puzzled By T-SQL Blog

Denali T-SQL at a Glance - New and Enhanced Functions

Itzik describes new T-SQL scalar functions in SQL Server Denali CTP 3....

Puzzled By T-SQL Blog

Semicolon

Not terminating T-SQL statements with a semicolon is on a deprecation path....

Puzzled By T-SQL Blog

Improved Support for Window Functions in SQL Server Denali CTP3

Itzik describes the enhanced support for window functions introduced in Microsoft SQL Server Denali...

T-SQL and PowerShell Scripting Blog

T-SQL 101 Series Isn't Just for Novices

Whether you're new to T-SQL or just want to brush up on the basics, you'll find the T-SQL 101...

T-SQL and PowerShell Scripting Blog

New Blog Aimed at "Second Generation" of PowerShell Users

If you currently use Windows PowerShell or you're thinking of doing so, you might want to check out...

T-SQL and PowerShell Scripting Blog

Expert Answers Commonly Asked Questions About PowerShell

Got a PowerShell question? New FAQs page might help you find the answer....

Beginning SQL Server: One Step at a Time Blog

What is the best value for the Fill Factor? - Index, Fill Factor and Performance – Part 2

Pinal Dave explains the optimal value of the fill factor with detailed explanation....

Puzzled By T-SQL Blog

Semicolon

Not terminating T-SQL statements with a semicolon is on a deprecation path....

Beginning SQL Server: One Step at a Time Blog

What is Fill factor? - Index, Fill Factor and Performance - Part 1

In this part 1 of 2 part series about Fill Factor Pinal Dave discussed what is fill factor and how...

advertisement

  • SP1?
    I know there is a SP1 for SQL 2008 R2 available....and there is a "feature pack" as well... ...
  • SQL database mirroring
    I have SQL Server 2008 R2 Enterprise 64bit on Windows 2008 R2 Enterprise 64bit.  Each SQL Server has...
  • DTS Packages on Windows 7
    When trying to open a DTS package using SQL Server Management Studio 2005 on Windows 7 (64-bit) get ...
  • Report Builder object list
    Good morning Happy New Year to everyone In report builder 3.0 is there a way to restrict users from ...

Featured Event

More Events


T-SQL 101: A Quick-Start Guide

T-SQL 101: A Quick-Start Guide

T-SQL is the query language used by SQL Server and other database products, so knowing how to write T-SQL queries is an important skill for anyone who works with SQL Server databases. The 10 lessons in the T-SQL 101 series can help you learn the basics, such as how to write queries that retrieve, add, update, and delete records in tables and how to group and aggregate data that you retrieved with queries so that you can produce informative reports.

 
T-SQL 101 eBook