Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

How to identify the Deadlocks from the dead lock trace, thats been captured by enabling sql trace flags 1204,1222

$
0
0

Hi, 

I have enabled sql traceflags 1204,1222 to identify the deadlocks . as there are many dead locks occurring in the sql instance .

When i try to open the notepad, i can see bunch of information , and couldnt figure out the exact area of the cause behind the deadlocks took place. 

Can some one please share me your expert advice to identify the same , as well i am sharing the locks information , if you can please share me the cause in that also would be a great help . 

2017-01-26 19:15:24.780	spid30s	deadlock-list
2017-01-26 19:15:24.780	spid30s	 deadlock victim=process11e20708c8
2017-01-26 19:15:24.780	spid30s	  process-list
2017-01-26 19:15:24.780	spid30s	   process id=process11e20708c8 taskpriority=0 logused=0 waitresource=PAGE: 5:1:22024  waittime=31034 ownerId=379541919

transactionname=UPDATE lasttranstarted=2017-01-26T19:14:48.140 XDES=0xb52c5ac90 lockMode=U schedulerid=3 kpid=19924 status=suspended spid=77 sbid=0 ecid=4 priority=0

trancount=0 lastbatchstarted=2017-01-26T19:14:35.587 lastbatchcompleted=2017-01-26T19:14:35.593 lastattention=1900-01-01T00:00:00.593 clientapp=dhflp

hostname=MAGWARAZIND06 hostpid=2844 isolationlevel=read committed (2) xactid=379541919 currentdb=5 lockTimeout=4294967295 clientoption1=673185824 clientoption2=128056
2017-01-26 19:15:24.780	spid30s	    executionStack
2017-01-26 19:15:24.780	spid30s	     frame procname=DEPDB.dbo.SQL_AuditChgCtxtSession line=35 stmtstart=3172 stmtend=3350

sqlhandle=0x03000500d61dd05a117cc500ffa6000001000000000000000000000000000000000000000000000000000000
2017-01-26 19:15:24.780	spid30s	update fw_admin_audit_srvdtl set SessionID = @NewSessionID where SessionID = @OldSessionI
2017-01-26 19:15:24.780	spid30s	    inputbuf
2017-01-26 19:15:24.780	spid30s	Proc [Database Id = 5 Object Id = 1523588566]
2017-01-26 19:15:24.780	spid30s	   process id=processf0d854108 taskpriority=0 logused=4480 waitresource=PAGE: 5:1:21824  waittime=31028 ownerId=379530448

transactionname=UPDATE lasttranstarted=2017-01-26T19:14:37.643 XDES=0x103d91ca0 lockMode=U schedulerid=3 kpid=6260 status=suspended spid=65 sbid=0 ecid=4 priority=0

trancount=0 lastbatchstarted=2017-01-26T19:14:26.997 lastbatchcompleted=2017-01-26T19:14:26.997 lastattention=1900-01-01T00:00:00.997 clientapp=dhflp

hostname=MAGWARAZIND06 hostpid=2844 isolationlevel=read committed (2) xactid=379530448 currentdb=5 lockTimeout=4294967295 clientoption1=673185824 clientoption2=128056
2017-01-26 19:15:24.780	spid30s	    executionStack
2017-01-26 19:15:24.780	spid30s	     frame procname=DEPDB.dbo.SQL_AuditChgCtxtSession line=35 stmtstart=3172 stmtend=3350

sqlhandle=0x03000500d61dd05a117cc500ffa6000001000000000000000000000000000000000000000000000000000000
2017-01-26 19:15:24.780	spid30s	update fw_admin_audit_srvdtl set SessionID = @NewSessionID where SessionID = @OldSessionI
2017-01-26 19:15:24.780	spid30s	    inputbuf
2017-01-26 19:15:24.780	spid30s	Proc [Database Id = 5 Object Id = 1523588566]
2017-01-26 19:15:24.780	spid30s	   process id=processff44fb088 taskpriority=0 logused=10000 waittime=1837 schedulerid=1 kpid=19796 status=suspended spid=65 sbid=0

ecid=0 priority=0 trancount=2 lastbatchstarted=2017-01-26T19:14:26.997 lastbatchcompleted=2017-01-26T19:14:26.997 lastattention=1900-01-01T00:00:00.997 clientapp=dhflp

hostname=MAGWARAZIND06 hostpid=2844 loginname=rvwuser isolationlevel=read committed (2) xactid=379530448 currentdb=5 lockTimeout=4294967295 clientoption1=673185824

clientoption2=128056
2017-01-26 19:15:24.780	spid30s	    executionStack
2017-01-26 19:15:24.780	spid30s	     frame procname=DEPDB.dbo.SQL_AuditChgCtxtSession line=35 stmtstart=3172 stmtend=3350

sqlhandle=0x03000500d61dd05a117cc500ffa6000001000000000000000000000000000000000000000000000000000000
2017-01-26 19:15:24.780	spid30s	update fw_admin_audit_srvdtl set SessionID = @NewSessionID where SessionID = @OldSessionI
2017-01-26 19:15:24.780	spid30s	    inputbuf
2017-01-26 19:15:24.780	spid30s	Proc [Database Id = 5 Object Id = 1523588566]
2017-01-26 19:15:24.780	spid30s	  resource-list
2017-01-26 19:15:24.780	spid30s	   pagelock fileid=1 pageid=22024 dbid=5 subresource=FULL objectname=DEPDB.dbo.fw_admin_audit_srvdtl id=lock1e0cb3500 mode=U

associatedObjectId=72057594371899392
2017-01-26 19:15:24.780	spid30s	    owner-list
2017-01-26 19:15:24.780	spid30s	     owner id=processff44fb088 mode=U
2017-01-26 19:15:24.780	spid30s	    waiter-list
2017-01-26 19:15:24.780	spid30s	     waiter id=process11e20708c8 mode=U requestType=wait
2017-01-26 19:15:24.780	spid30s	   pagelock fileid=1 pageid=21824 dbid=5 subresource=FULL objectname=DEPDB.dbo.fw_admin_audit_srvdtl id=lock1c449e700 mode=U

associatedObjectId=72057594371899392
2017-01-26 19:15:24.780	spid30s	    owner-list
2017-01-26 19:15:24.780	spid30s	     owner id=process11e20708c8 mode=U
2017-01-26 19:15:24.780	spid30s	    waiter-list
2017-01-26 19:15:24.780	spid30s	     waiter id=processf0d854108 mode=U requestType=wait
2017-01-26 19:15:24.780	spid30s	   exchangeEvent id=Pipefbb444700 WaitType=e_waitPipeGetRow nodeId=1
2017-01-26 19:15:24.780	spid30s	    owner-list
2017-01-26 19:15:24.780	spid30s	     owner id=processf0d854108
2017-01-26 19:15:24.780	spid30s	    waiter-list
2017-01-26 19:15:24.780	spid30s	     waiter id=processff44fb088
2017-01-27 18:01:55.680	spid18s	deadlock-list
2017-01-27 18:01:55.690	spid18s	 deadlock victim=process10a0893468
2017-01-27 18:01:55.690	spid18s	  process-list
2017-01-27 18:01:55.690	spid18s	   process id=process10a0893468 taskpriority=0 logused=0 waitresource=PAGE: 5:1:22096  waittime=30109 ownerId=396461335

