I created a function based index by using:
create unique index UQ_TABLE1_NAME on TABLE1 ( upper(NAME) );
Then tried to run a simple query with SQLPLUS:
SELECT * FROM table1 WHERE UPPER(name) LIKE UPPER('%abcd%') ORDER BY UPPER(name);
I got a error:
ORA-03113: end-of-file on communication channel
The strange thing is running "SELECT * FROM table1 WHERE name LIKE UPPER('%abcd%') ORDER BY UPPER(name)" or "SELECT * FROM table1 WHERE UPPER(name) LIKE UPPER('%abcd%') ORDER BY name" OK. I also removed the index and re_created it, then the problem disappeared.
Does any one konw how this happens.
Thanks.