Viewing 15 posts - 46 through 60 (of 382 total)
you are right, I tried running select req_transactionUOW
from master..syslockinfo
where req_spid = -2
and it only told me the transaction but not really what it was running, is there any other way...
April 2, 2012 at 4:46 pm
Thank you Gila, i will find out what the -2 spid is running, it appears it happens constantly.
April 2, 2012 at 8:34 am
when i run select * from sys.sysprocesses , i find the spid#, with the blocked column with the -2
then i use that spid and run dbcc inputbuffer (spid#)
and i see...
April 1, 2012 at 7:50 am
yes the same spid that is doing the rebuild is the one with -2, I keep checking and is not really blocking any spids. Could it be because there...
March 31, 2012 at 10:29 pm
the weird thing is that it happens everytime the script to rebuild is ran, could it be something wrong with that certain table?
March 31, 2012 at 4:19 pm
thanks, but you still have not answered my question, why does the spid which is doing the rebuild index a Negative spid?, (blkd column has a -2) , which is...
March 30, 2012 at 9:39 am
February 21, 2012 at 6:20 pm
figured it out 🙂
=Format(TimeSerial(0,0,Fields!myint.Value),"HH:mm:ss")
hope it helps someone some day 🙂
April 5, 2011 at 3:23 pm
thanks for your reply, here you go:
create Proc [dbo].[usp_ReplicationLatency_n]
as
SET NOCOUNT ON
declare @srvname varchar(100)
declare @pub_db varchar(100)
declare @pubname varchar(100)
create table #replmonitor(
status int null,
warning...
February 17, 2011 at 1:40 pm
This is the error:
OLE DB provider "SQLNCLI" for linked server "(null)" returned message "Deferred prepare could not be completed.".
Msg 8180, Level 16, State 1, Line 1
Statement(s) could not be...
February 16, 2011 at 3:04 pm
ForFiles does'nt support UNC paths, that is why i am trying to use this code 🙂
February 9, 2011 at 2:51 pm
i tried your code but i keep getting the error The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value. [SQLSTATE 22007] (Error...
February 9, 2011 at 2:44 pm
Viewing 15 posts - 46 through 60 (of 382 total)