Sign in
Sam Lester - SQL Server
Translate This Page
Translate this page
Powered by
Microsoft® Translator
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
NULL Values
Overlapping Ranges
Sample Databases
Scripting
Sparse Columns
SQL Azure
SQL Database
SQL Server
SQL Server 2000
SQL Server 2005
SQL Server 2008
SQL Server 2008 R2
SQL Server 2012
sql_variant
string concatenation
String Parsing
Testing
TSQL
TSQL - Solve it YOUR Way
Visual Studio 2010
Windows Azure SQL Database
Browse by Tags
MSDN Blogs
>
Sam Lester - SQL Server
>
All Tags
>
microsoft sql server
Tagged Content List
Blog Post:
Bulk Database Migration from On-Premise SQL Server to SQL Azure - Step 1: Bulk .bacpac Export
Samuel Lester - MSFT
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 through the SSMS export Data-Tier Application...
on
8 Dec 2012
Blog Post:
Creating Complex Test Databases - Generating One Table for each of the 2,397 supported Collations
Samuel Lester - MSFT
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 a single column with the various column level collations...
on
2 Dec 2012
Blog Post:
TSQL - Solve it YOUR Way - Finding a Person's Current Age Based on Birth Date
Samuel Lester - MSFT
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 discovered with the proposals, the interesting nature...
on
30 Nov 2012
Blog Post:
TSQL - Solve it YOUR Way - Parsing Tips and Tricks - Returning Digits after the Decimal Point
Samuel Lester - MSFT
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 was recently posted in the MSDN forums asking how...
on
23 Oct 2012
Blog Post:
TSQL - Solve it YOUR Way - Finding the Longest Repeated Substring
Samuel Lester - MSFT
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 from three of the more helpful and creative...
on
10 Oct 2012
Blog Post:
TSQL - Solve it YOUR Way - Finding the percentage of NULL values for each column in a table
Samuel Lester - MSFT
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 TSQL MSDN forums, Jens Suessmeyer, Naomi Nosonovsky...
on
22 Sep 2012
Blog Post:
TSQL - Solve it YOUR Way - Finding the MAX Value from Multiple Columns
Samuel Lester - MSFT
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 in the TSQL MSDN forums, Jingyang Li, Steven Wang...
on
10 Sep 2012
Blog Post:
TSQL - Solve it YOUR Way - Gaps and Islands... With a Twist!
Samuel Lester - MSFT
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 in the TSQL MSDN forums, Steven Wang, Alejandro...
on
4 Sep 2012
Blog Post:
TSQL - Solve it YOUR Way - Text to Speech
Samuel Lester - MSFT
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 contributors in the forums, Tom Cooper, Naomi Nosonovsky...
on
28 Aug 2012
Blog Post:
TSQL - Pick Your Path, Choose Your Destiny, Solve it YOUR Way!
Samuel Lester - MSFT
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 and understanding of SQL Server. Inevitably,...
on
25 Aug 2012
Blog Post:
Finding the Correct Version of the AdventureWorks SQL Server Sample Database
Samuel Lester - MSFT
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 has become a vital aspect of learning new features...
on
23 Aug 2012
Blog Post:
Creating Complex Test Databases - Using Excel to convert a raw list of text into viable T-SQL syntax
Samuel Lester - MSFT
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 to highlight one technique I use fairly often with...
on
12 Aug 2012
Blog Post:
Creating Complex Test Databases - Creating a Table with more than 1,024 Columns
Samuel Lester - MSFT
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 SQL Server?" From a testing perspective, one of...
on
8 Aug 2012
Blog Post:
Creating Complex Test Databases - Request for Ideas
Samuel Lester - MSFT
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 Rows Creating Complex Test Databases - Generating...
on
7 Aug 2012
Blog Post:
Creating Complex Test Databases - Creating a Table with all Supported SQL Server Data Types
Samuel Lester - MSFT
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 SQL Server. Goal: Create a table that contains...
on
6 Aug 2012
Blog Post:
Creating Complex Test Databases - Creating a Database with 1 Billion Random Rows
Samuel Lester - MSFT
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 ROWS. The database should contain 1,000 tables with...
on
4 Aug 2012
Blog Post:
Creating Complex Test Databases - Intro
Samuel Lester - MSFT
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 they run the features against their databases. How...
on
2 Aug 2012
Page 1 of 1 (17 items)