Posts Tagged ‘t-sql’

SQL Outer Joins Joes2Pros (Using a Left,Right, and full Join)

September 14, 2009 - 9:12 pm 1 Comment

From chapter 3.2 of T-SQL 2008 Joes 2 Pros (www.joes2pros.com). Learn how to find matches and exceptions with outer joins.

Duration : 0:4:54

(more…)

Joe Celko recalls an old-school pre CASE statement trick

September 12, 2009 - 12:16 am No Comments

Adam Machanic interviews Joe Celko at the 2006 PASS Summit where Joe recalls an old trick that was used before the CASE statement was added to the SQL language.

Duration : 0:0:48

(more…)

SQL Query Wildcard Criteria (Using wildcards for pattern matching)

September 9, 2009 - 1:30 am No Comments

From chapter 2.2 of T-SQL 2008 Joes 2 Pros (www.joes2pros.com). How to use range and pattern matches in a basic single table query in SQL server 2005 and 2008. Full Video is a free download at www.Joes2Pros.com along with a PDF book sample.

Duration : 0:8:58

(more…)

Code Sins: Formatting

August 31, 2009 - 6:16 am No Comments

I declare Code Sin #1: poorly formatted code. Look, the video’s uner 90 seconds long…watch it. Your successors, your coworkers — your CHILDREN, will thank you.

Duration : 0:1:26

(more…)

Introduction to SQL (Beginning Database Training) “Geek Speak” Joes2Pros ch1.2

August 25, 2009 - 11:17 am 1 Comment

From chapter 1 of T-SQL 2008 Joes 2 Pros (www.joes2pros.com). Learn the basic terms or Geek Speak used by SQL Server database professionals.

Duration : 0:4:46

(more…)

TSQL: Select Statement Evaluation Order

August 22, 2009 - 5:14 am No Comments

How does SQL see a SELECT statement? Which part gets evaluated first? Why should I care? Find out here, find out fast!

1 - From
2 - Where
3 - Group by
4 - Having
5 - Select
6 - Order by

Duration : 0:2:5

(more…)

Introduction to SQL 2008 (Beginning Query lesson on Single Table Queries)

August 16, 2009 - 4:18 am 6 Comments

www.Joes2Pros.com How to use exact criteria matches in a basic single table query in SQL server 2005 and 2008.

Duration : 0:7:59

(more…)

SQL Joins (Lab3.1 Using an Inner Join in your query.)

August 6, 2009 - 11:14 pm 2 Comments

www.Joes2Pros.com… Learn how to use basic inner joins to see two tables in one results set..

Duration : 0:8:37

(more…)

SQL Server 2008 MERGE

July 31, 2009 - 10:11 pm 1 Comment

Common data scenarios require developers to write and maintain logic to determine whether to insert, update or delete information (sometimes called upsert) such as:
IF FOUND
THEN UPDATE
ELSE
INSERT
SQL Server 2008 provides the new MERGE statement within the SQL language to enable developers to provide this functionality with a single statement. This allows for code reduction and easier maintainability.

Duration : 0:3:28

(more…)