Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED] How to pass xml to sql in SM
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] How to pass xml to sql in SM
 Login/Join
 
Member
posted
how to get incoming xml to pass to sql in SM as whole xml format

This message has been edited. Last edited by: Tamra,


WebFOCUS 8
Windows, All Outputs
 
Posts: 15 | Registered: July 15, 2016Reply With QuoteReport This Post
Guru
posted Hide Post
DipJen,

Welcome to Focal Point.

Can you explain further what it is you are trying to do?
What version of Data migrator are you using?

Thank your for participating in the Focal Point Forum,
Tamra Colangelo
Focal Point Moderator

Information Builders


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Reply With QuoteReport This Post
Member
posted Hide Post
Hi,

Thank you. I am using iIT tool writing process flow. Reading xml file as input and processing through process flow. In one place I want to store the xml that I am working with in process flow to database. I can send the data from xml to sql using sql object. I want to also pass whole xml data to sql. Is that possible? what iway key I can use to grab xml in process flow to pass to sql.

Thanks


WebFOCUS 8
Windows, All Outputs
 
Posts: 15 | Registered: July 15, 2016Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Use the IFL function _flatof(false). The false will not include the XML declaration.

Something like:
 insert into table (col1, col2) values ('?id', '?xml') 


User Properties:
 id = whatever
 xml = _flatof(false)


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1039 | Location: Toronto, Ontario | Registered: May 26, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED] How to pass xml to sql in SM

Copyright © 1996-2017 Information Builders, leaders in enterprise business intelligence.