empty values in SQL adapter
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Applications Integration > empty values in SQL adapter




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    empty values in SQL adapter  
Norbert


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-04-04 08:35 AM

I have a mapping that translates a XML to a XML that can
be used by the SQL Adapter for Biztalk. In that XML it
can happen that some fields are empty. The result of the
mapping is then for example:

<param01 name="name" value=""/>

In the storedprocedure there will be a variable:
@name=""
SQL can not deal with this. How can I solve this, because
I want a Null for that variable. Is the only solution to
deal with this in the storedprocedure it self?

Thanks





[ Post a follow-up to this message ]



    Re: empty values in SQL adapter  
Jan Eliasen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-18-04 07:00 PM

On Thu, 4 Mar 2004 00:17:29 -0800, "Norbert"
<anonymous@discussions.microsoft.com> wrote:

Phil has suggested a solution. Other than his solution, you could try
to just look at the input element/attribute and if it doe snot exist,
then write a "Null" to the destination, else write the input to the
destination.


>I have a mapping that translates a XML to a XML that can
>be used by the SQL Adapter for Biztalk. In that XML it
>can happen that some fields are empty. The result of the
>mapping is then for example:
>
><param01 name="name" value=""/>
>
>In the storedprocedure there will be a variable:
>@name=""
>SQL can not deal with this. How can I solve this, because
>I want a Null for that variable. Is the only solution to
>deal with this in the storedprocedure it self?
>
>Thanks

--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:10 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register