| Login

Search this Blog


Links I like to keep around




Here are the most recent postings to this blog. Use the archive calendar or search to find other entries.
Mar31

Written by:R Teachout
3/31/2007 9:32 PM

 DECLARE @Login varchar(50)
 SET @Login = '[websiteuserhere]'

 SELECT 'Grant exec on [' + [name] + '] To ' + @Login 
 FROM [sysobjects]
 WHERE [xtype] = 'P' AND [name] LIKE '%' and [name] not like 'dt_%' and [name] not like 'xp_%'

Update: (This should work for SQL2005 also)

Tags:

Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel  

I think the most thoughtful feature in Windows is the blue screen. Such a nice, soothing color, just when I need soothing the most. Now if only it could play that mellow newage startup music during hard hangs.
-Unknown

Inspired by Nina