transactionname=UPDATE lasttranstarted=2017-01-27T18:00:58.723 XDES=0x1f678bbf0 lockMode=U schedulerid=1 kpid=19272 status=suspended spid=58 sbid=0 ecid=1 priority=0

trancount=0 lastbatchstarted=2017-01-27T18:00:41.470 lastbatchcompleted=2017-01-27T18:00:41.480 lastattention=1900-01-01T00:00:00.480 clientapp=dhflp

hostname=MAGWARAZIND06 hostpid=2844 isolationlevel=read committed (2) xactid=396461335 currentdb=5 lockTimeout=4294967295 clientoption1=673185824 clientoption2=128056
2017-01-27 18:01:55.690	spid18s	    executionStack
2017-01-27 18:01:55.690	spid18s	     frame procname=DEPDB.dbo.SQL_AuditChgCtxtSession line=35 stmtstart=3172 stmtend=3350

sqlhandle=0x03000500d61dd05a117cc500ffa6000001000000000000000000000000000000000000000000000000000000
2017-01-27 18:01:55.690	spid18s	update fw_admin_audit_srvdtl set SessionID = @NewSessionID where SessionID = @OldSessionI
2017-01-27 18:01:55.690	spid18s	    inputbuf
2017-01-27 18:01:55.690	spid18s	Proc [Database Id = 5 Object Id = 1523588566]
2017-01-27 18:01:55.690	spid18s	   process id=process10dd004108 taskpriority=0 logused=1568 waitresource=PAGE: 5:1:22024  waittime=30152 ownerId=396462937

transactionname=UPDATE lasttranstarted=2017-01-27T18:01:09.277 XDES=0x1f37a78e0 lockMode=U schedulerid=4 kpid=10996 status=suspended spid=69 sbid=0 ecid=2 priority=0

trancount=0 lastbatchstarted=2017-01-27T18:00:58.470 lastbatchcompleted=2017-01-27T18:00:58.477 lastattention=1900-01-01T00:00:00.477 clientapp=dhflp

hostname=MAGWARAZIND06 hostpid=2844 isolationlevel=read committed (2) xactid=396462937 currentdb=5 lockTimeout=4294967295 clientoption1=673185824 clientoption2=128056
2017-01-27 18:01:55.690	spid18s	    executionStack
2017-01-27 18:01:55.690	spid18s	     frame procname=DEPDB.dbo.SQL_AuditChgCtxtSession line=35 stmtstart=3172 stmtend=3350

sqlhandle=0x03000500d61dd05a117cc500ffa6000001000000000000000000000000000000000000000000000000000000
2017-01-27 18:01:55.690	spid18s	update fw_admin_audit_srvdtl set SessionID = @NewSessionID where SessionID = @OldSessionI
2017-01-27 18:01:55.690	spid18s	    inputbuf
2017-01-27 18:01:55.690	spid18s	Proc [Database Id = 5 Object Id = 1523588566]
2017-01-27 18:01:55.690	spid18s	   process id=processb7ecec4e8 taskpriority=0 logused=1568 waitresource=PAGE: 5:1:1043  waittime=30156 ownerId=396462937

transactionname=UPDATE lasttranstarted=2017-01-27T18:01:09.277 XDES=0x1f3a2f8e0 lockMode=U schedulerid=2 kpid=19136 status=suspended spid=69 sbid=0 ecid=3 priority=0

trancount=0 lastbatchstarted=2017-01-27T18:00:58.470 lastbatchcompleted=2017-01-27T18:00:58.477 lastattention=1900-01-01T00:00:00.477 clientapp=dhflp

hostname=MAGWARAZIND06 hostpid=2844 isolationlevel=read committed (2) xactid=396462937 currentdb=5 lockTimeout=4294967295 clientoption1=673185824 clientoption2=128056
2017-01-27 18:01:55.690	spid18s	    executionStack
2017-01-27 18:01:55.690	spid18s	     frame procname=DEPDB.dbo.SQL_AuditChgCtxtSession line=35 stmtstart=3172 stmtend=3350

sqlhandle=0x03000500d61dd05a117cc500ffa6000001000000000000000000000000000000000000000000000000000000
2017-01-27 18:01:55.690	spid18s	update fw_admin_audit_srvdtl set SessionID = @NewSessionID where SessionID = @OldSessionI
2017-01-27 18:01:55.690	spid18s	    inputbuf
2017-01-27 18:01:55.690	spid18s	Proc [Database Id = 5 Object Id = 1523588566]
2017-01-27 18:01:55.690	spid18s	   process id=processfa0837848 taskpriority=0 logused=10000 waittime=957 schedulerid=2 kpid=21936 status=suspended spid=69 sbid=0

ecid=0 priority=0 trancount=2 lastbatchstarted=2017-01-27T18:00:58.470 lastbatchcompleted=2017-01-27T18:00:58.477 lastattention=1900-01-01T00:00:00.477 clientapp=dhflp

hostname=MAGWARAZIND06 hostpid=2844 loginname=rvwuser isolationlevel=read committed (2) xactid=396462937 currentdb=5 lockTimeout=4294967295 clientoption1=673185824

clientoption2=128056
2017-01-27 18:01:55.690	spid18s	    executionStack
2017-01-27 18:01:55.690	spid18s	     frame procname=DEPDB.dbo.SQL_AuditChgCtxtSession line=35 stmtstart=3172 stmtend=3350

sqlhandle=0x03000500d61dd05a117cc500ffa6000001000000000000000000000000000000000000000000000000000000
2017-01-27 18:01:55.690	spid18s	update fw_admin_audit_srvdtl set SessionID = @NewSessionID where SessionID = @OldSessionI
2017-01-27 18:01:55.690	spid18s	    inputbuf
2017-01-27 18:01:55.690	spid18s	Proc [Database Id = 5 Object Id = 1523588566]
2017-01-27 18:01:55.690	spid18s	  resource-list
2017-01-27 18:01:55.690	spid18s	   pagelock fileid=1 pageid=22096 dbid=5 subresource=FULL objectname=DEPDB.dbo.fw_admin_audit_srvdtl id=lock1d0998980 mode=U

associatedObjectId=72057594371899392
2017-01-27 18:01:55.690	spid18s	    owner-list
2017-01-27 18:01:55.690	spid18s	     owner id=processfa0837848 mode=U
2017-01-27 18:01:55.690	spid18s	    waiter-list
2017-01-27 18:01:55.690	spid18s	     waiter id=process10a0893468 mode=U requestType=wait
2017-01-27 18:01:55.690	spid18s	   pagelock fileid=1 pageid=22024 dbid=5 subresource=FULL objectname=DEPDB.dbo.fw_admin_audit_srvdtl id=lock196426100 mode=U

associatedObjectId=72057594371899392
2017-01-27 18:01:55.690	spid18s	    owner-list
2017-01-27 18:01:55.690	spid18s	     owner id=process10a0893468 mode=U
2017-01-27 18:01:55.690	spid18s	    waiter-list
2017-01-27 18:01:55.690	spid18s	     waiter id=process10dd004108 mode=U requestType=wait
2017-01-27 18:01:55.690	spid18s	   pagelock fileid=1 pageid=1043 dbid=5 subresource=FULL objectname=DEPDB.dbo.fw_admin_audit_srvdtl id=lock1227c1b300 mode=U

associatedObjectId=72057594371899392
2017-01-27 18:01:55.690	spid18s	    owner-list
2017-01-27 18:01:55.690	spid18s	     owner id=process10a0893468 mode=U
2017-01-27 18:01:55.690	spid18s	    waiter-list
2017-01-27 18:01:55.690	spid18s	     waiter id=processb7ecec4e8 mode=U requestType=wait
2017-01-27 18:01:55.690	spid18s	   exchangeEvent id=Pipeb2509e700 WaitType=e_waitPipeGetRow nodeId=1
2017-01-27 18:01:55.690	spid18s	    owner-list
2017-01-27 18:01:55.690	spid18s	     owner id=process10dd004108
2017-01-27 18:01:55.690	spid18s	     owner id=processb7ecec4e8
2017-01-27 18:01:55.690	spid18s	    waiter-list
2017-01-27 18:01:55.690	spid18s	     waiter id=processfa0837848
2017-01-29 00:00:00.620	spid18s	This instance of SQL Server has been using a process ID of 2284 since 1/22/2017 1:24:36 AM (local) 1/21/2017 7:54:36 PM (UTC). This is

an informational message only; no user action is required.
2017-01-31 00:00:02.370	spid18s	This instance of SQL Server has been using a process ID of 2284 since 1/22/2017 1:24:36 AM (local) 1/21/2017 7:54:36 PM (UTC). This is

an informational message only; no user action is required.
2017-01-30 09:13:00.190	spid26s	deadlock-list
2017-01-30 09:13:00.190	spid26s	 deadlock victim=process16e302d088
2017-01-30 09:13:00.190	spid26s	  process-list
2017-01-30 09:13:00.190	spid26s	   process id=process16e302d088 taskpriority=0 logused=472 waitresource=RID: 9:1:171720:0 waittime=2408 ownerId=440181478

transactionname=user_transaction lasttranstarted=2017-01-30T09:12:56.733 XDES=0x12a407c3b0 lockMode=U schedulerid=3 kpid=8088 status=suspended spid=59 sbid=0 ecid=0

priority=0 trancount=2 lastbatchstarted=2017-01-30T09:12:57.280 lastbatchcompleted=2017-01-30T09:12:56.733 lastattention=1900-01-01T00:00:00.733 clientapp=.Net

SqlClient Data Provider hostname=MAGWARAZIND06 hostpid=22308 loginname=rvwuser isolationlevel=read committed (2) xactid=440181478 currentdb=9 lockTimeout=4294967295

clientoption1=538968096 clientoption2=128056
2017-01-30 09:13:00.190	spid26s	    executionStack
2017-01-30 09:13:00.190	spid26s	     frame procname=HRMS40.dbo.lv_vwlsy_fetchgriid_sp line=277 stmtstart=25132 stmtend=26664

sqlhandle=0x03000900651675504d200d015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 09:13:00.190	spid26s	update tmp
2017-01-30 09:13:00.190	spid26s	  set tmp.leavetypeshdesc = shtdesc.leave_type_shrt_desc
2017-01-30 09:13:00.190	spid26s	  from ladm_leave_summary_tmp tmp,ldef_leave_type_desc shtdesc,hrcmn_ldef_leave_type_vw ldef
2017-01-30 09:13:00.190	spid26s	  where guid = @hrguid
2017-01-30 09:13:00.190	spid26s	  and   ldef.master_ou_code      = @leavedefou
2017-01-30 09:13:00.190	spid26s	  and   shtdesc.master_ou_code  = ldef.master_ou_code
2017-01-30 09:13:00.190	spid26s	  and   ldef.leave_type_code      = tmp.leave_type_code
2017-01-30 09:13:00.190	spid26s	  and   shtdesc.leave_type_code  = ldef.leave_type_code
2017-01-30 09:13:00.190	spid26s	  and   ldef.effective_from_date  = ldef.effective_from_date
2017-01-30 09:13:00.190	spid26s	  and   convert(nvarchar(11),ldef.effective_from_date,121) <= isnull(tmp.periodto,dbo.RES_Getdate(@ctxt_ouinstance))--Code Changed by

Karthick.P.S. for defect id: HRMS20_HRMSLVSER_DN_00079 on 29/Jul/2009
2017-01-30 09:13:00.190	spid26s	  and   convert(nvarchar(11),isnull(ldef.effective_to_date,'9999-12-31'),121) >= tmp.periodfro
2017-01-30 09:13:00.190	spid26s	     frame procname=HRMS40.dbo.LVM_LeaveWidget_fet_sp line=175 stmtstart=13774 stmtend=15854

sqlhandle=0x030009008fcda257f6f10f015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 09:13:00.190	spid26s	insert into @tmp_table
2017-01-30 09:13:00.190	spid26s	  (
2017-01-30 09:13:00.190	spid26s	  hrladjustcarryunitrs1,
2017-01-30 09:13:00.190	spid26s	  hrladjustencashunits1,
2017-01-30 09:13:00.190	spid26s	  hrladjustentunits1 ,
2017-01-30 09:13:00.190	spid26s	  hrlavailedunits1 ,
2017-01-30 09:13:00.190	spid26s	  hrlcarryoverunits1 ,
2017-01-30 09:13:00.190	spid26s	  hrleavetypeshdesc1 ,
2017-01-30 09:13:00.190	spid26s	  hrleaveunitsdesc1 ,
2017-01-30 09:13:00.190	spid26s	  hrlencashunits1  ,
2017-01-30 09:13:00.190	spid26s	  hrlentitledunits1 ,
2017-01-30 09:13:00.190	spid26s	  hrlleavebalanceunits1,
2017-01-30 09:13:00.190	spid26s	  hrperiodfrom1  ,
2017-01-30 09:13:00.190	spid26s	  hrperiodto1   ,
2017-01-30 09:13:00.190	spid26s	  hrladjustavlunits1 ,
2017-01-30 09:13:00.190	spid26s	  hrlforftdunits1  ,
2017-01-30 09:13:00.190	spid26s	  hrappliedunits  ,
2017-01-30 09:13:00.190	spid26s	  hrleavetypecode  ,
2017-01-30 09:13:00.190	spid26s	  hrapprovedunits  ,
2017-01-30 09:13:00.190	spid26s	  carryunits_template ,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 09:13:00.190	spid26s	  availunits_template ,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 09:13:00.190	spid26s	  encashunits_template,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 09:13:00.190	spid26s	  entitleunits_template,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 09:13:00.190	spid26s	  appliedunits_template   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 09:13:00.190	spid26s	  )
2017-01-30 09:13:00.190	spid26s	  exec lv_vwlsy_fetchgriid_sp @ctxt_language,@empngou,'PORTAL','test',@ctxt_user,null,@login_user_code,null,@hdnou,null,
2017-01-30 09:13:00.190	spid26s	     frame procname=HRMS40.dbo.EIP_anch_SpfetHdrFet line=1652 stmtstart=121746 stmtend=122384

