Viewing 15 posts - 16,456 through 16,470 (of 49,552 total)
Odd. I've seen this before and couldn't figure it out then either.
Does this problem persist across restarts of SQL?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 1:02 pm
sestell1 (9/25/2012)
So I'm a bit puzzled as to how you were able to see impersonation work with implicit permissions. :unsure:
You're impersonating a database user. You are not impersonating the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 12:18 pm
sestell1 (9/25/2012)
GilaMonster (9/25/2012)
sestell1 (9/25/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 12:17 pm
opc.three (9/25/2012)
My only point was that being a member of sysadmin does not imply there is a user in the db_owner Role named 'sa.'
No, there doesn't have to be...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 12:13 pm
sestell1 (9/25/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 11:59 am
opc.three (9/25/2012)
GilaMonster (9/25/2012)
Any member of the sysadmin role has all permissions across the instance, is implicitly db_owner of all databases and cannot be denied anything.
To be clear sa is implicitly...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 11:35 am
And if you do, note from Books Online:
In a future version of SQL Server, ANSI_NULLS will always be ON and any applications that explicitly set the option to OFF will...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 10:49 am
OR <column name> IS NULL does not prevent index seeks
(yes, I used an IN rather than a NOT IN, the NOT IN would have been a scan because of the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 10:30 am
Use quotes.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 10:22 am
Nothing drive-related in the Windows event logs (application or system)
Does that DB's log share a drive with any other?
Are you running enterprise edition?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 10:21 am
Any messages about drives being unavailable?
Anything useful in the SQL error log?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 7:13 am
Somewhere you have code that's referencing an object (PARAM) that does not exist. Search through your code and see if you can find it.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 6:31 am
Are there any related messages in the event log?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 6:30 am
Rebuilding is fine. It's the rest that is the problem. I assume you're not using SQL 2008 (despite posting in the SQL 2008 forums) if that code is already running.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 5:17 am
Truncating the log = harmful
Shrinking the log = harmful
Restarting SQL = waste of time to harmful.
You also probably don't want to just rebuild all indexes without consideration, and the sampled...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 25, 2012 at 5:07 am
Viewing 15 posts - 16,456 through 16,470 (of 49,552 total)