Viewing 15 posts - 1 through 15 (of 52 total)
Seth,
Thanks for the info and code...
John
December 10, 2008 at 9:47 am
Of course I am doing it that way Jeff... none other would do... it takes about 15 minutes to do the Approx. 4MILL rows...
I think I am getting it... basically...
November 24, 2008 at 6:36 am
Nothing like that at all, at least they didn't require that yet...lol
[A].[PMT_FREQ_MULT] = @PMT_FREQ_MULT: this tells me which DATEADD to use in the CASE Statement M Month, D Day, Y...
November 21, 2008 at 12:29 pm
I never saw the attachments... doh;
ok, so i ran a couple of the ID's with variety thru the fuction I posted early... this should give you a visual of what...
November 21, 2008 at 11:34 am
Ok, row 85 is a new ID, 101 and 102 are new ID's and so is 103 ending @ 111...
when i get the data, it's not ballooned out like this...
November 21, 2008 at 10:29 am
I'm not given the Origination Date... I have a column AS_OF_DATE so we now when the table was created, I have the PREVIOUS_PAYMENT_DATE, NEXT_PAYMENT_DATE AND MATURITY_DATE.
Then we move forward from...
November 21, 2008 at 6:57 am
No, notice the if statements... if the date i pass in doesn't equal the end of the month then do something else.... and the other if...
November 21, 2008 at 6:12 am
I am getting dates that can start from the first, and be due anytime inbetween... not only that, they can be days apart, years apart...
I guess i made the wrong...
November 20, 2008 at 5:58 pm
I am confused... the dates come to me as is... the one with a Nov Date started it's journey from
2008-10-31 00:00:00.000, and it came out right to Nov 30...
November 20, 2008 at 5:23 pm
I ran both mine and your updated statement...
How do interpret the Execution plan??? or should I post this as new question?
mine a
mine b
C:\Documents and Settings\xjasn4n\My Documents\My...
November 18, 2008 at 11:53 am
Ok, so it's top down... thanks for that...
I try to avoid Correlated Query's... That is why the previous Update Example I posted for this question is done... its used here...
November 18, 2008 at 10:24 am
Yes Sir, for both the last Columns...
November 18, 2008 at 9:29 am
IF OBJECT_ID('tempdb..##PS') IS NOT NULL
DROP TABLE...
November 18, 2008 at 8:59 am
I have several different ID's, could have 1 ID with 10 rows another with 15 rows, etc...
This update statement is doing some setups to do an Amortization, so i have...
November 18, 2008 at 8:26 am
UPDATE TABLE1
SET
, @vEVAL = [COL3]
, @V1 = [COL1] = CASE @vEVAL = TRUE THEN 1 ELSE 0...
November 18, 2008 at 8:01 am
Viewing 15 posts - 1 through 15 (of 52 total)