Monday, 20 July 2015

How to display the ename from emp, which contains '%' and '_' in ename ?

'%'  and  '_' are special characters in oracle.   To compare these characters in the ename, we need to work with the ESCAPE clause.

EX:
==

select ename from emp where ename like '% /%'  escape '/';

No comments:

Post a Comment

How to schedule PO workflow schedule process

create or replace PACKAGE APPS.XXXX_PO_WF_SCHEDULING_PKG IS    --|==========================================================================...