SQL Exceptions

  • Hi,

    I am able to capture sql exceptions using begin try... end try..

    But I am unable to do the same with the error like..''Invalid Column Name" etc..

    Please can any body suggest how to do this..

    Regards

    Ram..

    🙂

  • You can't.

    See this: Using TRY...CATCH in Transact-SQL

    Look for "Compile and Statement-level Recompile Errors".

    -- Gianluca Sartori

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

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