Results 1 to 3 of 3

Thread: Error handling

  1. #1
    Join Date
    Feb 2004
    Location
    Alpine Califormia
    Posts
    1,789

    Unanswered: Error handling

    I have this stored procedure that I need to add error handling to. How would I do that??

    Code:
    REATE  PROCEDURE November2000
    AS
    SELECT TM#, LASTNAME, FIRSTNAME, FINALSUITDONE
    FROM dbo.EmployeeGamingLicense
    WHERE (FINALSUITDONE BETWEEN CONVERT(DATETIME, 
        '2000-11-01 00:00:00', 102) AND CONVERT(DATETIME, 
        '2000-11-30 00:00:00', 102))
    
    
    GO

  2. #2
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  3. #3
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,799
    Provided Answers: 11
    What sorts of errors are you trying to catch? Traditionally, this sort of thing has been left up to the client application.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •