Advertisement

Elementary Programming

  • Jason Brimhall
  • David Dye
  • Jonathan Gennick
  • Andy Roberts
  • Wayne Sheffield
Chapter

Abstract

In this chapter, you’ll find recipes showing several of the basic programming constructs available in T-SQL. The chapter is not a complete tutorial to the language. You’ll need to read other books for that. A good tutorial, if you need one that begins with first-principles, is Beginning T-SQL 2012 by Scott Shaw and Kathi Kellenberger (Apress, 2012). What you will find in this chapter, though, are fast examples of commonly used constructs such as IF and CASE statements, WHILE loops, and T-SQL cursors.

Keywords

Search String Boolean Expression Table Variable Case Expression Code Path 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Jason Brimhall 2012

Authors and Affiliations

  • Jason Brimhall
    • 1
  • David Dye
    • 2
  • Jonathan Gennick
    • 3
  • Andy Roberts
    • 4
  • Wayne Sheffield
    • 5
  1. 1.UTUSA
  2. 2.FLUSA
  3. 3.MIUnited States
  4. 4.MAUSA
  5. 5.VAUSA

Personalised recommendations