Viewing 10 posts - 1 through 10 (of 10 total)
Yes I understand. I will follow the procedure going forward. Let me go over his post today and familiarize myself with it before proceeding. Thanks guys!
June 5, 2020 at 1:00 pm
Jeffrey:
Thanks for your patience. I will review the procedures for posting questions and the code you submitted to help me. About the joining ID to ID...I guess I wanted to...
June 4, 2020 at 9:26 pm
I am new to this and appreciate the help. Of course I would like to provide whatever I can. The only thing I did to this point was join the...
June 4, 2020 at 8:08 pm
I cant provide anything specific to tables for sensitivity reasons but can explain in detail below.
TABLE1 has Y for Year and M for Month. It also is the main table...
June 4, 2020 at 7:36 pm
Your suggestion worked. Thanks. I am just getting the hang of this but will post the working formula even though there is probably a better way to do this.
CONVERT(DECIMAL (10,2),100...
June 2, 2020 at 5:51 pm
I think it is close. This formula gives me the correct format but now anything past the decimal is 0. How do I convert this formula to show the numbers...
June 2, 2020 at 4:48 pm
I understand kinda what you are saying but it looks like i am not doing it right because I am getting an error now.
(CAST(ABC/XYZ) as decimal(10,2)) as "PERCENT2"
June 2, 2020 at 4:11 pm
thanks so much to both of you. the last formula worked for me and I appreciate you both taking the time to help me. cheers!
April 15, 2020 at 3:56 pm
select CAST(ROUND(COLUMN_A*100.0/(CASE WHEN COLUMN_B = 0 then -1 ELSE COLUMN_B END) as decimal(5,2)) as "Percentage" from TABLE
I think this is the one I need but I am getting a syntax...
April 14, 2020 at 8:25 pm
thanks so much for the fast reply. I will try all of your solutions then post which one worked for me. much appreciated.
April 14, 2020 at 7:57 pm
Viewing 10 posts - 1 through 10 (of 10 total)