I have a query made in SQLServer 2014 I want VisualBasic Script to be executed from a file indicating the location, or in its case some code to execute it from VisualBasic
I have a query made in SQLServer 2014 I want VisualBasic Script to be executed from a file indicating the location, or in its case some code to execute it from VisualBasic
You can run SQL scripts in Solution Explorer by dragging a script file to a database in the Database References folder. Another way to run SQL scripts is to right-click the script and choose Execute or Run from the context menu. When you choose Execute, the SQL script is executed against the default database. When you choose Run on, you can select which database to use.
Note For a list of SQL script file extensions that you can use, see Working with scripts. I work with scripts.
font
I hope it works.