Re: how to surpress a server error msg?

From: == Steve Pdx== (lins_at_nospam.portptld.com)
Date: 05/21/04


Date: Fri, 21 May 2004 09:09:46 -0700

well, i'd rather not to change the system stored procedure since that would
mean i have to change that particular sp on all servers!
i'd prefer a solution to control the display.
i was calling the sp thru SQL pass thru in Access and return the query
result to display in an Access report. (the query set, not the error msg)

"Tibor Karaszi" <tibor_please.no.email_karaszi@hotmail.nomail.com> wrote in
message news:OExOyt0PEHA.2236@TK2MSFTNGP10.phx.gbl...
> That would be a client issue, but I assume that you are using QA and it
doesn't have any awareness of any
> particular stored procedures; it just displays whatever error comes back.
One option can be to copy the source
> code for the proc and modify it so it doesn't return that error message (I
assume that there's a RAISERROR
> with that error somewhere in the source code).
>
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
>
>
> "== Steve Pdx==" <lins@nospam.portptld.com> wrote in message
news:%23xdrpj0PEHA.640@TK2MSFTNGP12.phx.gbl...
> > background sql2k on nt5.
> >
> > when using stored procedure sp_helprotect against a login. I've got the
> > following msg in query analyzer messages tab.
> >
> > Server: Msg 15330, Level 11, State 1, Procedure sp_helprotect, Line 346
> > There are no matching rows on which to report.
> >
> >
> > is it possible to surpress that msg and just display the Grid tab?
> >
> > thank you.
> >
> >
> > steve
> >
> >
>
>



Relevant Pages

  • Re: performace issue with a stored procedure
    ... The connection type is the same on both servers. ... >Did you look in the query execution plan in Query ... >> I have run the stored procedure in query analyser on ...
    (microsoft.public.sqlserver.programming)
  • Re: noise words, @@ERROR, and stop and resume indexing
    ... > Noiseword varcharNot Null ... > the data from the noise file to the noise_words table. ... >> A clause of the query contained only ignored words. ... >> into query analyzer before starting the stored procedure. ...
    (microsoft.public.sqlserver.fulltext)
  • Re: How to combine existing collections to include or exclude...
    ... "Matthew Hudson" wrote: ... Servers you want minus the ones you don't want ... [edit query statement/Criteria] ... Add computers you don't want to show up in Collection B ...
    (microsoft.public.sms.admin)
  • RE: How to combine existing collections to include or exclude...
    ... "Matthew Hudson" wrote: ... Servers you want minus the ones you don't want ... Add computers you don't want to show up in Collection B ... will see if I can't just send you the collection queries and the query ...
    (microsoft.public.sms.admin)
  • RE: ODBC query in VB code Need HELP
    ... I am trying to get a stored procedure to run on info I send it I do not need ... I played around and got the code below to work using a pass-through query, ... Dim strpass As String ...
    (microsoft.public.access.formscoding)