Stuff About Dynamics CRM

marți, 5 decembrie 2017

SQL Top parent record in hierarchy

›
https://stackoverflow.com/questions/9211173/sql-top-parent-record-in-hierarchy
2 comentarii:
joi, 4 august 2016

SQL SERVER : sp_who2 Replacement

›
SELECT  spid,         sp.[status],         loginame [Login],         hostname,         blocked BlkBy,         sd.name DBName,         ...
luni, 1 august 2016

Fixing AD issues for CRM

›
select  crmuserid  --reference to the SystemUserId in CRM ,suo.userid  --reference to the SystemUserAuthentication table ,AuthInfo ,do...
vineri, 8 iulie 2016

Calculate number of records updated per minute

›
Select DateAdd(minute, DateDiff(minute, 0, ModifiedOn), 0) AS [DAY_MINUTE], Count(*) AS [TOTAL_MINUTE] , Count(*) / 60.0 AS [TOTAL_SECOND...
joi, 23 iunie 2016

Script to retrieve the Maintenance Jobs

›
select LastRunTime, CASE OperationType        WHEN 14 THEN 'DeletionService'        WHEN 15 THEN 'IndexManagement'   ...

Script to retrieve the Job Activity

›
SET NOCOUNT ON SELECT Convert(varchar(20),SERVERPROPERTY('ServerName')) AS ServerName, j.name AS job_name, CASE j.enabled WHEN 1 ...
marți, 26 aprilie 2016

Audit Parsing

›
declare @dt datetime select @dt = getdate()-4 --select @dt  IF OBJECT_ID('tempdb..#audit') IS NOT NULL DROP TABLE #audit;  IF ...
Un comentariu:
›
Pagina de pornire
Afișați versiunea pentru web

About me

Unknown
Vizualizați profilul meu complet
Un produs Blogger.