Viewing 15 posts - 76 through 90 (of 104 total)
Thanks for your response - I forgot to mention that it uses windows authentication.
February 22, 2011 at 4:03 am
Another approach below.
SELECT SUM(deqs.total_logical_reads) TotalPageReads,
SUM(deqs.total_logical_writes) TotalPageWrites,
CASE
WHEN DB_NAME(dest.dbid) IS NULL THEN 'AdhocSQL'
ELSE DB_NAME(dest.dbid) END Databasename
FROM sys.dm_exec_query_stats deqs
CROSS APPLY sys.dm_exec_sql_text(deqs.sql_handle) AS dest
GROUP BY DB_NAME(dest.dbid)
February 17, 2011 at 7:45 am
See if sys.dm_exec_query_stats DMV helps you.
February 17, 2011 at 7:06 am
You can get closer to the resolution if you check this cool script out:
http://www.sqlservercentral.com/scripts/Administration/67567/
February 17, 2011 at 7:00 am
I meant to say ON of course..just mixing up things here a little. 🙂 You're correct.
February 17, 2011 at 2:38 am
Good (and pretty old) question indeed. Now if we choose to set them OFF in order to maintain the indexes properly what will happen? If reorganizing indexes would improve I/O...
February 16, 2011 at 9:14 am
I would uninstall just to make sure 😉
February 15, 2011 at 9:33 am
dboProduct Sales for 1997testerVW VIEW DEFINITIONDDENYDENY VIEW DEFINITION on [dbo].[Product Sales for 1997] to [tester]
The result set above is what you are asking for if I understand you well....
February 15, 2011 at 12:19 am
Does the below script help?
select sys.schemas.name 'Schema', sys.objects.name Object, sys.database_principals.name username, sys.database_permissions.type permissions_type,
sys.database_permissions.permission_name,
sys.database_permissions.state permission_state,
sys.database_permissions.state_desc,
...
February 14, 2011 at 8:13 am
Hi,
You could check out how sp_changedbowner works. I mean sp_changeobjectowner 🙂
February 14, 2011 at 7:02 am
Hey there,
Check out the QotD section here on SSC and filter on T-SQL and go through the questions... That should help.
February 10, 2011 at 12:29 am
Thank you - I'll look into that. In the meantime I figured that the memory cosumption of sql is extremely high and eats up all of the available memory from...
February 8, 2011 at 9:24 am
Thanks for both of you for taking the time to respond.
I would say thousands of rows. After all, page split occurs when there's a memory bottleneck among other things, right?...
February 8, 2011 at 8:23 am
Viewing 15 posts - 76 through 90 (of 104 total)