sqlhandle=0x030009007990aa2689af0f015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 09:13:00.190	spid26s	exec LVM_LeaveWidget_fet_sp @ctxt_ouinstance, @ctxt_user,@ctxt_language,@ctxt_service,@ctxt_role,
2017-01-30 09:13:00.190	spid26s	    @available_days out, @available_hrs out,  @Emp_dtl out, @empname out, @empphoto out,
2017-01-30 09:13:00.190	spid26s	    @emp_desig out, @emp_dept out, @email out, @chart  out,@m_errorid out
2017-01-30 09:13:00.190	spid26s	    inputbuf
2017-01-30 09:13:00.190	spid26s	Proc [Database Id = 9 Object Id = 648712313]
2017-01-30 09:13:00.190	spid26s	   process id=processb7ecec4e8 taskpriority=0 logused=476 waitresource=RID: 9:1:171723:0 waittime=2388 ownerId=440181477

transactionname=user_transaction lasttranstarted=2017-01-30T09:12:56.733 XDES=0xa47c543b0 lockMode=U schedulerid=2 kpid=20016 status=suspended spid=61 sbid=0 ecid=0

priority=0 trancount=2 lastbatchstarted=2017-01-30T09:12:57.277 lastbatchcompleted=2017-01-30T09:12:56.733 lastattention=1900-01-01T00:00:00.733 clientapp=.Net

SqlClient Data Provider hostname=MAGWARAZIND06 hostpid=22308 loginname=rvwuser isolationlevel=read committed (2) xactid=440181477 currentdb=9 lockTimeout=4294967295

clientoption1=538968096 clientoption2=128056
2017-01-30 09:13:00.190	spid26s	    executionStack
2017-01-30 09:13:00.190	spid26s	     frame procname=HRMS40.dbo.lv_vwlsy_fetchgriid_sp line=277 stmtstart=25132 stmtend=26664

sqlhandle=0x03000900651675504d200d015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 09:13:00.190	spid26s	update tmp
2017-01-30 09:13:00.190	spid26s	  set tmp.leavetypeshdesc = shtdesc.leave_type_shrt_desc
2017-01-30 09:13:00.190	spid26s	  from ladm_leave_summary_tmp tmp,ldef_leave_type_desc shtdesc,hrcmn_ldef_leave_type_vw ldef
2017-01-30 09:13:00.190	spid26s	  where guid = @hrguid
2017-01-30 09:13:00.190	spid26s	  and   ldef.master_ou_code      = @leavedefou
2017-01-30 09:13:00.190	spid26s	  and   shtdesc.master_ou_code  = ldef.master_ou_code
2017-01-30 09:13:00.190	spid26s	  and   ldef.leave_type_code      = tmp.leave_type_code
2017-01-30 09:13:00.190	spid26s	  and   shtdesc.leave_type_code  = ldef.leave_type_code
2017-01-30 09:13:00.190	spid26s	  and   ldef.effective_from_date  = ldef.effective_from_date
2017-01-30 09:13:00.200	spid26s	  and   convert(nvarchar(11),ldef.effective_from_date,121) <= isnull(tmp.periodto,dbo.RES_Getdate(@ctxt_ouinstance))--Code Changed by

Karthick.P.S. for defect id: HRMS20_HRMSLVSER_DN_00079 on 29/Jul/2009
2017-01-30 09:13:00.200	spid26s	  and   convert(nvarchar(11),isnull(ldef.effective_to_date,'9999-12-31'),121) >= tmp.periodfro
2017-01-30 09:13:00.200	spid26s	     frame procname=HRMS40.dbo.LVM_LeaveWidget_fet_sp line=175 stmtstart=13774 stmtend=15854

sqlhandle=0x030009008fcda257f6f10f015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 09:13:00.200	spid26s	insert into @tmp_table
2017-01-30 09:13:00.200	spid26s	  (
2017-01-30 09:13:00.200	spid26s	  hrladjustcarryunitrs1,
2017-01-30 09:13:00.200	spid26s	  hrladjustencashunits1,
2017-01-30 09:13:00.200	spid26s	  hrladjustentunits1 ,
2017-01-30 09:13:00.200	spid26s	  hrlavailedunits1 ,
2017-01-30 09:13:00.200	spid26s	  hrlcarryoverunits1 ,
2017-01-30 09:13:00.200	spid26s	  hrleavetypeshdesc1 ,
2017-01-30 09:13:00.200	spid26s	  hrleaveunitsdesc1 ,
2017-01-30 09:13:00.200	spid26s	  hrlencashunits1  ,
2017-01-30 09:13:00.200	spid26s	  hrlentitledunits1 ,
2017-01-30 09:13:00.200	spid26s	  hrlleavebalanceunits1,
2017-01-30 09:13:00.200	spid26s	  hrperiodfrom1  ,
2017-01-30 09:13:00.200	spid26s	  hrperiodto1   ,
2017-01-30 09:13:00.200	spid26s	  hrladjustavlunits1 ,
2017-01-30 09:13:00.200	spid26s	  hrlforftdunits1  ,
2017-01-30 09:13:00.200	spid26s	  hrappliedunits  ,
2017-01-30 09:13:00.200	spid26s	  hrleavetypecode  ,
2017-01-30 09:13:00.200	spid26s	  hrapprovedunits  ,
2017-01-30 09:13:00.200	spid26s	  carryunits_template ,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 09:13:00.200	spid26s	  availunits_template ,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 09:13:00.200	spid26s	  encashunits_template,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 09:13:00.200	spid26s	  entitleunits_template,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 09:13:00.200	spid26s	  appliedunits_template   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 09:13:00.200	spid26s	  )
2017-01-30 09:13:00.200	spid26s	  exec lv_vwlsy_fetchgriid_sp @ctxt_language,@empngou,'PORTAL','test',@ctxt_user,null,@login_user_code,null,@hdnou,null,
2017-01-30 09:13:00.200	spid26s	     frame procname=HRMS40.dbo.EIP_anch_SpfetHdrFet line=1652 stmtstart=121746 stmtend=122384

