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?
In reply to How to pull XML out of SSIS so I can study it with XPath by Narveson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |