on 11-07-2010 2:24 PM
How to Import data from csv to SQL database through BLS-xMII?
If you are looking just to load data into the database I would recommend using native database mechanisms, otherwise you'll be looping through the dataset and doing the needed INSERT statements.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you using Oracle, you may also use the bulk insert with MII. You can use the String List to XML parser to convert your CSV to XML, and then use a query that calls a stored procedure which does the bulk insert.
Also have a look at thread [read XML file into stored procedure|http://forums.sdn.sap.com/click.jspa?searchID=63850236&messageID=7455643].
Michael
The StringListToXmlParser returns a result of form StringListToXmlParser.Output{Rowsets/Rowset/Row}. You can directly use it in a Repeater configuration. Retrieve the values from the repeater and fill the Parameters of a predefined query that you can call from the BLT. To insert the values, you can use a SQL query in Command mode.
Does this help?
Michael
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.