Thursday, June 23, 2016

SQL 2016 Features - Poster


Aquí les dejo el poster con todos los features del nuevo SQL Server 2016

Es siempre una muy buena fuente de consulta




Download
Microsoft SQL 2016 Infographic

Monday, June 6, 2016

Version actualizada de SP_DBA_CurrentlyExec

Acá les dejo una versión actualizada de SP_DBA_CurrentlyExec


https://onedrive.live.com/redir?resid=1FA872AB07A90D8A!49568&authkey=!ABwpIFtS7ZyHwb8&ithint=folder%2csql


Estos son algunos ejemplos de uso así como también el Change Log

Change Log
-- v4.1 . 2013-08-23
-- v4.2 . 2014-04-23 - Now is a SP
-- v4.3 . 2014-04-25 - Automatically Include Blocking Reports, Open Trans and Server Info
-- v4.31. 2014-05-14 - Fix Elap_Time = 23:59:59
-- v4.32. 2014-05-27 - Fix OpenTran
-- v4.4.  2014-06-10 - Elap_Time includes Days. Default Sort is Elap_Time / Start_Time
-- v4.41. 2014-06-22 - Minor Fixes
-- v4.42. 2014-07-28 - Fix Transaction log usage on named instances
-- v4.43. 2014-08-04 - Add "Rollback" Status
-- v4.5 . 2015-10-25 - Add Object schema and databases.state=0 // Filters
-- v4.6 . 2016-04-15 - Add MultiServer and Blocks
-- v4.7 . 2016-04-19 - Identify Blocking Transactions
-- v4.8 . 2016-06-06 - Excel output

Examples
--[dbo].[SP_DBA_CurrentlyExec]
--[dbo].[SP_DBA_CurrentlyExec] @Filter_Name='object_name',@Filter_value ='SP_BL'
--[dbo].[SP_DBA_CurrentlyExec] @Filter_Name='Host_name',@Filter_value ='NJUMTS'
--[dbo].[SP_DBA_CurrentlyExec] @Filter_Name='Login_Name',@Filter_value ='MyLogin'
--[dbo].[SP_DBA_CurrentlyExec] @Filter_Name='SPID',@Filter_value ='371'
--[dbo].[SP_DBA_CurrentlyExec] @MultiServer=1

--[dbo].[SP_DBA_CurrentlyExec] @Blocks=1
--[dbo].[SP_DBA_CurrentlyExec] @excel=1

Pronto estará disponible una serie de videos explicativos en YouTube como información adicional