Viewing 15 posts - 18,556 through 18,570 (of 22,214 total)
Things like this will lead to table scans, which will kill your performance:
WHERE
COALESCE(Last_live_insert_date, Last_booked_insert_date)
January 30, 2009 at 5:14 am
Krishna (1/30/2009)
Why dont you run Profiler against the troubled server?Check the events:
TextData
ApplicationName
HostName
LoginName
EndTime
SPID
CPU
Duration
Reads
Writes
Profiler records when a proc, query or statement starts and when a proc, query or statement ends. It...
January 30, 2009 at 4:04 am
Except for the recursion, a CTE is really just a more sophisticated way to create sub-selects. So they're just as effective as the sub-selects were with the added value that...
January 30, 2009 at 4:00 am
So it's two different databases? You can join the tables together in a query by referrencing the database name, but you can't create a foreign key across databases.
January 30, 2009 at 3:55 am
You must be new in this galaxy.
January 29, 2009 at 9:12 pm
Bruce W Cassidy (1/29/2009)
Greg Edwards (1/29/2009)
I'd say that depends on if you got the correct results.:w00t:
[font="Verdana"]Yup. I added a cross join as well. And the full outer joins...
January 29, 2009 at 9:02 pm
Jack Corbett (1/29/2009)
My question is, was The...
January 29, 2009 at 8:59 pm
GilaMonster (1/29/2009)
Bruce W Cassidy (1/29/2009)
sometimes it's fun having a good ol' mud-slinging match with someone who is absolutely sure they are right. And sometimes that's even me!
We...
January 29, 2009 at 8:57 pm
Jean-François Bergeron (1/29/2009)
CAST(MfrCode AS NVARCHAR(max)) LIKE 'tel%' AND
CAST(VendorCode AS NVARCHAR(max))...
January 29, 2009 at 1:45 pm
Jean-François Bergeron (1/29/2009)
January 29, 2009 at 1:05 pm
I've been a DBA, exclusively, for about 10 years now and no certification whatsoever. You just don't need one. Knowledge and experience are what really counts. If you have three...
January 29, 2009 at 12:56 pm
Since the functions seem well in hand, I'll address other stuff.
You're using CONVERT on your columns in the WHERE clause. This will absolutely prevent the indexes, if any from being...
January 29, 2009 at 12:01 pm
It sounds like you're locking the resource and then blocking all others, not like a deadlock. Leave the deadlock monitors in place, but you should take a look at the...
January 29, 2009 at 11:50 am
The thing is, MAXDOP is a way to limit paralellism. A lot of times, in the OLTP type systems I work in, parallel queries cost more than they provide benefit....
January 29, 2009 at 8:24 am
Why do you want to mess with MAXDOP? Your default setting is 0, which means that SQL SErver will use as many processors as it has available to it. Maybe...
January 29, 2009 at 7:45 am
Viewing 15 posts - 18,556 through 18,570 (of 22,214 total)