Try/catch feature

  • Hi,

    Can anyone tell me how to use try/catch? I mean , a short example, i keep on receiving errors, it is clear I am not uusing the correct synthax.

    Thanks,

    daniela


    Daniela

  • BEGIN TRY

    { sql_statement | statement_block }

    END TRY

    BEGIN CATCH

    { sql_statement | statement_block }

    END CATCH

    Not sure how else to put it. What errors are you getting?

  • Thanks, it helped a lot.Ididn't wrote correctly the syntax.It is ok now.

    Thank you,


    Daniela

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply