Viewing 15 posts - 30,871 through 30,885 (of 59,101 total)
I'm on my way to work and will have a go at it after I get home tonight. Chances are, someone will beat me to it, though. Lot's...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2012 at 8:03 am
chandarcst (3/5/2012)
HiI asked you Send the standard sql tutorial links suppose if you have.
There's no real "standard tutorial" links on the subject by Microsoft. The information is in...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2012 at 7:31 am
Sorry for going so far out of character on this one, Eugene. I was absolutely amazed by what happened here.
Look further down in the thread. Here's...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2012 at 6:48 am
BWWWAAAA_HAAAA!!!! I know this thread is old but I think it's a funny thread. Let me replay the whole thing for you...
We have a team that wants...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 9:03 pm
I realize that this is an older post and no one may still be listening, but I ran out of "fun" posts and thought I'd give this one a try.
The...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 8:33 pm
Henk Schreij (3/2/2012)
That's a massive answer 🙂
I'll study your answer. Thanks a lot.
My lookup table is just 20 records, and will never have nore then 50 records.
My drinks table is...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 7:12 pm
Eugene Elutin (3/2/2012)
It may be that I will be killed by the community for the following advice :
Ummmm... so what's your address, Eugene? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 7:00 pm
MidBar (2/27/2012)
1: Any other possibility without CTE?
I have to ask... why didn't you want this with a CTE?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 6:52 pm
John Mitchell-245523 (2/27/2012)
It's best to let your presentation layer handle things like this.
I'll say "It Depends"... especially if there's no presentation layer that can handle it. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 6:47 pm
The only way we're going to be able to help is if you take the steps outlined in the article at the second link in my signature. Take the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 6:41 pm
More likely, it's a statistics problem. Did you rebuild all of your statistics with "FULL SCAN" after the server move?
One other trick you might want to try especially since...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 5:31 pm
LutzM (3/2/2012)
Replace A.TOTAL with A.TOTAL*1.00 to avoid an integer divsion (usually resulting in a zero value in such a scenario).Example:
SELECT 1/2*100, 1/(2*1.00)*100
Just an idea, Lutz. Move the *100 and...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 5:22 pm
Sorry, post withdrawn...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 5:17 pm
SQL_Enthusiast-AZ (3/4/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 5:14 pm
My guess would be that since you're absolutely sure that you need to use a parameter, then don't use the view because views don't take parameters. Rewrite the view...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2012 at 5:11 pm
Viewing 15 posts - 30,871 through 30,885 (of 59,101 total)