on 10-11-2017 12:12 PM
Hi All,
case when (columnname & power(2,(24-1))= power(2,(24-1))) then 'Y' else 'N' end
I tried the above requirement by using custom function in BODS but it takes more time to fetch the records.
Custom function:
$Result_Ind= SQL('Data_store' ,'Select case when ($ColumnValue) & power(2,(24-1))= power(2,(24-1))) then \'Y\' else \'N\' end');
return $Result_Ind;
So could you please suggest me how to do it with less time.
Appreciate quick response.
Kalyani
Including a call to the sql function in a custom function generates an additional round trip to the database for every record processed in the Query transform. This is bad programming practice. Obvious that processing will be (much) slower.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.