Viewing 15 posts - 4,951 through 4,965 (of 18,926 total)
Wow awesome info.
Just out of curiosity. Are you comming from oltp or olap for this conclusion?
I understand phase 3 is expansive, but if it saves my butt from a...
July 12, 2011 at 6:32 am
GilaMonster (7/12/2011)
Ninja's_RGR'us (7/12/2011)
Good Enough Plan Found (not awefull but better if you don't have this warning)
That's not a warning. It's saying that the optimiser stopped because it had found a...
July 12, 2011 at 6:01 am
Whack the view and the min / max. That'll give you all the runs and return the data you need.
If this is not what you want then please post...
July 12, 2011 at 5:48 am
Cursor query :
Good Enough Plan Found (not awefull but better if you don't have this warning)
estimate 4 vs 354 found (can be a real big problem if you have...
July 12, 2011 at 5:42 am
Dan-Ketil Jakobsen (7/12/2011)
Hi.Yes I found some scripts here that I could use, but none that seem to solve this problem.
Dan
Why don't you post the code you currently have and ask...
July 12, 2011 at 2:31 am
MikeAngelastro-571287 (7/11/2011)
Is SQL Server 9.0.5000 the same as SQL Server Express 2008 R2? I think that's what I got with VS 2010.
Nope that's sql 2005.
July 12, 2011 at 2:29 am
use the working format or change the parameter datatype. Nothing else you can do about this.
Best practice would also tell you to set and explicit DATEFORMAT (IE :...
July 11, 2011 at 8:08 pm
Ya this is a bad idea to use strings instead of dates... 1 of the very reasons you just found about.
July 11, 2011 at 8:03 pm
I don't know what else to tell you. Works fine on my 2008 R2 Machine.
The only thing I can think of is that you are trying to run this...
July 11, 2011 at 8:01 pm
That's not how I handle this.
I have a calendar table. In that table I also include holidays.
Then I add a calculated column
CASE WHEN WeekDay BETWEEN 1 and 5 AND...
July 11, 2011 at 6:21 pm
It works on my system (express 2008 R2). What error are you getting?
July 11, 2011 at 5:59 pm
What version of sql server are you running this on?
July 11, 2011 at 5:01 pm
Works fine here.
What's the error?
Can you post the full script?
July 11, 2011 at 5:00 pm
Looks fine. Try compiling all the code that comes before that line.
July 11, 2011 at 4:27 pm
adams.squared (7/11/2011)
July 11, 2011 at 4:23 pm
Viewing 15 posts - 4,951 through 4,965 (of 18,926 total)