Sign in
Sam Lester - SQL Server
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Tags
AdventureWorks
Bing Translator
C#
Collations
Column Set
Data Generation
Data Types
Database
Excel
Gaps and Islands
Longest Repeated Substring
Microsoft Excel
Microsoft SQL Server
Scripting
SQL Database
SQL Server
SQL Server 2000
SQL Server 2005
SQL Server 2008
SQL Server 2008 R2
SQL Server 2012
sql_variant
Testing
TSQL
TSQL - Solve it YOUR Way
Archive
Archives
May 2013
(1)
December 2012
(2)
November 2012
(1)
October 2012
(2)
September 2012
(3)
August 2012
(9)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Sam Lester - SQL Server
TSQL - Solve it YOUR Way - Text to Speech
Posted
8 months ago
by
Samuel Lester - MSFT
6
Comments
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 supplied by three of the most active and helpful...
Sam Lester - SQL Server
TSQL - Solve it YOUR Way - Finding the MAX Value from Multiple Columns
Posted
8 months ago
by
Samuel Lester - MSFT
6
Comments
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 three of the more helpful and creative contributors...
Sam Lester - SQL Server
TSQL - Solve it YOUR Way - Parsing Tips and Tricks - Returning Digits after the Decimal Point
Posted
6 months ago
by
Samuel Lester - MSFT
6
Comments
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 today's solutions will be very short. A question...
Sam Lester - SQL Server
TSQL - Solve it YOUR Way - Finding the percentage of NULL values for each column in a table
Posted
7 months ago
by
Samuel Lester - MSFT
5
Comments
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 more helpful and creative contributors in the...
Sam Lester - SQL Server
TSQL - Solve it YOUR Way - Finding the Longest Repeated Substring
Posted
7 months ago
by
Samuel Lester - MSFT
4
Comments
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 string, followed by different solutions and explanations...
Sam Lester - SQL Server
Creating Complex Test Databases - Intro
Posted
9 months ago
by
Samuel Lester - MSFT
4
Comments
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 discover some customers inevitably encounter bugs when...
Sam Lester - SQL Server
Creating Complex Test Databases - Using Excel to convert a raw list of text into viable T-SQL syntax
Posted
9 months ago
by
Samuel Lester - MSFT
3
Comments
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 interesting databases. In this article, I am going...
Sam Lester - SQL Server
TSQL - Pick Your Path, Choose Your Destiny, Solve it YOUR Way!
Posted
8 months ago
by
Samuel Lester - MSFT
3
Comments
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 challenges, with each answer I provide I expand my knowledge...
Sam Lester - SQL Server
Bulk Database Migration from On-Premise SQL Server to SQL Azure - Step 1: Bulk .bacpac Export
Posted
5 months ago
by
Samuel Lester - MSFT
2
Comments
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 very small number of databases, the easiest way is likely...
Sam Lester - SQL Server
Finding the Correct Version of the AdventureWorks SQL Server Sample Database
Posted
8 months ago
by
Samuel Lester - MSFT
2
Comments
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 samples leverage this sample database, AdventureWorks...
Sam Lester - SQL Server
TSQL - Solve it YOUR Way - Gaps and Islands... With a Twist!
Posted
8 months ago
by
Samuel Lester - MSFT
2
Comments
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 three of the more helpful and creative contributors...
Sam Lester - SQL Server
Creating Complex Test Databases - Request for Ideas
Posted
9 months ago
by
Samuel Lester - MSFT
1
Comments
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 Databases - Creating a Database with 1 Billion Random...
Sam Lester - SQL Server
TSQL - Solve it YOUR Way - Finding a Person's Current Age Based on Birth Date
Posted
5 months ago
by
Samuel Lester - MSFT
1
Comments
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. However, as solutions were proposed and flaws were...
Sam Lester - SQL Server
Creating Complex Test Databases - Generating One Table for each of the 2,397 supported Collations
Posted
5 months ago
by
Samuel Lester - MSFT
0
Comments
As a follow up to my series 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 each supported collation. Each table contains...
Sam Lester - SQL Server
Language Translation in SQL Server using Bing Translator APIs & SQL CLR
Posted
16 days ago
by
Samuel Lester - MSFT
0
Comments
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, German to French, Italian to Russian? The answer...
Sam Lester - SQL Server
Creating Complex Test Databases - Creating a Table with more than 1,024 Columns
Posted
9 months ago
by
Samuel Lester - MSFT
0
Comments
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 question is "What is the true column limit in...
Sam Lester - SQL Server
Creating Complex Test Databases - Creating a Database with 1 Billion Random Rows
Posted
9 months ago
by
Samuel Lester - MSFT
0
Comments
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 inserted. Goal: Create a database with ONE BILLION...
Sam Lester - SQL Server
Creating Complex Test Databases - Creating a Table with all Supported SQL Server Data Types
Posted
9 months ago
by
Samuel Lester - MSFT
0
Comments
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 nullable and non-nullable data types supported by...
Page 1 of 1 (18 items)