This video is from our "SQL Server Programming (SQL Server 2005/2000): Transact SQL" course
Visit the course home page for full details (such as the videos in the course, free videos for the course, and more)

Video: 05 - Working With Integer Data

  • ·Skill level: 300 (Intermediate)
  • ·Run Time: 10:05
  • ·Instructor: Scott Whigham

Description:

What is the result of running the SQL statement 'SELECT 23/22'? If you said '1', you are correct! does that surprise you? It shouldn't and, if it does, you really should watch this video!

Download and watch this video

NOTE: You will need the TSCC codec installed to view video

Scott Whigham

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's full bio can be found here)

1 Auto-Numbering Rows with IDENTITY Columns - How Identity Columns Work
2 Collations, Character Sets, Code Pages, and Sort Orders - How String Data Works in SQL Server 2000
3 How to Return Identity Value for a Just-Inserted Row
4 Naming Conventions for SQL Server Tables Constraints and Indexes (SQL Server 2000)
5 Should I use a Check Constraint or a Foreign Key - Best Practices and Design (SQL Server 2000)
6 Using Defaults to Avoid Using NULLs in Your Database (SQL Server 2000)
7 Why You Use SCOPE_IDENTITY() Instead of @@IDENTITY
8 Working with User Defined Data Types in the Enterprise Manager (SQL Server 2000)
9 What Are Computed Columns (a.k.a. Derived Fields)? When Should I Use Them?
10 Part 1 - Identity Columns - When Should I Use an Identity Column?
11 Part 2 - Identity Columns - When Should I Use an Identity Column?
12 01 - An Introduction to Datatype Conversion
13 02 - Implicit Datatype Conversion and How SQL Server Converts Data in Expressions
14 03 - More on Datatype Conversions with ISNUMERIC and ISDATE
15 04 - Working With Decimal-Based Datatypes: MONEY, DECIMAL, FLOAT, et al
05 - Working With Integer Data
17 06 - Explicit Datatype Conversion Using CAST and CONVERT
18 07 - More on Using CAST and CONVERT to Do Datatype Conversion
19 08 - Understanding Datatype Precedence in Implict Conversions
20 09 - Best Practices, Writing CASE Statements, and Final Thoughts
21 10 - Final, Final Thoughts

NOTE: This video is part of our SQL Server Programming (SQL Server 2005/2000): Transact SQL course.
This video is from Chapter 3: Table Design - Datatypes, Constraints, IDENTITY, Normalization, and More

Browse this course's videos now