Viewing 12 posts - 1 through 12 (of 12 total)
Thank you Jonathan, but this resulted in an out of range datetime value. Any ideas why that would come up?
December 16, 2003 at 2:27 pm
That didn't work for me. I wasn't able to remove the spaces. Another option is to seperate the month, day, and year with DATEPART, and then string them...
December 16, 2003 at 1:30 pm
Is there a way to remove the spaces between the month, day, and year?
December 16, 2003 at 12:20 pm
Where is this being placed within the code?
December 16, 2003 at 11:56 am
If I already have the vendor numbers in a permanent table, why would I need to put them in a temporary table?
September 30, 2003 at 8:08 am
what is BOL 2000? I can't believe that I brain farted on the 'CONVERT' feature...thanks for all the help!
June 5, 2003 at 4:20 pm
Thanks a lot...that came right through!!!
June 5, 2003 at 3:59 pm
SUM(a.FUEL_SALES*.0775) AS FUEL_TAX,
b.AMOUNT AS FUEL_MAN
FROM CSCSHBAL a LEFT OUTER JOIN CSCRDTTL b ON
(b.CARD_NAME='FUELMAN' AND a.DBR_DATE=b.DBR_DATE AND a.STORE_ID = b.STORE_ID)
WHERE (a.STORE_ID LIKE @STORE_ID AND a.DBR_DATE>=@START_DATE
AND a.DBR_DATE<=@END_DATE)
This code got...
May 6, 2003 at 11:44 am
The code changed because I was trying out left and right joins, and I was swapping the table names back and forth. I'm getting desperate! 🙂 I...
May 6, 2003 at 10:44 am
STORE_ID DBR_DATE TAXABLE_SALES NON_TAXABLE_SALES FUEL_SALE FUEL_TAX FUEL_MAN
-------- --------------------------- ----------------- ----------------------------------
7704 2003-03-27 .0 ...
May 6, 2003 at 9:47 am
Thanks for replying...when I join by store ID and by busines date, all I get is the one store (7704) that has the (Fuelman) sales...I need all the stores, plus...
May 6, 2003 at 8:13 am
Viewing 12 posts - 1 through 12 (of 12 total)