Viewing 15 posts - 226 through 240 (of 330 total)
That works better. Thanks. (I hate all those ' , '', ", ''', etc. )
Bill
June 17, 2005 at 1:32 pm
Shawn,
I modified your code as follows:
>>>>
EXEC master.dbo.xp_execresultset '
SELECT
''GRANT EXECUTE ON dbo.'' + SPECIFIC_NAME + '' TO Maintenance
FROM
INFORMATION_SCHEMA.ROUTINES
WHERE SPECIFIC_NAME LIKE ''usp_%''
', 'Northwind'
>>>>
When I run it I get this:
Server: Msg...
June 17, 2005 at 10:05 am
Thanks to everyone for their great replies. I have found two other tools (around $125 each) that work with MSSQL and Oracle. Their output is either XML or HTML or...
June 14, 2005 at 11:31 am
Greg,
Can you clarify which stored procs in MSDB are DTS related?
TIA,
Bill
June 9, 2005 at 2:01 pm
That does help. I'll be toying with the script tomorrow.
Thanks,
Bill
June 8, 2005 at 9:52 pm
Mharr,
>> and why not use SQLDMO and the BulkObject to import the data.
I have been studying SQl-DMO all day. (So I'm a real expert, ha, ha, ha) But I...
June 7, 2005 at 4:57 pm
First, I was overwhelemned by the number of interesting responses to this proglem. It will take me some time to absorb it all.
Regarding, SQL-DMO: I don't think our programmers are familiar...
June 7, 2005 at 2:11 pm
David,
Just saw the quote under "dbo" -- not sysadmin. My fault.
Bill
June 7, 2005 at 1:30 am
David,
Excellent quote but where did you find it? I couldn't find it under the updated SQL BOL (typed "systadmin" in the Index.)
TIA,
Bill
June 7, 2005 at 1:29 am
Thanks for the thought! I wasn't thinking along that line at all as the developers are not famliar with DTS coding practices and wanted to use the Visual tools.
Bill
June 6, 2005 at 11:47 am
Josh,
Sorry I was unclear. What you describe is exactly the case. The database owner is "sa" but each developer belongs to the "db_owner" role for their database. Still I find...
June 5, 2005 at 9:02 am
>>
When they create their sp's they just need to write
CREATE PROCEDURE [dbo].[NameOfProcedure]
>>
I agree but they often forget to do this!
Bill
June 5, 2005 at 8:50 am
If I recall correctly I did have some good luick with Sql 2K's "Copy Database Wizard" (under EM) which does the attach\detach for you.
Bill
May 24, 2005 at 2:26 pm
Yelena,
Be wary of changing drives paths, especially if system databases are involved!
Copying user databases to a new path on a new server is easy (assuming that no tables in the...
May 24, 2005 at 2:15 pm
"You will want to use backup/restore for the system databases."
Is it that easy? In the past I had to set sql server to single-user mode to restore "master. Not hard...
May 24, 2005 at 12:51 pm
Viewing 15 posts - 226 through 240 (of 330 total)