I'm using Execute SQL Script component to send SQL code to MSSQL to be executed.
But I'd rather save SQL code in txt files, so that Subversion can control their changes.
These files will be stored in a sql
present on the same level of ktr file. I'd like some component equivament to Execute SQL Script to read a .sql file, take its content and send it to MSSQL. It would be awesome if I could provide the connection string on the sql file, or at least set it as a ktr parameter.
In the least possibility, I'd need a component to read the sql file, store it in a string variable, and pass it to another component that would take the variable and send it.
It'd also be great to be able to replace variables on the SQL code.
Sorry for being so noob, I'm trying to learn Spoon and missing features I used to have.