September 20, 2013 at 8:44 am
Jeff Moden (9/20/2013)
Heh... you asked what the best way to store XML is. I suggested shredding it and storing it in normalized tables. Are you storing the XML in a table or not?
Right 🙂
I don't store the XML in the database... I send the XML to SQL to process it. My question in how to store XML is cause it's used by several SPs and have to "pass" it between them...
Pedro
September 20, 2013 at 12:12 pm
PiMané (9/20/2013)
Jeff Moden (9/20/2013)
Heh... you asked what the best way to store XML is. I suggested shredding it and storing it in normalized tables. Are you storing the XML in a table or not?Right 🙂
I don't store the XML in the database... I send the XML to SQL to process it. My question in how to store XML is cause it's used by several SPs and have to "pass" it between them...
Pedro
I wouldn't store it. Build a main "control" proc that parses it once and stored it in a Temp Table and have the other stored procedures use the data from the Temp Table.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2013 at 1:09 am
When I say process I mean use nodes() or sp_xmlpreparedocument to parse the XML an use it if only once or store it in a temp table if use more than once...
Pedro
Viewing 3 posts - 16 through 17 (of 17 total)
You must be logged in to reply to this topic. Login to reply