Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Biz Talk Application Integration > How to use SQL ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 1213 of 1287
Post > Topic >>

How to use SQL adapter if the calling sp has an OUTPUT parameter

by =?Utf-8?B?QWJlbCBDaGFu?= <awong@[EMAIL PROTECTED] > Feb 11, 2008 at 10:17 AM

ALL,

I would like to insert some records into a SQL database table by using the

BizTalk SQL adapter.  The insert store procedure is already existed.  
However, I don’t know how to make it work because the calling convention
has 
an OUTPUT parameter @[EMAIL PROTECTED]
  in it.  

CREATE PROC myInsertProc
	 	 @[EMAIL PROTECTED]
(20)
	 	 @[EMAIL PROTECTED]
(20)
		,@[EMAIL PROTECTED]
(255)	OUTPUT

The purpose of the output parameter is to tell the caller if there is an 
error in the calling process.  The insert store procedure also returns a 
return code like this:

	DECLARE  @[EMAIL PROTECTED]
   @[EMAIL PROTECTED]
 = @[EMAIL PROTECTED]
 	@[EMAIL PROTECTED]
 to capture both the output error message and the return code with 
BizTalk SQL adapter?  

Lastly, how to handle exceptions throwing from the store procedure
(error)?  
I can’t find a sample to cover these situations.  

Do you have a sample?

Could you please help?

Thanks so much.

Abel Chan
 




 4 Posts in Topic:
How to use SQL adapter if the calling sp has an OUTPUT parameter
=?Utf-8?B?QWJlbCBDaGFu?=   2008-02-11 10:17:00 
RE: How to use SQL adapter if the calling sp has an OUTPUT param
wjzhang@[EMAIL PROTECTED]  2008-02-12 07:05:25 
Re: How to use SQL adapter if the calling sp has an OUTPUT param
Jan Eliasen <eliasen@[  2008-02-12 14:53:41 
Re: How to use SQL adapter if the calling sp has an OUTPUT param
wjzhang@[EMAIL PROTECTED]  2008-02-20 09:08:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Nov 20 22:11:52 CST 2008.