Viewing 15 posts - 3,286 through 3,300 (of 5,394 total)
Congrats, Paul!
And thank you for the infinite times I learned something from you.
April 1, 2011 at 9:30 am
Hi Deepak,
you did a good job and posted a clear question. However, it would make things a lot easier for us if you also included the CREATE TABLE statement for...
April 1, 2011 at 6:21 am
Ram:) (4/1/2011)
I have a different requirement and also i have done that but poor performance.
You could also post what you have done so far and we could try to...
April 1, 2011 at 4:34 am
Could be something similar to this:
DECLARE @sql nvarchar(4000)
SET @sql = 'SELECT ''?'' AS DBNAME, COUNT(*) AS CNT FROM TableName WHERE SomeField = 1'
DECLARE @results TABLE (
DBNAME sysname,
CNT int
)
INSERT @results
EXEC sp_MSForEachDB...
April 1, 2011 at 4:33 am
Stefan Krzywicki (3/31/2011)
If they could both retire, that'd be one thing.
I think I will have to wait 40 years more for that, at best. They keep raising the retirement minimum...
March 31, 2011 at 11:10 am
LutzM (3/31/2011)
But with all the spare time she would have, 3x the money probably won't be enough.
I see that problems are the same all around the world.... 😀
March 31, 2011 at 10:50 am
Roy Ernest (3/31/2011)
Out of Curiosity, isnt 90K US or 80K Euro the normal salary for a Sr. DBA?
In Italy there's no such thing as Sr. DBA.
The few places that...
March 31, 2011 at 10:48 am
Stefan Krzywicki (3/31/2011)
Gianluca Sartori (3/31/2011)
Stefan Krzywicki (3/31/2011)
Gianluca Sartori (3/31/2011)
I would go, if I wasn't certain that my wife would kill...
March 31, 2011 at 10:31 am
Stefan Krzywicki (3/31/2011)
Gianluca Sartori (3/31/2011)
Wow, Roy! It takes me three years to earn that money!I would go, if I wasn't certain that my wife would kill me.
What does your wife...
March 31, 2011 at 10:17 am
Wow, Roy! It takes me three years to earn that money!
I would go, if I wasn't certain that my wife would kill me.
March 31, 2011 at 10:12 am
This query will return all your sysadmin users:
SELECT SP.name, type_desc
FROM master.sys.server_principals AS SP
INNER JOIN master.sys.server_role_members SRM
ON SP.principal_id = SRM.member_principal_id
WHERE role_principal_id = (
SELECT principal_id
FROM master.sys.server_principals
WHERE name = 'sysadmin'
)
AND is_disabled = 0
March 31, 2011 at 9:26 am
I'm afraid it won't work. At least it would be useless, because a sysadmin could always re-enable access for his account.
March 31, 2011 at 2:53 am
From your private message:
The Spartans (3/31/2011)
Hiprovide solution or not answer or not add your comment to my page
The first entry for the google search I suggested points here:
http://msdn.microsoft.com/en-us/library/ms175475.aspx
Does this...
March 31, 2011 at 2:28 am
I don't think so. By default, members of the local administrators group are granted the sysadmin role, but it's quite a different thing.
March 31, 2011 at 1:44 am
Viewing 15 posts - 3,286 through 3,300 (of 5,394 total)