SQL query to get the string before '@' in an e-mail



select substr ('161ankush037@gmail.com', 1, instr('161ankush037@gmail.com', '@',1,1)-1) str_data from dual;

Comments

Popular posts from this blog

While creating expense report facing the following error java.lang.IllegalArgumentException : peerExceptioms list should only contain OAException elements.

IExpense error : The specified approver is not a user of the application.