Creating Complex Test Databases - Intro
As a very brief intro, I have worked as a tester in SQL Server for the past 10+ years on many different features. Along the way, we develop and test features and release them to the public only to...
View ArticleCreating Complex Test Databases - Generating One Table for each of the 2,397...
As a follow up to my post on complex test databases, this article will cover one of the more interesting test databases that I recently created. Goal: Create a database that includes one table for...
View ArticleCreating Complex Test Databases - Creating a Database with 1 Billion Random Rows
As part of my series on creating databases with interesting characteristics for testing purposes, today we'll create a database containing a large number of tables, each with a large number of rows...
View ArticleCreating Complex Test Databases - Creating a Table with all Supported SQL...
As part of my series on creating databases with interesting characteristics for testing purposes, today we'll leverage the internal SQL Server system tables to create a table containing columns of each...
View ArticleCreating Complex Test Databases - Request for Ideas
Over the past week, I've written a few entries regarding complex databases with interesting characteristics for testing purposes. Creating Complex Test Databases - Intro Creating Complex Test...
View ArticleCreating Complex Test Databases - Creating a Table with more than 1,024 Columns
As part of my series on creating databases with interesting characteristics for testing purposes, today we'll cover a question that was asked in the SQL Server MSDN forums regarding column limits. The...
View ArticleCreating Complex Test Databases - Using Excel to convert a raw list of text...
As part of my series on creating databases with interesting characteristics for testing purposes, I have covered a few different engine constructs, test strategies, and scripting techniques to build...
View ArticleFinding the Correct Version of the AdventureWorks SQL Server Sample Database
The AdventureWorks database is a fictitious company database that has existed since SQL Server 2005 as a means to show new functionality in each new version released. Because the Books Online TSQL...
View ArticleTSQL - Pick Your Path, Choose Your Destiny, Solve it YOUR Way!
For many years, I have been an active contributor to the MSDN Forums, including one of my favorite forums, Transact-SQL. Besides the obvious benefit of helping customers solve their current SQL...
View ArticleTSQL - Solve it YOUR Way - Text to Speech
Introduction:As part of the blog series TSQL - Solve it YOUR Way, I will present a topic recently discussed in the Transact-SQL MSDN forum here, followed by three different solutions to this problem...
View ArticleTSQL - Solve it YOUR Way - Gaps and Islands... With a Twist!
Introduction:As part of the blog series TSQL - Solve it YOUR Way, today's topic is a variation of the popular T-SQL question titled "Gaps and Islands" followed by three different solutions presented by...
View ArticleTSQL - Solve it YOUR Way - Finding the MAX Value from Multiple Columns
Introduction:As part of the blog series TSQL - Solve it YOUR Way, today's topic will cover a question recently asked in the Transact-SQL MSDN Forums here, followed by four different solutions from...
View ArticleTSQL - Solve it YOUR Way - Finding the percentage of NULL values for each...
Introduction:As part of the blog series TSQL - Solve it YOUR Way, today's topic will cover a question asked in the Transact-SQL MSDN Forums here, followed by three different solutions from three of the...
View ArticleTSQL - Solve it YOUR Way - Finding the Longest Repeated Substring
Introduction:As part of the blog series TSQL - Solve it YOUR Way, today's topic will cover a common programming interview question where we are asked to find the longest repeated substring in a given...
View ArticleTSQL - Solve it YOUR Way - Parsing Tips and Tricks - Returning Digits after...
Introduction:As part of the blog series TSQL - Solve it YOUR Way, today we will tackle a numeric parsing question. While past topics include solutions that vary from 15-150 lines of TSQL code, all of...
View ArticleTSQL - Solve it YOUR Way - Finding an Employee's Current Age Based on Birth Date
Introduction:As part of the blog series TSQL - Solve it YOUR Way, today's topic will cover a question asked recently in the T-SQL MSDN forums where the solution, at first, seems extremely obvious....
View ArticleCreating Complex Test Databases - Generating One Table for each of the 2,397...
As a follow up to my post on complex test databases, this article will cover one of the more interesting test databases that I recently created. Goal: Create a database that includes one table for...
View ArticleBulk Database Migration from On-Premise SQL Server to SQL Azure - Step 1:...
I recently had a task to perform a bulk migration of hundreds of databases to Windows Azure SQL Database (formerly known as SQL Azure) from an instance of SQL Server 2012. If you need to migrate a...
View ArticleLanguage Translation in SQL Server using Bing Translator APIs & SQL CLR
Language Translation within SQL Server using Bing Translator public APIs and CLR Stored Procedures / Functions Does SQL Server have a built-in way to translate my text data from English to Spanish,...
View ArticleSQL Server 2012 Discovery Report - Determining what SQL Server Components are...
How can I determine which SQL Server features and versions are on my computer? This continues to be one of the more frequently asked questions on the MSDN Forums and is important for many reasons,...
View Article