G
Guest
In our development process we have to create T-SQL Scripts to be run against the "Live" databases (there are at least a dozen) so that any changes can be verified and/or tracked
Reading the text from the file is straight forward enough. Using SqlConnection/SqlCommand to actually execute the code is also easy.
My problem is that a lot of these scripts use PRINT statements to indicate which logic has taken place and I cannot seem to obtain these in any form to display to the user (an authorized member of the dev. team). Other than success or failure I can't help him to report back to the script creator where he went wrong.
Does any one have any helpful suggestions.
Reading the text from the file is straight forward enough. Using SqlConnection/SqlCommand to actually execute the code is also easy.
My problem is that a lot of these scripts use PRINT statements to indicate which logic has taken place and I cannot seem to obtain these in any form to display to the user (an authorized member of the dev. team). Other than success or failure I can't help him to report back to the script creator where he went wrong.
Does any one have any helpful suggestions.