Viewing 15 posts - 3,811 through 3,825 (of 5,394 total)
Ninja's_RGR'us (10/13/2010)
SET @RND = (SELECT CAST(RAND() * 60 AS INT))
...
...
October 13, 2010 at 9:16 am
Ok, so you basically need to prevent the processing job from running while the transfer job is active. Right?
You could use this stored procedure and add a "semaphore" step at...
October 13, 2010 at 8:55 am
Use partition by:
SELECT 'HANSEN8',
'2010-07-01 00:00:00.000',
A.ADDRKEY,
'...
October 13, 2010 at 8:43 am
Could be something like this:
JOB x ON SERVER1:
STEP 1: Process data
STEP 2: Start job y on SERVER2
JOB y ON SERVER2:
STEP 1: Process data
STEP 2: Start job z on SERVER1
JOB z...
October 13, 2010 at 8:35 am
I don't know if this is exactly what you're after, but should do the trick:
DECLARE @pivotSource TABLE (
SourceID char(3),
VisitID int,
Query varchar(10),
Response nvarchar(255)
)
INSERT INTO @pivotSource
...
October 13, 2010 at 8:29 am
Behind the scenes, the table gets dropped and re-created.
If it holds lots of data, timeout expires from SSMS.
Do it manually or, even better, add a new column with identity attribute,...
October 13, 2010 at 7:05 am
I'm facing the exact same problem in my DB (SQL2005 sp3).
In my scenario, often it's due to bad parallelism. The serial query runs 10 times faster, but the optimizer seems...
October 13, 2010 at 6:59 am
If the parameter is dynamic (no need to restart server), it's listed here:
select *
from sys.configurations
where is_dynamic = 1
October 13, 2010 at 6:51 am
This should do:
SELECT DBName = DB_NAME(),
Owner = USER_NAME(so.UID),
TableName = so.Name,
...
October 13, 2010 at 6:21 am
Paul White NZ (10/12/2010)
jcrawf02 (10/12/2010)
I'm not sure that anybody jumping in (cough* Paul *cough) cleared any fog there...
I started off with good intentions, but it kinda got away from me...
October 12, 2010 at 10:16 am
WayneS (10/12/2010)
I think instead of clearing the fog, we've managed to make it denser. :w00t:
Agreed.
October 12, 2010 at 10:13 am
Ok, I give up.
Everything I used to know (or thought that I knew) falls apart.
October 12, 2010 at 9:53 am
hallidayd (10/12/2010)
The OP is gonna hate us when (s)he checks back in to get a nice, straightforward answer to their nice, straightforward question 😛
:hehe::hehe::-D:-D:hehe::hehe:
Oh, come on! (S)He's got a wonderful...
October 12, 2010 at 9:24 am
OK, it might be wrong, but the myth has spread a lot:
http://www.dotnet4all.com/snippets/2008/04/performance-tip-1-avoid-non-sargable.html
http://www.ianywhere.com/developer/product_manuals/sqlanywhere/0902/en/html/dbugen9/00000463.htm
http://www.devarticles.com/c/a/SQL-Server/How-to-Perform-a-SQL-Server-Performance-Audit/8/
http://www.truthsolutions.com/midlandspass/presentations/20070301_MidlandsPASS_Bkelley.pdf
... and many others.
I find hard to believe that this myth can survive in many technologies (SQL Server, Sybase,...
October 12, 2010 at 9:21 am
Paul White NZ (10/12/2010)
Gianluca Sartori (10/12/2010)
October 12, 2010 at 9:01 am
Viewing 15 posts - 3,811 through 3,825 (of 5,394 total)