Viewing 15 posts - 121 through 135 (of 233 total)
I figured out that SPID -2 is some kind of SQL server process and is visible in Activity monitor.
But, why is it blocking my process? :ermm:
March 16, 2009 at 12:00 pm
this is because _ is a wildchard character for single character
March 4, 2009 at 12:58 am
Mike Levan (2/26/2009)
sometimes i am confused with status it shows in the activity monitor. why does it show suspended for an active query?
The process goes in suspended mode if some...
February 27, 2009 at 12:56 am
Roy Ernest (2/26/2009)
But here it runs into a small complication.
Let us say Customer 1023 Deposited one amount yesterday (TranID 1) and he also made a...
February 27, 2009 at 12:26 am
I don't know how this will perform on large number of records (As row_number is used, the above query requires sort operation.)
But it works even if you have multiple debits...
February 26, 2009 at 7:49 am
execute sp_who2
and check whether your job is blocked by some other process
to see what command is executing execute dbcc inputbuffer([yourProcessID])
(you can get the process id from sp_who2)
BTW what kind of...
February 26, 2009 at 7:10 am
I don't think this is possible. According to me you have to create 2 different SPs and have 2 datasets for each to get the result.
If someone knows the solution(using...
February 25, 2009 at 12:13 pm
sqlcmd -s ip,port -i [file path] -U usename -P passwrd -Q "Query"
February 4, 2009 at 1:39 am
Save the SQL statements in a .sql file and use SQLCMD.EXE to execute this file from the batch file
February 4, 2009 at 12:25 am
As the code is not posted, I am guessing you are doing something like:
INSERT INTO @yourTableVar Execute yourSP
Please note the following things about the table variables
- You can not use...
February 3, 2009 at 1:45 am
Viewing 15 posts - 121 through 135 (of 233 total)