MS SQL Server
  Home arrow MS SQL Server arrow Completing the Introduction to Transact-SQ...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

Completing the Introduction to Transact-SQL
By: Barzan "Tony" Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 8
    2008-01-08

    Table of Contents:
  • Completing the Introduction to Transact-SQL
  • Error Handling
  • Playing with Cursors
  • The World of Functions

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    Iron Speed
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Completing the Introduction to Transact-SQL
    (Page 1 of 4 )

    In the first half of this series we learned the basics of Transact-SQL. In case you missed it, I strongly suggest you check it out before moving on with this segment. The programming concepts demonstrated there stand for a foundation on which we are going to build today. The first part of this series was also published here on ASP Free.

    Now that you're revisited the previous article and your memory is refreshed, let me tell you what we're going to learn in this final part of the series. First, the TRY...CATCH construct will be presented. We covered the RETURN in the first segment. In this segment, you will see that RAISERROR is quite similar since it is a crucial part of error handling, just like RETURN. You will find out when to use which one.

    Furthermore, as I promised, we are going to cover particular techniques for working with the cursors, and ultimately we will play around with functions. T-SQL sports a vast number of built-in functions, so that's all fine and dandy, but we also have the ability to create user-defined functions (UDFs). Once we get there, we will point out why user-defined functions shouldn't be confused with stored procedures.

    Moreover, all three types of UDFs that are possible with MS SQL Server are going to be explained and exemplified. These are scalar functions, inline table-valued functions, and multistatement table-valued functions.

    In short, you can anticipate the aforementioned throughout this part. That means we are prepared and ready to go. Enjoy the ride!

    More MS SQL Server Articles
    More By Barzan "Tony" Antal


       · This is the second part of my T-SQL series. Thanks for reading and don't forget to...
     

    MS SQL SERVER ARTICLES

    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services
    - Building a Multi-table Report with SQL 2005 ...
    - A Secure Way of Building Connection Strings
    - Transferring a Database Using the SSIS Desig...




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway