Viewing 8 posts - 16 through 23 (of 23 total)
I finally figured it out. It was the lack of a format mask on the date conversion. I changed
to_date(LAST_UPDATED_DATE)
to
to_date(LAST_UPDATED_DATE, 'YYYY/MM/DD HH24:MI:SS)
and now the code works.
Rob
August 27, 2008 at 5:32 am
Greg Charles (6/30/2008)
July 1, 2008 at 5:51 am
Sometimes in an attempt to keep things simple and easy I actually wind up complicating them. And possibly affecting performance. I suppose it is all part of learning.
BTW...
March 28, 2008 at 7:15 am
Jack Corbett (3/27/2008)
I usually explain things in detail because you never know the expertise of the poster so I like to try to make it so anyone can understand it.
I...
March 27, 2008 at 3:05 pm
Jack Corbett (3/27/2008)
I have looked at the plans and the executed statements. If you look at the executed statements they are 2 different statements because the one using the...
March 27, 2008 at 10:22 am
Jack - no, I am not currently using a stored procedure. And no, I am not creating the SQL dynamically within SSRS. Just using plan SQL with parameters.
I've...
March 27, 2008 at 7:15 am
I've thought about converting SSRS so it calls a Stored Procedure and thus I could have more control over the SQL. The downside is the way SSRS passes parameters...
March 27, 2008 at 7:09 am
Peso (3/27/2008)
It's called plan cache / data cache.Or you could be victim of parameter sniffing.
When you say plan cache/data cache, I'm guessing this refers to the system caching the plan...
March 27, 2008 at 6:17 am
Viewing 8 posts - 16 through 23 (of 23 total)