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 All,
Can you please advise how to migrate oracle home (11g,12c) in solaris 10 in server 1 to server 2 which is solaris 11?
Thanks,
Vinoth Kumar.M
SELECT lst , REGEXP_REPLACE ( REGEXP_SUBSTR ( lst , 'name:[^#]*#lastname' , 1 , n ) , 'name:(.*)#lastname' , '\1' ) AS nm
with t as ( select 'name:ali#lastname:kemal#name:mehmet#lastname:cemal' str from dual ) select regexp_replace(regexp_substr('#' || str,'#name:[^#]*',1,level),'^#name:') name from t connect by level <= length(regexp_replace('#' || str,'[^#]')) / 2 / NAME -------- ali mehmet SQL>
col extStr for a20 with work(Val) as( select 'name:ali#lastname:kemal#name:mehmet#lastname:cemal' from dual), rec(Val,extStr,LV) as( select Val, RegExp_SubStr(Val,'(^|#)name:([^#]+)',1,1,null,2),1 from work union all select Val, RegExp_SubStr(Val,'(^|#)name:([^#]+)',1,LV+1,null,2),LV+1 from rec where RegExp_Count(Val,'(^|#)name:[^#]+') >= LV+1) select extStr from rec; EXTSTR ------- ali mehmet