on 07-20-2007 10:05 AM
Hi Friends!
I have an oracle database and i want to do string comparision.
But i have and problem.
I can use these sql in oracle gui
<b>select UPPER(BTITLE) from sapsr3db.bilim_blog
select BTITLE from sapsr3db.bilim_blog where {fn LCASE(bilim_blog.BTITLE)}='test'</b>
But i cannot use in J2ee sap portal application. It gives these error sequently
<b>Upper Function are not allowed here</b>
<b>SQL syntax error: an illegal character "{" has been found in the statement text </b>
Also someone asked same question before and didnt get answer.
Best Regards
Eray
Hi
here you can find all the functions permitted in the OpenSQL:
http://help.sap.com/saphelp_nw04/helpdata/en/9b/f46cabaa874bc9a82234e8cf1d0696/frameset.htm
So I think that Upper/Lower are not permitted... the work around is to get all the records and check the Upper and Lower case using Java Code functions into your business methods.
Hoper this help.
Vito
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.