sqlhandle=0x030009007990aa2689af0f015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 09:13:00.200	spid26s	exec LVM_LeaveWidget_fet_sp @ctxt_ouinstance, @ctxt_user,@ctxt_language,@ctxt_service,@ctxt_role,
2017-01-30 09:13:00.200	spid26s	    @available_days out, @available_hrs out,  @Emp_dtl out, @empname out, @empphoto out,
2017-01-30 09:13:00.200	spid26s	    @emp_desig out, @emp_dept out, @email out, @chart  out,@m_errorid out
2017-01-30 09:13:00.200	spid26s	    inputbuf
2017-01-30 09:13:00.200	spid26s	Proc [Database Id = 9 Object Id = 648712313]
2017-01-30 09:13:00.200	spid26s	  resource-list
2017-01-30 09:13:00.200	spid26s	   ridlock fileid=1 pageid=171720 dbid=9 objectname=HRMS40.dbo.ladm_leave_summary_tmp id=lockdbb18600 mode=X

associatedObjectId=72057594270449664
2017-01-30 09:13:00.200	spid26s	    owner-list
2017-01-30 09:13:00.200	spid26s	     owner id=processb7ecec4e8 mode=X
2017-01-30 09:13:00.200	spid26s	    waiter-list
2017-01-30 09:13:00.200	spid26s	     waiter id=process16e302d088 mode=U requestType=wait
2017-01-30 09:13:00.200	spid26s	   ridlock fileid=1 pageid=171723 dbid=9 objectname=HRMS40.dbo.ladm_leave_summary_tmp id=lockebf414d00 mode=X

associatedObjectId=72057594270449664
2017-01-30 09:13:00.200	spid26s	    owner-list
2017-01-30 09:13:00.200	spid26s	     owner id=process16e302d088 mode=X
2017-01-30 09:13:00.200	spid26s	    waiter-list
2017-01-30 09:13:00.200	spid26s	     waiter id=processb7ecec4e8 mode=U requestType=wait
2017-01-30 11:13:24.200	spid23s	deadlock-list
2017-01-30 11:13:24.200	spid23s	 deadlock victim=process8e485a108
2017-01-30 11:13:24.200	spid23s	  process-list
2017-01-30 11:13:24.200	spid23s	   process id=process8e485a108 taskpriority=0 logused=472 waitresource=RID: 9:1:182144:0 waittime=4145 ownerId=441225200

transactionname=user_transaction lasttranstarted=2017-01-30T11:13:20.037 XDES=0x1f49e7880 lockMode=U schedulerid=4 kpid=18644 status=suspended spid=62 sbid=0 ecid=0

priority=0 trancount=2 lastbatchstarted=2017-01-30T11:13:20.037 lastbatchcompleted=2017-01-30T11:13:20.037 lastattention=1900-01-01T00:00:00.037 clientapp=.Net

SqlClient Data Provider hostname=MAGWARAZIND06 hostpid=22308 loginname=rvwuser isolationlevel=read committed (2) xactid=441225200 currentdb=9 lockTimeout=4294967295

clientoption1=538968096 clientoption2=128056
2017-01-30 11:13:24.200	spid23s	    executionStack
2017-01-30 11:13:24.200	spid23s	     frame procname=HRMS40.dbo.lv_vwlsy_fetchgriid_sp line=277 stmtstart=25132 stmtend=26664

sqlhandle=0x03000900651675504d200d015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 11:13:24.200	spid23s	update tmp
2017-01-30 11:13:24.200	spid23s	  set tmp.leavetypeshdesc = shtdesc.leave_type_shrt_desc
2017-01-30 11:13:24.200	spid23s	  from ladm_leave_summary_tmp tmp,ldef_leave_type_desc shtdesc,hrcmn_ldef_leave_type_vw ldef
2017-01-30 11:13:24.200	spid23s	  where guid = @hrguid
2017-01-30 11:13:24.200	spid23s	  and   ldef.master_ou_code      = @leavedefou
2017-01-30 11:13:24.200	spid23s	  and   shtdesc.master_ou_code  = ldef.master_ou_code
2017-01-30 11:13:24.200	spid23s	  and   ldef.leave_type_code      = tmp.leave_type_code
2017-01-30 11:13:24.200	spid23s	  and   shtdesc.leave_type_code  = ldef.leave_type_code
2017-01-30 11:13:24.200	spid23s	  and   ldef.effective_from_date  = ldef.effective_from_date
2017-01-30 11:13:24.200	spid23s	  and   convert(nvarchar(11),ldef.effective_from_date,121) <= isnull(tmp.periodto,dbo.RES_Getdate(@ctxt_ouinstance))--Code Changed by

Karthick.P.S. for defect id: HRMS20_HRMSLVSER_DN_00079 on 29/Jul/2009
2017-01-30 11:13:24.200	spid23s	  and   convert(nvarchar(11),isnull(ldef.effective_to_date,'9999-12-31'),121) >= tmp.periodfro
2017-01-30 11:13:24.200	spid23s	     frame procname=HRMS40.dbo.LVM_LeaveWidget_fet_sp line=175 stmtstart=13774 stmtend=15854

sqlhandle=0x030009008fcda257f6f10f015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 11:13:24.200	spid23s	insert into @tmp_table
2017-01-30 11:13:24.200	spid23s	  (
2017-01-30 11:13:24.200	spid23s	  hrladjustcarryunitrs1,
2017-01-30 11:13:24.200	spid23s	  hrladjustencashunits1,
2017-01-30 11:13:24.200	spid23s	  hrladjustentunits1 ,
2017-01-30 11:13:24.200	spid23s	  hrlavailedunits1 ,
2017-01-30 11:13:24.200	spid23s	  hrlcarryoverunits1 ,
2017-01-30 11:13:24.200	spid23s	  hrleavetypeshdesc1 ,
2017-01-30 11:13:24.210	spid23s	  hrleaveunitsdesc1 ,
2017-01-30 11:13:24.210	spid23s	  hrlencashunits1  ,
2017-01-30 11:13:24.210	spid23s	  hrlentitledunits1 ,
2017-01-30 11:13:24.210	spid23s	  hrlleavebalanceunits1,
2017-01-30 11:13:24.210	spid23s	  hrperiodfrom1  ,
2017-01-30 11:13:24.210	spid23s	  hrperiodto1   ,
2017-01-30 11:13:24.210	spid23s	  hrladjustavlunits1 ,
2017-01-30 11:13:24.210	spid23s	  hrlforftdunits1  ,
2017-01-30 11:13:24.210	spid23s	  hrappliedunits  ,
2017-01-30 11:13:24.210	spid23s	  hrleavetypecode  ,
2017-01-30 11:13:24.210	spid23s	  hrapprovedunits  ,
2017-01-30 11:13:24.210	spid23s	  carryunits_template ,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 11:13:24.210	spid23s	  availunits_template ,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 11:13:24.210	spid23s	  encashunits_template,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 11:13:24.210	spid23s	  entitleunits_template,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 11:13:24.210	spid23s	  appliedunits_template   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 11:13:24.210	spid23s	  )
2017-01-30 11:13:24.210	spid23s	  exec lv_vwlsy_fetchgriid_sp @ctxt_language,@empngou,'PORTAL','test',@ctxt_user,null,@login_user_code,null,@hdnou,null,
2017-01-30 11:13:24.210	spid23s	     frame procname=HRMS40.dbo.EIP_anch_SpfetHdrFet line=1652 stmtstart=121746 stmtend=122384

sqlhandle=0x030009007990aa2689af0f015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 11:13:24.210	spid23s	exec LVM_LeaveWidget_fet_sp @ctxt_ouinstance, @ctxt_user,@ctxt_language,@ctxt_service,@ctxt_role,
2017-01-30 11:13:24.210	spid23s	    @available_days out, @available_hrs out,  @Emp_dtl out, @empname out, @empphoto out,
2017-01-30 11:13:24.210	spid23s	    @emp_desig out, @emp_dept out, @email out, @chart  out,@m_errorid out
2017-01-30 11:13:24.210	spid23s	    inputbuf
2017-01-30 11:13:24.210	spid23s	Proc [Database Id = 9 Object Id = 648712313]
2017-01-30 11:13:24.210	spid23s	   process id=processff44fb088 taskpriority=0 logused=25796 waitresource=RID: 9:1:201736:0 waittime=4109 ownerId=441225017

transactionname=user_transaction lasttranstarted=2017-01-30T11:13:19.963 XDES=0x5ca02ed90 lockMode=U schedulerid=1 kpid=10424 status=suspended spid=64 sbid=0 ecid=0

priority=0 trancount=2 lastbatchstarted=2017-01-30T11:13:19.967 lastbatchcompleted=2017-01-30T11:13:19.963 lastattention=1900-01-01T00:00:00.963 clientapp=.Net

SqlClient Data Provider hostname=MAGWARAZIND06 hostpid=22308 loginname=rvwuser isolationlevel=read committed (2) xactid=441225017 currentdb=9 lockTimeout=4294967295

clientoption1=538968096 clientoption2=128056
2017-01-30 11:13:24.210	spid23s	    executionStack
2017-01-30 11:13:24.210	spid23s	     frame procname=HRMS40.dbo.lv_vwlsy_fetchgriid_sp line=730 stmtstart=73286 stmtend=73516

sqlhandle=0x03000900651675504d200d015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 11:13:24.210	spid23s	delete from ladm_leave_summary_tmp where guid = @hrguid
2017-01-30 11:13:24.210	spid23s	  and entitle_flag  in ('N','CN')
2017-01-30 11:13:24.210	spid23s	  and availedunits  =
2017-01-30 11:13:24.210	spid23s	     frame procname=HRMS40.dbo.LVM_LeaveWidget_fet_sp line=175 stmtstart=13774 stmtend=15854

sqlhandle=0x030009008fcda257f6f10f015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 11:13:24.210	spid23s	insert into @tmp_table
2017-01-30 11:13:24.210	spid23s	  (
2017-01-30 11:13:24.210	spid23s	  hrladjustcarryunitrs1,
2017-01-30 11:13:24.210	spid23s	  hrladjustencashunits1,
2017-01-30 11:13:24.210	spid23s	  hrladjustentunits1 ,
2017-01-30 11:13:24.210	spid23s	  hrlavailedunits1 ,
2017-01-30 11:13:24.210	spid23s	  hrlcarryoverunits1 ,
2017-01-30 11:13:24.210	spid23s	  hrleavetypeshdesc1 ,
2017-01-30 11:13:24.210	spid23s	  hrleaveunitsdesc1 ,
2017-01-30 11:13:24.210	spid23s	  hrlencashunits1  ,
2017-01-30 11:13:24.210	spid23s	  hrlentitledunits1 ,
2017-01-30 11:13:24.210	spid23s	  hrlleavebalanceunits1,
2017-01-30 11:13:24.210	spid23s	  hrperiodfrom1  ,
2017-01-30 11:13:24.210	spid23s	  hrperiodto1   ,
2017-01-30 11:13:24.210	spid23s	  hrladjustavlunits1 ,
2017-01-30 11:13:24.210	spid23s	  hrlforftdunits1  ,
2017-01-30 11:13:24.210	spid23s	  hrappliedunits  ,
2017-01-30 11:13:24.210	spid23s	  hrleavetypecode  ,
2017-01-30 11:13:24.210	spid23s	  hrapprovedunits  ,
2017-01-30 11:13:24.210	spid23s	  carryunits_template ,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 11:13:24.210	spid23s	  availunits_template ,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 11:13:24.210	spid23s	  encashunits_template,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 11:13:24.210	spid23s	  entitleunits_template,   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 11:13:24.210	spid23s	  appliedunits_template   /*Code added by Srinath to fetch adjustments in Leave summary */
2017-01-30 11:13:24.210	spid23s	  )
2017-01-30 11:13:24.210	spid23s	  exec lv_vwlsy_fetchgriid_sp @ctxt_language,@empngou,'PORTAL','test',@ctxt_user,null,@login_user_code,null,@hdnou,null,
2017-01-30 11:13:24.210	spid23s	     frame procname=HRMS40.dbo.EIP_anch_SpfetHdrFet line=1652 stmtstart=121746 stmtend=122384

sqlhandle=0x030009007990aa2689af0f015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 11:13:24.210	spid23s	exec LVM_LeaveWidget_fet_sp @ctxt_ouinstance, @ctxt_user,@ctxt_language,@ctxt_service,@ctxt_role,
2017-01-30 11:13:24.210	spid23s	    @available_days out, @available_hrs out,  @Emp_dtl out, @empname out, @empphoto out,
2017-01-30 11:13:24.210	spid23s	    @emp_desig out, @emp_dept out, @email out, @chart  out,@m_errorid out
2017-01-30 11:13:24.210	spid23s	     frame procname=HRMS40.dbo.EIP_anch_Sphdn_prHdrRef line=1411 stmtstart=97386 stmtend=130426

