If you want to create multi level(root ->child record-child record)xml message from SQL for biztalk inbound, then you have to use for xml explicit keyword for t-sql and the example is given below
SELECT
Tag
,Parent
,'Table' AS [Table!1!sEntity!element]
,sTable_GUID AS [Table!1!sTable_GUID!element]
,sPhone_no AS [Tablephone!2!sPhone_no!element] ,sPhoneType_cd AS [Tablephone!2!sPhoneType_cd!element]
,sAddressType_cd AS [Tableaddress!3!sAddressType_cd!element]
,sAddress_nm AS [Tableaddress!3!szAddress_nm!element
FROM
tbTableDetails
FOR XML EXPLICIT, BINARY BASE64
This site is used to publish and share my articles, my experiences and knowledge about Business Applications Automation / Integration through biztalk, tibco,seebeyond, bpm, automation/intergration tools)
Subscribe to:
Post Comments (Atom)
test
-
We have three fields as address1, address2 and address3 in source schema and in destination side; we want to concatenate them with new line ...
-
Business automation is nothing but it enables to automate enterprise business processes, services and applications across enterprise as we...
-
Combining / Merging multiple repeated records from source into single record in destination with conditional through Biztalk map 1. Sour...
No comments:
Post a Comment