I have a sequence of scripts that I run on a daily basis that require some user input, changing this input in SQL Server each run is becoming tedious. Is it possible to write a program that will be able to take in this input and run the scripts? I use visual studio, but have not had much experience with scripting within an application.
Development is in C#
Example: SELECT * FROM table WHERE companyId = 1
I would like to have a text field in an application and when I select run it will put 1 or some other input where companyId = ?