Member of the
LearnItFirst.com Video Training Network
Related Video Training Sites:
·
SQL Server DBA Tutorials
·
Integration Services Training
Create a free account
·
Sign In
Transact SQL Video Tutorial
Home
Subscriber Videos
Transact-SQL Programming and Query Writing Tutorial: DATETIME and SMALLDATETIME - Working with Dates and Times SQL Server
Chapter:
Commonly Used T-SQL Constructs: Datatypes, Type Conversion, Variables, System Functions and Views and more
Skill Level:
200 (Beginner - Intermediate)
Duration:
14:40
Size:
10.5MB
Versions/Editions Covered:
SQL Server 2005
,
SQL Server 2008
,
SQL Server 2000
Added/Updated:
Jan 18, 2007
One of the most confusing datatypes to work with in SQL Server, for new people, seems to be the DATETIME/SMALLDATETIME datatypes. Questions abound and, even worse, incorrectly written queries abound using these data types. This video will teach you the fundamentals of working with date and time data in SQL Server so that you can avoid these common query writing pitfalls.
Highlights from this video:
Differences between DATETIME and SMALLDATETIME
Implicit date rounding and Rounding dates
Using DATETIME data in the BETWEEN clause
Writing WHERE clauses and <, >, <= and >= with dates
Default values for time and dates
Should dates use single quotes, double quotes or no quotes (or does it matter)?
and much more
Tags for this video:
date time
datetime
day
milliseconds
month
rounding
seconds
smalldatetime
truncate
truncating
truncation
year
<
Back
People Who Downloaded this Video Also Downloaded:
Title
Skill
Download
Subqueries, Nested Queries, and Derived Tables - An Introduction to Advanced SQL...
300
Download
Constraint Keys, Index Keys, Composite Keys, Natural keys, and Surrogate Keys
200
Download
When to Use HAVING Instead of WHERE - Aggregates, GROUP BY, and the HAVING Claus...
300
Download
Query Analyzer - Beyond the Basics (SQL Server 2000)
200
Download
JOINs - An Overview of the Five Types of JOINs (Cross, Outer, and Inner)
200
Download
About the Instructor:
Scott Whigham is the founder of LearnItFirst.com, one of the web's most extensive video training libraries focusing on technical training. Scott is also an experienced consultant, trainer, and author with more than a decade of hands-on experience working with SQL Server databases, writing and debugging applications using Visual Studio, and performance tuning. Scott designed the architecture (websites, class libraries, and database) for the LearnItFirst.com websites and, most re...
(Scott Whigham's full bio can be found on the
About the Author
page)
About Us
·
Corporate Philosophy
·
Become an Author
·
Contact Us
Video Playback
·
System Requirements
·
TSCC Codec
(to play videos)
·
Troubleshooting/Problems
Subscriptions
·
Pricing/Buy Now
·
Testimonials
·
Privacy
·
Terms of Service
More Video Training
·
SQL Server DBA Tutorials
·
Integration Services Training
·
All of Our Websites
More
·
FAQs
·
Search for videos
·
Site Map
© Copyright 2004-2008 LearnItFirst.com LLC. All rights reserved. All trademarks remain the property of their respective owners. This site is not affiliated in any way with the Microsoft Corporation.
1/6/2009 9:18:31 PM