Home Forums Programming General How to remove Scripting variables not defined in sqlcmd RE: How to remove Scripting variables not defined in sqlcmd

  • No, I'm just passing arguments by using -v inputvar1="abc" inputvar2="xyz".

    Here, user may pass argument called "inputvar3". If user fails to enter "inputvar3" then it's printing the message like 'inputvar3' scripting variable not defined

    I don't want to print the message like if fails to pass arguments "inputvar3"