Re: How to retrieve StoredProc raiserror code?
- From: "Mark Tiede" <mtiede@xxxxxxxxxxx>
- Date: Fri, 18 Jul 2008 08:18:06 -0400
Brian,
Since it does a raiserror, it wouldn't GET to the return. Unless I'm
missing something. It is just like doing a raise Exception.Create in a
function. The function isn't going to return a result if the exception is
raised. No?
"Brian Bushay TeamB" <BBushay@xxxxxxxxx> wrote in message
news:obuv74l60n478hdvm1jv6eqs88gtrb4j5n@xxxxxxxxxx
I have a stored procedure that is failing and issues a raiserror. How toIf your stored procedure uses a Return parameter you just examine the
determine that in my win32 app? And get the return code?
value
after executing the storedProcedure with your TadoDataset or TadoCommand.
You can also look at the TadoConnectionn.Errors collection for more
information
generated by errors.
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- Follow-Ups:
- Re: How to retrieve StoredProc raiserror code?
- From: Mark Tiede
- Re: How to retrieve StoredProc raiserror code?
- References:
- How to retrieve StoredProc raiserror code?
- From: Mark Tiede
- Re: How to retrieve StoredProc raiserror code?
- From: Brian Bushay TeamB
- How to retrieve StoredProc raiserror code?
- Prev by Date: Re: Connecting to two servers
- Next by Date: Re: How to retrieve StoredProc raiserror code?
- Previous by thread: Re: How to retrieve StoredProc raiserror code?
- Next by thread: Re: How to retrieve StoredProc raiserror code?
- Index(es):
Relevant Pages
|