Click here to Skip to main content
15,899,475 members

Comments by arsene 789 (Top 2 by date)

arsene 789 1-May-13 13:35pm View    
Thanks for replying

I made the following changes and the code worked fine
The variable was storing previous parameters so by clearing them solved one part of the error
executeScript.Parameters.Clear();

And then by declaring the variable in the main function has cleared another error which showed variable was not declared.

String scriptAndStub;
scriptAndStub = "DECLARE @SA_CONSOLE_HOSTNAME VARCHAR(256)\n";

Thanks!
arsene 789 24-Apr-13 11:04am View    
visual studio is not letting me add "GO", am new to this if you can give a detail explanation it would be great..