sqlhandle=0x03000900ad556e672f6d0e015da6000001000000000000000000000000000000000000000000000000000000
2017-01-30 11:13:24.210	spid23s	EXEC EIP_anch_SpfetHdrFet
2017-01-30 11:13:24.210	spid23s	     @ctxt_ouinstance         ,
2017-01-30 11:13:24.210	spid23s	     @ctxt_user               ,
2017-01-30 11:13:24.210	spid23s	     @ctxt_language           ,
2017-01-30 11:13:24.210	spid23s	     @ctxt_service            ,
2017-01-30 11:13:24.210	spid23s	     @ctxt_role               ,
2017-01-30 11:13:24.210	spid23s	     @amnt_ed                 ,
2017-01-30 11:13:24.210	spid23s	     @attache                 ,
2017-01-30 11:13:24.210	spid23s	     @available               ,
2017-01-30 11:13:24.210	spid23s	     @bal_dis                 ,
2017-01-30 11:13:24.210	spid23s	     @benefits_hdn1           ,
2017-01-30 11:13:24.210	spid23s	     @benefits_hdn10          ,
2017-01-30 11:13:24.210	spid23s	     @benefits_hdn2           ,
2017-01-30 11:13:24.210	spid23s	     @benefits_hdn3           ,
2017-01-30 11:13:24.210	spid23s	     @benefits_hdn4           ,
2017-01-30 11:13:24.210	spid23s	     @benefits_hdn5           ,
2017-01-30 11:13:24.210	spid23s	     @benefits_hdn6           ,
2017-01-30 11:13:24.210	spid23s	     @benefits_hdn7           ,
2017-01-30 11:13:24.210	spid23s	     @benefits_hdn8           ,
2017-01-30 11:13:24.210	spid23s	     @benefits_hdn9           ,
2017-01-30 11:13:24.210	spid23s	     @btn_timehiglit          ,
2017-01-30 11:13:24.210	spid23s	     @btn_tran_highlt         ,
2017-01-30 11:13:24.210	spid23s	     @check_box               ,
2017-01-30 11:13:24.210	spid23s	     @coursl_set_vw           ,
2017-01-30 11:13:24.210	spid23s	     @dateadded               ,
2017-01-30 11:13:24.210	spid23s	     @datemodified            ,
2017-01-30 11:13:24.210	spid23s	     @empin_ou                ,
2017-01-30 11:13:24.210	spid23s	     @employee_code           ,
2017-01-30 11:13:24.210	spid23s	     @empngou                 ,
2017-01-30 11:13:24.210	spid23s	     @emp_det                 ,
2017-01-30 11:13:24.210	spid23s	@emp_pic                 ,
2017-01-30 11:13:24.210	spid23s	     @end_da
2017-01-30 11:13:24.210	spid23s	    inputbuf
2017-01-30 11:13:24.210	spid23s	Proc [Database Id = 9 Object Id = 1735284141]
2017-01-30 11:13:24.210	spid23s	  resource-list
2017-01-30 11:13:24.210	spid23s	   ridlock fileid=1 pageid=182144 dbid=9 objectname=HRMS40.dbo.ladm_leave_summary_tmp id=lock5cec07100 mode=X

associatedObjectId=72057594270449664
2017-01-30 11:13:24.210	spid23s	    owner-list
2017-01-30 11:13:24.210	spid23s	     owner id=processff44fb088 mode=X
2017-01-30 11:13:24.210	spid23s	    waiter-list
2017-01-30 11:13:24.210	spid23s	     waiter id=process8e485a108 mode=U requestType=wait
2017-01-30 11:13:24.210	spid23s	   ridlock fileid=1 pageid=201736 dbid=9 objectname=HRMS40.dbo.ladm_leave_summary_tmp id=locke8a0b3980 mode=X

associatedObjectId=72057594270449664
2017-01-30 11:13:24.210	spid23s	    owner-list
2017-01-30 11:13:24.210	spid23s	     owner id=process8e485a108 mode=X
2017-01-30 11:13:24.210	spid23s	    waiter-list
2017-01-30 11:13:24.210	spid23s	     waiter id=processff44fb088 mode=U requestType=wait
2017-01-31 14:41:10.110	spid29s	deadlock-list
2017-01-31 14:41:10.110	spid29s	 deadlock victim=process1402c23848
2017-01-31 14:41:10.110	spid29s	  process-list
2017-01-31 14:41:10.110	spid29s	   process id=process1402c23848 taskpriority=0 logused=1536 waitresource=RID: 9:1:386747:0 waittime=3752 ownerId=467398737

transactionname=user_transaction lasttranstarted=2017-01-31T14:41:06.313 XDES=0xba2809770 lockMode=U schedulerid=1 kpid=18820 status=suspended spid=70 sbid=0 ecid=0

priority=0 trancount=2 lastbatchstarted=2017-01-31T14:41:06.313 lastbatchcompleted=2017-01-31T14:41:06.313 lastattention=1900-01-01T00:00:00.313 clientapp=.Net

SqlClient Data Provider hostname=MAGWARAZIND06 hostpid=12744 loginname=rvwuser isolationlevel=read committed (2) xactid=467398737 currentdb=9 lockTimeout=4294967295

clientoption1=538968096 clientoption2=128056
2017-01-31 14:41:10.110	spid29s	    executionStack
2017-01-31 14:41:10.110	spid29s	     frame procname=HRMS40.dbo.emp_service_calculation line=96 stmtstart=12078 stmtend=12930

sqlhandle=0x03000900253ebe479bf6b800c4a5000001000000000000000000000000000000000000000000000000000000
2017-01-31 14:41:10.110	spid29s	update  old
2017-01-31 14:41:10.110	spid29s	 set old.service_from_dt =   isnull(convert(nvarchar(11),reh.rehire_date,121),service_from_dt)
2017-01-31 14:41:10.110	spid29s	 from    emp_service_temp old with (nolock)  ,hrmv_emp_rehire_dtl reh with (nolock)
2017-01-31 14:41:10.110	spid29s	   where  guid = @guid
2017-01-31 14:41:10.110	spid29s	   and    old.master_ou_code = reh.master_ou_code
2017-01-31 14:41:10.110	spid29s	   and    old.employee_code  = reh.employee_code
2017-01-31 14:41:10.110	spid29s	   and    rehire_status        = 'A'
2017-01-31 14:41:10.110	spid29s	   and    reh.rehire_date       <= @srv_asondat
2017-01-31 14:41:10.110	spid29s	     frame procname=HRMS40.dbo.lvser_mtnlv_ini_lvtype_sp line=208 stmtstart=18850 stmtend=19090

sqlhandle=0x03000900ceeaa92f49850f015da6000001000000000000000000000000000000000000000000000000000000
2017-01-31 14:41:10.110	spid29s	exec emp_service_calculation '999999999999991',@hremployeecode,'N','N','N','N','N','N','N',@current_date,2,'DAYS'
2017-01-31 14:41:10.110	spid29s	     frame procname=HRMS40.dbo.LVM_qreq_Spinithrtype line=77 stmtstart=5188 stmtend=5620

