Viewing 15 posts - 4,756 through 4,770 (of 49,552 total)
Look at the Books Online entry for either sys.dm_exec_requests or sys.dm_exec_query_stats (or maybe sys.dm_exec_sql_text) as one of them has an example query using the statement offsets.
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 15, 2015 at 3:17 am
Kristen-173977 (9/15/2015)
john_rowles (9/14/2015)
LatePost = COUNT(CASE WHEN AttendanceReason = 1 THEN 1 END),
PostOut = COUNT(CASE WHEN AttendanceReason = 2 THEN 1 END),
LateNoPost...
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 15, 2015 at 3:05 am
Gazareth (9/14/2015)
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 15, 2015 at 2:59 am
jitendra.padhiyar (9/15/2015)
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 15, 2015 at 2:54 am
Kristen-173977 (9/15/2015)
I think the only reason for this is a long running transaction. Its a heck of a transaction though ...
Possibly an index rebuild, thought they're minimally logged in simple,...
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 15, 2015 at 2:53 am
stanlyn (9/14/2015)
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 15, 2015 at 2:50 am
Correct. Public (I believe) by default has the 'View any database' permission, so all logins get that by default (all logins are a member of public). You can deny that...
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 14, 2015 at 10:20 am
Auto shrink on?
Manual shrink operation after the index rebuild?
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 14, 2015 at 10:12 am
ORIGINAL_LOGIN()
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 14, 2015 at 10:11 am
Create them a login. Give that login a user in the database they should be allowed to access. Give the user whatever permissions it should have in the database. Give...
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 14, 2015 at 9:21 am
Never. The log can't be backed up in simple recovery because the log is marked reusable on checkpoint.
Please take a read through this http://www.sqlservercentral.com/articles/books/94938/ and have a chat with 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 14, 2015 at 9:15 am
Kristen-173977 (9/14/2015)
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 14, 2015 at 8:53 am
First things first.
Taking log backups once a day is a bad idea. It means you're exposed to 24 hours of data loss. If that's tolerable, then you could achieve 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 14, 2015 at 8:07 am
jasona.work (9/14/2015)
It's a Craigslist deal, being sold by a business near Detroit...
Dell PowerEdge R900, quad quad-core...
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 14, 2015 at 7:30 am
Kristen-173977 (9/12/2015)
Would Log Shipping help? (although I think that might be deprecated in SQL2014 ?)
It would, and it is not deprecated.
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 14, 2015 at 5:35 am
Viewing 15 posts - 4,756 through 4,770 (of 49,552 total)