For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.
hi when i try to lauch my sql developer am geting this error
unable to create an instance of the java virtual machine located at path C:\Program Files\Java\jdk1.6.0_38\jre\bin\client\jvm.dll but i do have the file in location
am trying to do this
BI CHAOS: SQL Developer : Unable to create an instance of the Java Virtual Machine
Unable to create an instance of the Java Virtual Machine
but am not able to locate file product.conf in my machine
SQL> select * 2 from item_test; ITEM_DESC ------------------------------------------------ AWT_SWING AWT- SWING AWT-S SWING 3 rows selected. SQL> select * 2 from item_test 3 where instr(item_desc, chr(10)) > 0; ITEM_DESC ------------------------------------------------ AWT- SWING AWT-S SWING 2 rows selected.
select dump(item_desc) from item_test;
SQL> select * from item_test where item_desc like '%' || chr (10) || '%' / ITEM_DESC ------------------------------------------------------------------------ AWT- SWING AWT-S SWING 2 rows selected.
SQL> with t as ( select chr(90) || chr(110) || chr(100) str from dual ) -- -- select str from t where dump(str) like '%10,%' / STR ---- Znd 1 row selected.
SQL> with t as ( select chr(90) || chr(110) || chr(10) str from dual ) -- -- select str from t where dump(str) like '%,10,%' / no rows selected.
WHERE REGEXP_COUNT ( myfieldvalue, CHR(10)) = 1
select * from item_test where item_desc like '%' || chr(10) || '%' || chr(10) || '%' ;
SQL> with t as ( select chr(10) || chr (90) || chr (110) || chr (100) str from dual ) -- -- select str from t where dump (str) like '%,10%' and not (dump (str) like '%100%') / no rows selected.
SQL> with t as ( select chr(110) || chr(110) str from dual ) -- -- select str from t where (dump(str) like '%,10%') or (dump(str) like '%10,%') and Not ( dump(str) like '%100%') / STR --- nn 1 row selected.
... where dump (str) like '%,10,%' or dump (str) like '% 10,%' or dump (str) like '%,10'
select * from item_test where item_desc like '%' || chr(10) || '%' || chr(10) || '%' and item_desc not like '%' || chr(10) || '%' || chr(10) || '%' || chr(10) || '%' ;
select * from table1 where length (col) - length (replace (col, chr (10))) = 2 /
SQL> with t as ( select 'Some text with one' || chr(10) || 'carriage return' str from dual union all select 'Some text ' || chr(10) || ' with two' || chr(10) || 'carriage return' str from dual union all select 'Some text ' || chr(10) || ' with three' || chr(10) || 'carriage '||chr(10)||' return' str from dual ) -- -- select * from t where length (str) - length (replace (str, chr (10))) = 2 / STR ------------------------------------------------------------ Some text with two carriage return 1 row selected.
SELECT * FROM ITEM_TEST WHERE instr(ITEM_DESC,chr(10))>0 AND SUBSTR(ITEM_DESC,LENGTH(ITEM_DESC)-1,1) != chr(10)