I've been executing the SQL script in sqlcmd and it has more arguments.
Is there any possibility to declare some of the arguments as optional, If user fails to enter value for any of the arguments then it displays the following message.
'inputvar1' scripting variable not defined
'inputvar2' scripting variable not defined
'inputvar3' scripting variable not defined
And, the following statement get printed along with above message
Changed database context to 'testdb'
I need to remove these messages while getting printed in output file.
Please help me on t