SQL Server - SQLServer 2008

Asked By bob
08-Mar-10 03:00 AM
Hi,
Is there anyway to update the permissions on SPROCS in bulk?
I restored an ex SQL Server 2000 db and the grant execute rights
did not come across.
It seems that you can only select SPROCS one at a time and modify the
permissions.
It was always thus with SQLServer 2000 but I thought things might have
improved.
thanks
Bob
SQL Server 2000
(1)
Bulk
(1)
Database
(1)
Help.regardsBob
(1)
Gosh
(1)
Expcit
(1)
Window
(1)
SPROCS
(1)
  bob replied...
09-Mar-10 01:28 AM
Hi Erland,
Thanks for your reply.
you are right, no permissions were lost.
It turned out only some of the sprocs had explicit grants, the others
I guess were implicitly relying on the login having dbo rights? The
ones I looked at were  implicit ones.
Anyway when I moved it to the new server the ones without explicit
rights failed to execute.
I went through every sproc and assigned expcit rights.
You indicate below what appears to be a one statement execute  to
grant rights to all sprocs to a user.
If I understand correctly then where do you execute this statment?
Is this literally just a straight statement executed in a Server
management window connected to the database?
Gosh that would have saved me a heap of time.

Could I ask one more thing?
Is there any way to script all the jobs that Server agent holds?
In 2000 you can select them all using standard techniques, and choose
script from the context menu. But it only scripts the top job in the
list.
So I am faced with individually scripting amd importing the jobs.
Again a tedious job.

thanks
Bob
  bob replied...
09-Mar-10 05:55 PM
Hi Erland,
Thanks again for your help.
regards
Bob
Create New Account
help
MSDE on Windows 2003 R2 box, new DL385G6 - Install Fails during SQL Services SQL Server I have been finding that I am having trouble with the Crystal Reports Server XI installation failing when it is dealing with SQL. So, as a thought and in case there was something wrong with my SQL portion of the isntall. I thought ok, I will try installing the actual MSDE application direct from Microsoft. So, I downloaded the MSDE for SQL 2000 (which is msde2000a.exe), set my switches and off to the races. It quit when
SQL Express: Failed Reinstall SQL Server Dear Setup Experts: I am trying to reinstall SQL Express after playing with it some. I uninstalled it, and now, it refuses to reinstall in the face. Any ideas what this log file means and how I can get SQL Express installed? I really do not want to have to reinstall my whole system. * ** ** Start of Log File Overall summary: Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup. Exit code (Decimal): -2068643839 Exit facility code: 1203
Replicating from SQL 2000 to SQL 2008 SQL Server I have 2 instance of SQL Servers. Instance A : SQL Server 2000 Enterprise Edition running on Windows 2003 (32 Bit). Instance B : SQL Server 2008 Enterprise
SQLServer Error: 802, 701, 733 SQL Server SQL Server 2008 on Win2008 R2 x64 Server, 8 GB RAM - running virtualized on VMWare ES-Server Every sunday some maintainance jobs are scheduled to run. Rebuilding indices and statistics fail with There is insufficient memory available in the buffer pool. [SQLSTATE 42000] (SaveAllSchedules) After this the server is no longer reachable: [298] SQLServer Error: 773, SQL Server Network Interfaces: The requested security package does not exist [SQLSTATE 08001] . . . [298] SQLServer Error
Moving database decrease performance SQL Server I have moved database from one SQL2000 on win server to another standalone computer. Both SQL serverers have the same settings, same service pack, enterprise editions. On both SQL servers are tempDB, log file and mdf file on separate disks. The new SQL server is on better computer, has more RAM, beter disks, stronger proc, but all queries