Viewing 15 posts - 2,821 through 2,835 (of 6,036 total)
Garadin,
you forgot to do FREEPROCCACHE.
Without it you just read the same recordsets cached in memory again and again.
No actual data accessing happens in your test.
From logical point of view COALESCE...
October 2, 2008 at 7:48 pm
Your problem is UNION in dbo.hl7_allePatientnummers.
UNION implies GROUP BY for all selected values.
GROUP BY changes all further WHERE checks to HAVING ones. What makes it impossible to use indexes for...
September 30, 2008 at 5:40 am
Chris Harshman (9/29/2008)
September 29, 2008 at 3:56 pm
Jeff Moden (9/20/2008)
September 20, 2008 at 3:41 pm
The way you database is built is a dead end.
An attempt to copy objects to tables is typical error of developers-beginners.
It will lead to overcomplicated and very pad performing code....
September 19, 2008 at 5:51 pm
Jim Russell (9/18/2008)
I got some more replies via Connect, but it was not entirely satisfactory. There the blame was placed on UDFs, and the advice was to not use them.http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2481958&SiteID=1
Usual...
September 18, 2008 at 7:24 am
There is no really point to turn back to full mode.
Log file sequence is already broken, no much use of it.
September 18, 2008 at 6:53 am
Add disk space.
And normalize data in order to decrease row size in long table.
If row size would not exceed 40 bytes deleted amount of data would be just 200M -...
September 18, 2008 at 6:38 am
Jim Russell (9/18/2008)
Interesting that with the "WITH SCHEMABINDING" clause removed, the return is 0 = Not Deterministic. I guess I don't understand why that has anything to do with...
September 18, 2008 at 6:27 am
Make views from most used joins.
Then reuse those views in further queries/views.
But be careful: no aggregations, no TOP 100 PERCENT, no data modifications in such views!
Otherwise you kill system performance.
September 17, 2008 at 11:48 pm
SELECT DATEDIFF(wk, 0, GETDATE())
gives you number of full weeks from "zero date"
Adding this number of weeks to "zero date":
SELECT DATEADD(wk, DATEDIFF(wk, 0, GETDATE()), 0)
gives you beginning of curent week.
To get...
September 17, 2008 at 11:13 pm
santoooo (9/17/2008)
So, to reduce the Logical Reads we need proper indexing for the tables.Regards,
Santosh
No, you need proper database.
Proper schema, proper data normalisation, proper data types, proper keys, proper indexes, etc.
You...
September 17, 2008 at 10:53 pm
Well, I see what you've done, and I'm gonna try it.
I cannot say I really love the idea with "thorn" character because there is no guarantee some other developer on...
September 17, 2008 at 8:43 pm
You always welcome.
If needed no problem to post it 3rd and 4th time.
I just wanted OP to ask. 😉
September 17, 2008 at 8:30 pm
It's really syntax error, as it says.
Open "Create Table" template in QA and see the correct syntax.
September 17, 2008 at 3:02 am
Viewing 15 posts - 2,821 through 2,835 (of 6,036 total)