Viewing 15 posts - 21,226 through 21,240 (of 26,490 total)
Now triple posted. Please reply here.
May 1, 2009 at 3:19 pm
Now triple posted. Please reply here.
May 1, 2009 at 3:19 pm
With the multiple database solution, you have to be sure that users are "synced" between databases. Using separate schemas and filegroups may actually be easier. To give a...
May 1, 2009 at 3:16 pm
Then there are the newbie's on the site who get impatient because no one is answering them, so they just start posting in other forums hoping to get a response.
Edit:...
May 1, 2009 at 3:08 pm
This doesn't look like something you need a constraint for as much as looking at it differently. What you describe fits a design that would use a ValidFrom, ValidTo...
May 1, 2009 at 2:59 pm
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
Viewing 15 posts - 21,226 through 21,240 (of 26,490 total)