sqlhandle=0x030009009f828a04eb8f0f015da6000001000000000000000000000000000000000000000000000000000000
2017-01-31 14:41:10.110	spid29s	Insert Into @leave_types (Leave_type_code, Leave_type_desc)
2017-01-31 14:41:10.110	spid29s	 Exec Lvser_mtnlv_ini_lvtype_sp
2017-01-31 14:41:10.110	spid29s	   @ctxt_language,
2017-01-31 14:41:10.110	spid29s	   @ctxt_ouinstance,
2017-01-31 14:41:10.110	spid29s	   @ctxt_role,
2017-01-31 14:41:10.110	spid29s	   @ctxt_service,
2017-01-31 14:41:10.110	spid29s	   @ctxt_user,
2017-01-31 14:41:10.110	spid29s	   'A',
2017-01-31 14:41:10.110	spid29s	   @m_errorid Outpu
2017-01-31 14:41:10.110	spid29s	    inputbuf
2017-01-31 14:41:10.110	spid29s	Proc [Database Id = 9 Object Id = 76186271]
2017-01-31 14:41:10.110	spid29s	   process id=process18e7cc7c28 taskpriority=0 logused=2395404 waitresource=RID: 9:1:347381:0 waittime=3554 ownerId=467378050

transactionguid=0xcd66fcf5d5507843b0907cdcca049035 transactionname=user_transaction lasttranstarted=2017-01-31T14:40:52.220 XDES=0x1f3ba03b0 lockMode=U schedulerid=3

kpid=15024 status=suspended spid=66 sbid=0 ecid=0 priority=0 trancount=2 lastbatchstarted=2017-01-31T14:41:06.373 lastbatchcompleted=2017-01-31T14:41:06.370

lastattention=1900-01-01T00:00:00.370 clientapp=.Net SqlClient Data Provider hostname=MAGWARAZIND06 hostpid=12744 loginname=rvwuser isolationlevel=read committed (2)

xactid=467378050 currentdb=9 lockTimeout=4294967295 clientoption1=538968096 clientoption2=128056
2017-01-31 14:41:10.110	spid29s	    executionStack
2017-01-31 14:41:10.110	spid29s	     frame procname=HRMS40.dbo.emp_service_calculation line=96 stmtstart=12078 stmtend=12930

sqlhandle=0x03000900253ebe479bf6b800c4a5000001000000000000000000000000000000000000000000000000000000
2017-01-31 14:41:10.110	spid29s	update  old
2017-01-31 14:41:10.110	spid29s	 set old.service_from_dt =   isnull(convert(nvarchar(11),reh.rehire_date,121),service_from_dt)
2017-01-31 14:41:10.110	spid29s	 from    emp_service_temp old with (nolock)  ,hrmv_emp_rehire_dtl reh with (nolock)
2017-01-31 14:41:10.110	spid29s	   where  guid = @guid
2017-01-31 14:41:10.110	spid29s	   and    old.master_ou_code = reh.master_ou_code
2017-01-31 14:41:10.110	spid29s	   and    old.employee_code  = reh.employee_code
2017-01-31 14:41:10.110	spid29s	   and    rehire_status        = 'A'
2017-01-31 14:41:10.110	spid29s	   and    reh.rehire_date       <= @srv_asondat
2017-01-31 14:41:10.110	spid29s	     frame procname=HRMS40.dbo.lv_appln_common_sp line=1054 stmtstart=95608 stmtend=96074

sqlhandle=0x03000900af38b846eecfbe005ea6000001000000000000000000000000000000000000000000000000000000
2017-01-31 14:41:10.110	spid29s	exec emp_service_calculation @guid,@hremployeecode,'N','Y',@srv_rehire_dt,'N','N','N','Y',@leave_from_date,2,@min_srv_uom --

@currentdate,2,@min_srv_uom --code modified by Gopinath For bug id HRMS20_HRMSLVDEF_DN_00107 on 04/06/2013
2017-01-31 14:41:10.110	spid29s	     frame procname=HRMS40.dbo.lad_alem_sp_subgrid line=1134 stmtstart=79352 stmtend=82820

sqlhandle=0x030009007be26a2ed74e0e015da6000001000000000000000000000000000000000000000000000000000000
2017-01-31 14:41:10.110	spid29s	exec lv_appln_common_sp @hrouinstance__Tmp__1 ,@ctxt_user ,@ctxt_role ,@ctxt_service ,@ctxt_language ,
2017-01-31 14:41:10.110	spid29s	             'A','HRMSLVPST',@hrempcode__Tmp__1 ,@hrleavetypecode__Tmp__1 ,
2017-01-31 14:41:10.110	spid29s	      @tmp_request_date,
2017-01-31 14:41:10.110	spid29s	      @tmp_lvfrom_date,
2017-01-31 14:41:10.110	spid29s	      @tmp_lvto_date,
2017-01-31 14:41:10.110	spid29s	      @hrvaluecode__Tmp__1 ,
2017-01-31 14:41:10.110	spid29s	      @hrvaluecode1__Tmp__1 ,
2017-01-31 14:41:10.110	spid29s	      @hrtimefrom1__Tmp__1 ,
2017-01-31 14:41:10.110	spid29s	      @hrtimeto1__Tmp__1 ,
2017-01-31 14:41:10.110	spid29s	      @hrquickcode__Tmp__1 ,
2017-01-31 14:41:10.110	spid29s	      @hrleavereason1__Tmp__1 ,
2017-01-31 14:41:10.110	spid29s	      @hrcoverempcode1__Tmp__1 ,
2017-01-31 14:41:10.110	spid29s	      @hrsupportdocsprov__Tmp__1 ,
2017-01-31 14:41:10.110	spid29s	      @hrlvsuptdocuments__Tmp__1 ,
2017-01-31 14:41:10.110	spid29s	      0 ,
2017-01-31 14:41:10.110	spid29s	      @hrladm_holdy_wrkd_dat ,---Code Added by SHAMEEMA H for the Defect ID:HRMS20_HRMSLVPRO_DN_00082 on 02-08-2014
2017-01-31 14:41:10.110	spid29s	   null,---Code added by Abinaya.M for  Magna_00022_2016 on 10/05/2016
2017-01-31 14:41:10.110	spid29s	   null,---Code added by Abinaya.M for  Magna_00022_2016 on 10/05/2016
2017-01-31 14:41:10.110	spid29s	      @hrleaveunitcd__Tmp__1  output,
2017-01-31 14:41:10.110	spid29s	      @Parm_std_hrs_per_day  output,
2017-01-31 14:41:10.110	spid29s	      @past_flag  output,
2017-01-31 14:41:10.110	spid29s	      @guid   output,
2017-01-31 14:41:10.110	spid29s	    inputbuf
2017-01-31 14:41:10.110	spid29s	Proc [Database Id = 9 Object Id = 778756731]
2017-01-31 14:41:10.110	spid29s	  resource-list
2017-01-31 14:41:10.110	spid29s	   ridlock fileid=1 pageid=386747 dbid=9 objectname=HRMS40.dbo.emp_service_temp id=lockb69078e00 mode=X

associatedObjectId=72057594038452224



Since the content in the notepad is huge, i couldnt send all in detail, Can you share me your mail id where in i can share the logs in Zip if in case you need to have a look in detail of the notepad. 

Thank s


hemadri


Viewing all articles
Browse latest Browse all 1519

Trending Articles