I want to print a complete stored procedure with its formatting preserved.
Given Below is the part of the query which I am trying to execute.
While @@FETCH_STATUS = 0
Begin
print @strSPText
Fetch Next From SpText_Cursor Into @strSPText
End
In this when the loop executes then the content i.e. printed comes in the new line. I want it to continue from the same line.
Is there any method to do so.
Thanks for the help