Viewing 15 posts - 16 through 30 (of 190 total)
Here is what I found.
db2 - account_no - data type - decimal
sql - account_no - data type - decimal
in lookup, i have to use both columns but by default its...
June 5, 2019 at 9:47 pm
Thanks but its a part of bit complex already existing package and I have to use it this way only. I tried to create SP for the update statement and...
June 5, 2019 at 6:41 pm
IF TOTAL_BILL_AMT_PROD = NULL THEN NULL ELSE (TOTAL_BILL_AMT - TOTAL_BILL_AMT_PRD = O then 0 Else 1 )
ISNULL(TOTAL_BILL_AMT_PRD) == ""? NULL(DT_STR, 4, 1252) : ((DT_NUMERIC,10,2)TOTAL_BILL_AMT_PRD - DT_NUMERIC,10,2)TOTAL_BILL_AMT == 0 ? 1...
June 4, 2019 at 4:12 pm
Thanks it worked finally. Really appreciate it.
(DT_NUMERIC,10,2)TOTAL_BILL_AMT - (DT_NUMERIC,10,2)TOTAL_BILL_AMT_PRD == 0 ? 0 : 1
June 4, 2019 at 2:39 am
Thanks. Datatypes for both are decimal(10,2)
if the difference =0 then insert 1 (bit datatype) or 0
June 4, 2019 at 2:30 am
Thanks. It's inside Data Flow task and I have hard time compiling this IF condition.
IF TOTAL_BILL_AMT - TOTAL_BILL_AMT_PRD = 0 then 0 Else 1.
Here is what I wrote but error,...
June 4, 2019 at 1:45 am
Thanks a lot. I had a named instance so specifying a server name has resolved the issue for me. Thanks a lot.
March 16, 2019 at 7:31 am
Thanks John. When I did it with cmd line, it was giving me very different error,
I tried with -T integrated security. That account is sysadmin on sql.
I...
March 15, 2019 at 11:09 am
Thanks John as I said I ran it from sqlcmd line tool.
March 15, 2019 at 10:53 am
Also Thanks again Lynn.
When I tried,If @searchStr > ''
After that I can successfully run it from SP.
Can you also please give me some...
October 29, 2018 at 4:47 pm
Hello Lynn Pettis
Thanks but I've already tried the test...
October 29, 2018 at 4:43 pm
YES sgmunson and that sql is very well working. its just not...
October 29, 2018 at 3:30 pm
Thank you sir.
In my case @searchstring is also NULL and it should not go inside the IF condition and just execute @sSQL which is not happening here.
October 29, 2018 at 3:28 pm
Thanks a lot Everyone.
Special Thanks to Eddie. It was great to know before implementing this.
August 30, 2018 at 7:00 am
Viewing 15 posts - 16 through 30 (of 190 total)