Viewing 15 posts - 1 through 15 (of 143 total)
As you mentioned it's a 32-bit system, what are your memory configurations .. Total memory, AWE, PAE, Lock Pages in Memory, Min&Max Memory ..
32Bits
16GB RAM
/PAE
AWE Enabled ...
March 4, 2014 at 6:40 am
Thanks. Was already resolved, but you code also works.
March 4, 2014 at 6:05 am
Steve Jones - SSC Editor (3/3/2014)
March 4, 2014 at 12:53 am
Your question is a bit unclear.
Take a look at this handy article.
http://weblogs.sqlteam.com/jeffs/archive/2008/05/13/question-needed-not-answer.aspx
March 3, 2014 at 7:12 am
Is this a 32 bit system? The memory pools used by SQL Server in a 32 bit system sometimes needed help. Especially if you were moving around a lot of...
March 3, 2014 at 1:23 am
Bingo!
Here's the full code. (Sample data, 2012 query, 2005 sub queries, 2005 cte).
Is this also possible using some advanced APPLY tricks?
USE TempDB
GO
IF OBJECT_ID('#CumDiffs') IS NOT NULL
DROP TABLE #CumDiffs
CREATE TABLE #CumDiffs
(
IDSmallInt...
February 28, 2014 at 4:35 am
The result of each the queries differ.
Here is some sample data. 10 rows to easily check the results.
USE TempDB
GO
IF OBJECT_ID('#CumDiffs') IS NOT NULL
DROP TABLE #CumDiffs
CREATE TABLE #CumDiffs
(
IDSmallInt IDENTITY,
SampleDateTImeSmallDateTime,
DriveLetterChar(1),
SampleValueSmallInt
)
INSERT#CumDiffs
(SampleDateTIme, DriveLetter, SampleValue)
SELECTTOP...
February 28, 2014 at 1:34 am
I added an Identity(1,1) to the StallsHistory table and made it the cluster PK.
The join now uses S1.SurroID = (S2.SurroID - 1) AND S1.Drive = S2.Drive
This looks pretty close to...
February 27, 2014 at 2:05 am
Thanks for your response Jack.
Your query works fine, but does not return the results i am looking for.
I'm want to see the difference between each row record. i.e. Row2value -...
February 27, 2014 at 1:06 am
Thanks for responding.
Was afraid someone would say something like that.
Time to plan the downtime.
Thanks.
February 24, 2014 at 1:19 am
You could create a job and schedule it to run on SQL Server Agent start up.
February 20, 2014 at 7:09 am
If you have nolock, then you have the potential for dirty reads, duplicate rows and missed rows and it doesn't matter (for the latter 2) that each process works on...
January 24, 2014 at 4:08 am
It's been a week now.
NOLOCK hint did the trick.
No more deadlocks with this process.
No dirty read issues.
Thanks for the help guys.
January 23, 2014 at 5:09 am
It would not be the same as NOLOCK. NOLOCK can return you dirty data and I don't think you want that.
Dirty reads shouldn't be an issue. Each process only...
January 13, 2014 at 3:31 am
Can you convert the process to be a single stored procedure? The set for printing wouldn't be a problem, there are a variety of ways to handle it. Your options...
January 10, 2014 at 8:24 am
Viewing 15 posts - 1 through 15 (of 143 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy