-
Recent Posts
Recent Comments
Archives
- April 2015
- March 2015
- September 2014
- June 2014
- May 2014
- March 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- January 2013
- December 2012
- October 2012
- July 2012
- May 2012
- March 2012
- February 2012
- January 2012
- December 2011
- December 2010
- October 2010
Categories
Meta
Monthly Archives: October 2012
More on XML and SQL
As mentioned previously Select * from table for XML auto creates one element for each row, with all the values as attributes Select * from table for XML auto, elements creates an XML fragment with a collection of nested elements … Continue reading
Here are your files, and they have CHANGED
I recently had a project to create a comprehensive CSV file of all faculty, with some information. Same thing for staff. I opened the user AD group with powershell and collected all the ‘faculty’ OU entries. With a Directory Entry, … Continue reading
Posted in Uncategorized
Leave a comment
SQL select to XML
There are a couple of different ways to deal with getting XML out of MS SQL. A nice post from “beyond relational” by Madhivanan is this: http://beyondrelational.com/modules/2/blogs/70/Posts/17761/export-table-data-in-xml-format.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+beyondrelationalmain+%28Technology+stream+from+beyondrelational.com%29. The URL is a bit messy. The SQL code is this: (notice if the XML … Continue reading
Posted in sql
Leave a comment