BizTalk Server Applications Integration - empty values in SQL adapter

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Applications Integration > March 2004 > empty values in SQL adapter





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author empty values in SQL adapter
Phil

2004-03-11, 10:43 pm

1. In stored procedure params use (for example) @name
varchar(30)=NULL, ....

2. In BizTalk Mapper use a Logical Existence functoid to
connect to the record of the output specification e.g
param4 (not name or value).

If Input field exists (in data instance)will parse
otherwise will ignore and SQL server will insert a NULL.
Hope this helps (it did for me).

Philr Wales UK.

>-----Original Message-----
>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
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com