Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i want to loop each item in xml .
in my scenario my xml containing
10 account numbers.
in my stored procedure i need each account number at a time and have to do other operation and inserting into another table.that means 10 times it will loop.

if anyone know please let me know.
Posted

1 solution

Hi,

You will need to insert your xml data into a table and then perform your operation on this new table.

Depending on your process you may need a temp table or permanent table. If it is permanent you can truncate table when your process is finalised not to have unnecessary data.

Hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900