I have a problem.
I need to create a database monthly using a program. The database is States_XX where XX is the number for next month.
Then I need to GRANT Select to that database.
I am connected to the SQL Server.
Creating the database was easy.
Applying the GRANT SELECT is not.
Here is the...