• Interesting if you take it out to xml you get a lot more... hard to read in xml though.

    <deadlock-list>

    <deadlock victim="process5b1d708">

    <process-list>

    <process id="process5b1d708" taskpriority="0" logused="0" waitresource="OBJECT: 12:773767807:10 " waittime="5993" ownerId="338954473" transactionname="CREATE INDEX" lasttranstarted="2013-06-13T02:41:21.200" XDES="0x2fd3bc3b0" lockMode="Sch-M" schedulerid="19" kpid="1332" status="suspended" spid="54" sbid="0" ecid="0" priority="0" trancount="1" lastbatchstarted="2013-06-13T02:41:18.460" lastbatchcompleted="2013-06-13T02:41:18.460" clientapp="SQLAgent - TSQL JobStep (Job 0x67ABCFB11FFE424BB39E2829B05DF7BC : Step 17)" hostname="NDCASPSQLP04" hostpid="3208" loginname="GLOBAL\s-any-sql-sc" isolationlevel="read committed (2)" xactid="338954473" currentdb="12" lockTimeout="4294967295" clientoption1="673185824" clientoption2="128056">

    <executionStack>

    <frame procname="adhoc" line="1" sqlhandle="0x01000c00f4a44a06a0106770040000000000000000000000">

    CREATE UNIQUE CLUSTERED INDEX [Conversion_KG_EACH_MAT_IX] ON dbo.[Conversion_KG_EACH_MAT] ( tuple_id ) </frame>

    <frame procname="Zemeter_SQD_DP.dbo.pr_CreateMatrixTable" line="47" stmtstart="2872" stmtend="2960" sqlhandle="0x03000c0011cc62423acdb20087a100000100000000000000">

    EXEC (@cmd)

    --create index on ValidTuple </frame>

    <frame procname="Zemeter_SQD_DP.dbo.zpr_Exchange_Rate" line="136" stmtstart="9474" stmtend="9582" sqlhandle="0x03000c00dcb0e2484bd0b20087a100000100000000000000">

    Execpr_CreateMatrixTable 'Conversion_KG_EACH_MAT' </frame>

    <frame procname="adhoc" line="3" stmtstart="130" stmtend="180" sqlhandle="0x01000c000f33d90d405fa0d2010000000000000000000000">

    Execzpr_Exchange_Rate </frame>

    </executionStack>

    <inputbuf>

    Exec [zpr_Proc_Time_Log] 'zpr_Exchange_Rate'-- BEGIN LOGGING

    Execzpr_Exchange_Rate

    Exec [zpr_Proc_Time_Log] 'zpr_Exchange_Rate'-- BEGIN LOGGING </inputbuf>

    </process>

    <process id="process54bfb88" taskpriority="0" logused="0" waitresource="OBJECT: 12:773767807:5 " waittime="4879" ownerId="338959227" transactionname="Lookup" lasttranstarted="2013-06-13T02:41:22.313" XDES="0x8279c1c0" lockMode="Sch-S" schedulerid="11" kpid="10804" status="suspended" spid="128" sbid="0" ecid="0" priority="0" trancount="0" lastbatchstarted="2013-06-13T02:41:21.143" lastbatchcompleted="2013-06-13T02:41:21.143" clientapp="Zemeter" hostname="NDCCTXASPSQDP02" hostpid="7856" loginname="GLOBAL\TIWARIR" isolationlevel="read committed (2)" xactid="338953770" currentdb="12" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128568">

    <executionStack>

    <frame procname="adhoc" line="1" sqlhandle="0x02000000d4cc421d25f937285996dc06599647d584e9d5c1">

    SET ARITHIGNORE ON SET ARITHABORT OFF SET ANSI_WARNINGS OFF SELECT A.*, CASE WHEN s1.Cnt IS NULL THEN 'W' WHEN s2.Cnt IS NULL THEN 'R' ELSE 'M' END AS 'Access' FROM (SELECT s.Material_TX AS N'Material', s.Plant_TX AS N'Plant', s.Ship_To_TX AS N'Sold To', '' as N'Special Procurement Key', '' as N'Procurement Key', '' as N'Active Status', '' as N'Market', '' as N'Hold', '' as N'Market Segment', '' as N'Cust Stratification', '' as N'Active Status Forecast', '' as N'Detail', '' as N'Sub Regional Profit Center', '' as N'SBU', '' as N'Prod Line Lev 1', '' as N'Profit Center', '' as N'Region', '' as N'Sub Region', '' as N'Sales Org', '' as N'Material/Sales Org Status', '' as N'MRP Area', '' as N'Global Customer', '' as N'End User', '' as N'Location', '' as N'Customer Group', '' as N'Commercial Leader', '' as N'Sales Manager', '' as N'Account Manager', '' as N'Product Group', '' as N'Product Sub Group', '' as N'Product Class', '' as N'Product', '' as N'Review Required', '' as N'Focus Fcst Stratification', '' as N'Sto </frame>

    </executionStack>

    <inputbuf>

    SET ARITHIGNORE ON SET ARITHABORT OFF SET ANSI_WARNINGS OFF SELECT A.*, CASE WHEN s1.Cnt IS NULL THEN 'W' WHEN s2.Cnt IS NULL THEN 'R' ELSE 'M' END AS 'Access' FROM (SELECT s.Material_TX AS N'Material', s.Plant_TX AS N'Plant', s.Ship_To_TX AS N'Sold To', '' as N'Special Procurement Key', '' as N'Procurement Key', '' as N'Active Status', '' as N'Market', '' as N'Hold', '' as N'Market Segment', '' as N'Cust Stratification', '' as N'Active Status Forecast', '' as N'Detail', '' as N'Sub Regional Profit Center', '' as N'SBU', '' as N'Prod Line Lev 1', '' as N'Profit Center', '' as N'Region', '' as N'Sub Region', '' as N'Sales Org', '' as N'Material/Sales Org Status', '' as N'MRP Area', '' as N'Global Customer', '' as N'End User', '' as N'Location', '' as N'Customer Group', '' as N'Commercial Leader', '' as N'Sales Manager', '' as N'Account Manager', '' as N'Product Group', '' as N'Product Sub Group', '' as N'Product Class', '' as N'Product', '' as N'Review Required', '' as N'Focus Fcst Stratification', '' as N'St </inputbuf>

    </process>

    </process-list>

    <resource-list>

    <objectlock lockPartition="10" objid="773767807" subresource="FULL" dbid="12" objectname="Zemeter_SQD_DP.dbo.Conversion_KG_EACH_MAT" id="lock4333a8880" mode="Sch-S" associatedObjectId="773767807">

    <owner-list>

    <owner id="process54bfb88" mode="Sch-S"/>

    </owner-list>

    <waiter-list>

    <waiter id="process5b1d708" mode="Sch-M" requestType="wait"/>

    </waiter-list>

    </objectlock>

    <objectlock lockPartition="5" objid="773767807" subresource="FULL" dbid="12" objectname="Zemeter_SQD_DP.dbo.Conversion_KG_EACH_MAT" id="lock228911100" mode="Sch-M" associatedObjectId="773767807">

    <owner-list>

    <owner id="process5b1d708" mode="Sch-M"/>

    </owner-list>

    <waiter-list>

    <waiter id="process54bfb88" mode="Sch-S" requestType="wait"/>

    </waiter-list>

    </objectlock>

    </resource-list>

    </deadlock>

    </deadlock-list>