Narveson has asked for the wisdom of the Perl Monks concerning the following question:
We have hundreds of SSIS packages (big database manipulation programs that Microsoft intends you to view and edit through a GUI). Having to open hundreds of things in a GUI to do some chore (never mind what) is always tedious. So I was delighted to learn that the packages are saved as XML and the XML can be retrieved by the following SQL query:
SELECT CONVERT(XML, CONVERT(VARBINARY(MAX), packagedata)) AS XMLText FROM msdb.dbo.sysssispackages
This query works when I submit it in Microsoft SQL Server Management Studio.
But imagine my sorrow when I tried the same query in DBI and got
DBD::ODBC::st fetch failed: [Microsoft][SQL Server Native Client 10.0] +String data, right truncation (SQL-01004)
This is with LongReadLen set to 2147483647, the largest allowed.
So XML parsing of these objects is still tantalizingly out of reach of my Perl programs.
Must I confine myself to Microsoft's own proprietary tools?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to pull XML out of SSIS so I can study it with XPath
by Corion (Patriarch) on Aug 27, 2010 at 20:27 UTC | |
|
Re: How to pull XML out of SSIS so I can study it with XPath
by dasgar (Priest) on Aug 27, 2010 at 20:28 UTC | |
|
Re: How to pull XML out of SSIS so I can study it with XPath
by locked_user sundialsvc4 (Abbot) on Aug 30, 2010 at 15:49 UTC |