PDOSQLExecTask comes with two default formatters that send their output to a file. To change this, you probably have to implement your own formatter. On the other hand, the task appears to be reading its SQL commands from a separate file using SQL commands, rather than an assembly file.
So, in general, it seems to me that you better write your own task, perhaps using some code from the PDOSQLExecTask implementation, but with your own command input and the result of the result. If you do not call the mysql binary command line, this is an alternative for you, in which case you can end this call to redirect your output to the property using the outputProperty attribute in ExecTask .
source share