Viewing 15 posts - 556 through 570 (of 620 total)
Michael Meierruth (10/23/2007)
October 23, 2007 at 8:56 am
Sergiy (10/22/2007)
Here is correct version (I believe ;))
[Code]
SELECT CreateDate + @NotificationDays/5*7 + @NotificationDays%5 +
...
October 22, 2007 at 6:59 pm
If you want an exact replica of your real data, just do this
SELECT *
INTO YourTable_Test (Or whatevery you want to call it)
FROM YourTable
I am fairly certain the new table will...
October 22, 2007 at 1:46 pm
Sergiy (10/22/2007)
Greg Snidow (10/21/2007)
October 22, 2007 at 1:05 pm
Kenneth Wilhelmsson (10/22/2007)
ok, and how are these mails staged?
one-by-one? By the thousands? (or millions?)
Are you looking for the 'batch-approach' that Jeff speaks of, or is it less?
Just trying to set...
October 22, 2007 at 12:41 pm
Kenneth Wilhelmsson (10/19/2007)
That is, how is it going to be used?
Inline with...
October 21, 2007 at 7:07 pm
Jeff Moden (10/18/2007)
October 19, 2007 at 7:00 am
Sergiy (10/19/2007)
OK, short version:
If you need "Holiday table" anyway, if you need to scan for the holidays in that table - why scan table AND run UDF?
Why not just include...
October 19, 2007 at 6:50 am
Matt Miller (10/18/2007)
There was STILL one flaw...was trying to fix some of the f****ing formatting, and I blew out a 5 and replaced it with a 7. Had been...
October 19, 2007 at 5:28 am
Sergiy (10/19/2007)
No matter how hard you try to perfect it.
They don't work by definition.
And nobody can do anything about it.
At least they...
October 19, 2007 at 5:03 am
Matt, I think that did it! I can't test on my real data until I get to work, but on my test table at home it seems to work...
October 18, 2007 at 2:57 pm
Matt Miller (10/18/2007)
I Kept doing the same thing. I tested one date against Jeff's code, trying to reverse...
October 18, 2007 at 2:42 pm
Matt, I can not tell you how much I appreciate you taking time out of your day to work on this. It seems you are running in to...
October 18, 2007 at 1:13 pm
That makes sense. I think there is a problem with it though. If I enter '1/2/2008' as @Datestart which is a Wednesday, and 4 as @DaysToAdd, @DateEnd is...
October 18, 2007 at 10:31 am
Matt Miller (10/18/2007)
Select @datestart=dateadd(dd,case when cast(cast(@datestart as datetime) as int)%7 >4 then
Matt, this works great! I am curious though, why do you have:
..CAST(CAST(@Datestart AS DATETIME)AS INT)...?
I tried...
October 18, 2007 at 10:09 am
Viewing 15 posts - 556 through 570 (of 620 total)