Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

incorrect sql query after applying grid filters

$
0
0
Hi Team,
We are currently using:-
BuildDate Wed Mar 05 15:52:00 IST 2014
Version 4.1p
SCVersionNumber v9.1p_2014-03-05

I am applying some 'grid filters'

and trying to fetch sql query with
SQLDataSource.getSQLClause(SQLClauseType.All, dsRequest);

here my query is having one of the where clause as:
(LOWER(FIELD_CALC_ATTR_VIEW_HIGH.CONVENTIONAL_UNCONVENTIONAL) = LOWER('[conventional]')


(see the square braces abound 'conventional')

The query otherwise looks fine (in isomorphic logs):

(LOWER(FIELD_CALC_ATTR_VIEW_HIGH.CONVENTIONAL_UNCONVENTIONAL) = LOWER('conventional')

only when i am trying to fetch it using SQLDataSource.getSQLClause , i am facing this issue.


could you please tell how I can fetch the correct sql query?

Viewing all articles
Browse latest Browse all 4756

Trending Articles