Interactively supplying inputs to SQL script
Is there a way to send inputs to T-SQL scripts interactively from the command line ? For example, I have a script that takes a backup of the database. I wish to supply the inputs to it like the backup media, the database name etc from the command prompt interactively. How is this possible. Please help.
Thanks in Advance,