It seems so often that security is what stumps me. My situation:
1. Running an Excel spreadsheet with VBA code that executes a stored procedure on our SQL server.
2. We have an SQL login called abcdefg that has been given Execute rights to the stored procedure.
3. The connection string for...
I have a stored procedure that runs on an SQL server (running SQL Server 2008 R2 SP2), updating an SQL table.
I also have an Excel 2007 spreadsheet with a macro that opens a recordset to the SQL stored proc, initiating the update of the SQL table.
Through initial development, there were no...
Is it possible to determine the backup filename that was used to restore a database? We have a restored database, and there is a question as to which backup file was used for the restore. Is the backup filename kept anywhere in the metadata for the database?
Thanks in advance for your help!
We have a number of stored procedures that need to run against a set of similar databases (~25). Our desire is a single proc that can step through all the databases, probably via a cursor.
Unfortunately, we run into issues because the USE statement does not allow a variable. The only...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.