随笔分类 - sql server
摘要:January 18, 2011By default theremote errors property in SQL Server Reporting Services is set to false, which means error messages in a multi-server en...
阅读全文
摘要:http://msdn.microsoft.com/en-us/library/cc645993(v=sql.110).aspxfrom Alex Feng (privately):标准版不支持数据压缩from Alex Feng (privately):MAXDOP hint: http://ms...
阅读全文
摘要:CREATE EVENT SESSION [sql_query_tracing] ON SERVER ADD EVENT sqlos.wait_info( ACTION(sqlos.scheduler_id,sqlserver.client_app_name,sqlserver.client_con...
阅读全文
摘要:--通过下面的查询得到trace ID select * from sys.traces--修改下面的@traceid参数,关闭,删除对应的traceexec sp_trace_setstatus @traceid = 2, @status = 0 exec sp_trace_setstatus @...
阅读全文
摘要:sp_who2 activesp_lock 76select object_name(261575970,16)select %%lockres%%,* from SessionLock(nolock) --from reporttempdbselect * from SessionData whe...
阅读全文
摘要:Executed as user: WTC\Ebw.Admin. Transaction (Process ID 95) was deadlocked on lock resources with another process and has been chosen as the deadlock...
阅读全文
摘要:select * from sys.master_files where name='CODA_PRD_Catalog'12416*8/1024=(m)
阅读全文
摘要:USE [msdb]EXEC msdb.dbo.sp_grant_login_to_proxy @proxy_name=N'SSISProxyAgentV1', @login_name=N'WTC\Ebw.Admin'GO
阅读全文

浙公网安备 33010602011771号