Re: Error Handing
- From: "Hari Prasad" <hari_prasad_k@xxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 00:56:59 +0530
AFAIK, You cant do that.
Thanks
Hari
SQL Server MVP
"msnews.microsoft.com" <Noor> wrote in message
news:utkGW3TkFHA.3288@xxxxxxxxxxxxxxxxxxxxxxx
>I have created the stored procedure and I want to handle the error like
>
> Create Procedure MytablePro
> as
> select fld1, fld2 from mytable
> GO
>
>
> EXEC MytablePro
>
> if some one changed the table name at the back end then I have to give
> problem error but right now when procedure execute it gave me like this
> Server: Msg 208, Level 16, State 1, Procedure SPSelectBedRoom_New, Line 15
> Invalid object name 'mytable'.
>
> I want to make it proper way... can any one help... what sort of
> amendament in the stored procedure.
>
> Thanks
>
.
- Follow-Ups:
- Re: Error Handing
- From: Roy
- Re: Error Handing
- References:
- Error Handing
- From: msnews.microsoft.com
- Error Handing
- Prev by Date: Service Pack 4
- Next by Date: Re: Service Pack 4
- Previous by thread: Error Handing
- Next by thread: Re: Error Handing
- Index(es):
Relevant Pages
|
|