Viewing 15 posts - 21,226 through 21,240 (of 26,484 total)
From a second thread so that everything is here:
PhilM99 (5/1/2009)
Original design of my db for this client:
One person has 126 numeric scores from a...
May 1, 2009 at 2:24 pm
Please don't double post. You already started a thread here.
Let's keep everything in one place.
Edit: I copied the above to the other thread since it appears you added...
May 1, 2009 at 2:22 pm
Just a few more things are really needed. Sample data for the tables in a readily consumable format, expected results based on that sample data, and the code you...
May 1, 2009 at 2:15 pm
Warren Peace (5/1/2009)
Declare @TempTable As VarChar(200)
Set @TempTable = 'UserName200951125126427'
EXEC('Select * Into #' + @TempTable From [MySourceTable])
I get the result...
(253 row(s) affected)
I try and query the temp table...
May 1, 2009 at 2:06 pm
Okay, simple test, both returned the same actual execution plan.
Functions:
CREATE FUNCTION dbo.ufnDayOnly(@DateValue DateTime)
RETURNS table
AS
RETURN (select dateadd(dd, datediff(dd,0, @DateValue),0) as DateOnly )
GO
CREATE FUNCTION dbo.fn_DayOnly_DateTime (@DateValue DateTime)
RETURNS DateTime
WITH SCHEMABINDING
AS
BEGIN
RETURN dateadd(dd,...
May 1, 2009 at 1:38 pm
I think we just went full circle back to Paul's comment about it being intuitive.
May 1, 2009 at 12:21 pm
Okay, same here. Read the questions, figured it out, posted an answer. The force was with us!
May 1, 2009 at 12:16 pm
Tao Klerks (5/1/2009)
I was hoping to be able...
May 1, 2009 at 12:12 pm
Florian Reischl (5/1/2009)
Lynn Pettis (5/1/2009)
WayneS (5/1/2009)
Steve Jones - Editor (5/1/2009)
Hey, that's a cool feature! Hadn't seen that before.
I guess it's a good thing that I didn't ask you how to...
May 1, 2009 at 11:50 am
So, denizens of The Thread, when do you think we'll hit 4,000 posts?
May 1, 2009 at 11:24 am
WayneS (5/1/2009)
Steve Jones - Editor (5/1/2009)
Hey, that's a cool feature! Hadn't seen that before.
I guess it's a good thing that I didn't ask you how to get to it :-)...
May 1, 2009 at 11:22 am
Jeff Moden (5/1/2009)
Florian Reischl (5/1/2009)
TheSQLGuru (5/1/2009)
May 1, 2009 at 11:17 am
jcrawf02 (5/1/2009)
Lynn Pettis (4/29/2009)
GilaMonster (4/29/2009)
Bruce W Cassidy (4/29/2009)
[font="Verdana"]International Star Wars day... "May the 4th be with you."[/font]*groan*
Hmmm, we were discussing having another Starwars day.....
Now for something totally the same...
How...
May 1, 2009 at 10:46 am
Any additional criteria for the delete would also be helpful.
May 1, 2009 at 10:41 am
Can you post the generalized schema of the tables, indexes, RI (if any), some sample data (readily consumable)?
This looks like fun.
May 1, 2009 at 10:37 am
Viewing 15 posts - 21,226 through 21,240 (of 26,484 total)