<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Oracle</title>
        <description>Forum for Oracle migration issues.</description>
        <link>http://forums.mysql.com/list.php?61</link>
        <lastBuildDate>Tue, 18 Jun 2013 05:20:10 +0000</lastBuildDate>
        <generator>Phorum 5.2.19</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?61,588368,588368#msg-588368</guid>
            <title>How to update Unique Key Column? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,588368,588368#msg-588368</link>
            <description><![CDATA[ Hi All,<br />
<br />
I have Unique key column for `Mobile`. I am getting the Duplicate key entry Error.<br />
Infact, i am not going to enter the duplicate value into the unique column, but i entered the same value in update query.<br />
<br />
For ex:<br />
if Table looks like<br />
<br />
Username | Mobile(UniqueKey)<br />
abc       | 123<br />
bbc        | 456<br />
<br />
if I am going to execute the following query means, i will get an error like 'Duplicate key '123' for `Mobile`<br />
<br />
Update table1 set `username`='TEST'<br />
MOBILE = '123'<br />
WHERE `USERNAME`='abc'<br />
<br />
PLEASE ANYONE CLARIFY REGARDING THIS ISSUE<br />
<br />
THANKS IN ADVANCE.<br />
SATHIYAMOORTHY]]></description>
            <dc:creator>Sathiya Moorthy</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 18 Jun 2013 04:32:23 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,585591,585591#msg-585591</guid>
            <title>NESTED ERROR when making admin server a windows service (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,585591,585591#msg-585591</link>
            <description><![CDATA[ I created a script to make my admin server a windows service. I successfully made it a service but when it starts it then shuts itself down. i ran a debug and found a error. I dont get what to do. I have tried changing the variables in the script and try it over and over again .....here is my script code and here is the error i got from debug output:<br />
<br />
script<br />
<br />
SETLOCAL<br />
<br />
set DOMAIN_NAME=FRClassicDomain<br />
<br />
set USERDOMAIN_HOME=C:/Oracle/Middleware/user_projects/domains/FRClassicDomain<br />
<br />
set SERVER_NAME=FRweblogic<br />
<br />
set WLS_USER=FRweblogic<br />
<br />
set WLS_PW=hidden<br />
<br />
set ADMIN_URL=http://hidden:7001<br />
<br />
set JAVA_VENDOR=Sun<br />
<br />
set JAVA_HOME=C:/Program Files/Java/jdk1.7.0<br />
<br />
set PRODUCTION_MODE=true<br />
<br />
set MEM_ARGS=-Xms512m –Xmx512m<br />
<br />
call &quot;C:/Oracle/Middleware/user_projects/domains/FRClassicDomain/bin/setDomainEnv.cmd&quot;<br />
<br />
call &quot;C:/Oracle/Middleware/wlserver_10.3/server/bin/installSvc.cmd&quot;<br />
<br />
ENDLOCAL<br />
<br />
my debug output:<br />
<br />
...............<br />
<br />
There are 1 nested errors:<br />
<br />
weblogic.management.ManagementException: [Management:141223]The server name FRwe<br />
blogic specified with -Dweblogic.Name does not exist. The configuration includes<br />
the following servers {AdminServer,WLS_FORMS,WLS_REPORTS,FRasserver}.<br />
at weblogic.management.provider.internal.RuntimeAccessImpl.&lt;init&gt;(Runtim<br />
eAccessImpl.java:149)<br />
at weblogic.management.provider.internal.RuntimeAccessService.start(Runt<br />
imeAccessService.java:41)<br />
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan<br />
ager.java:461)<br />
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ<br />
icesManager.java:166)<br />
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)<br />
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)<br />
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)<br />
at weblogic.Server.main(Server.java:71)<br />
<br />
<br />
&lt;Apr 30, 2013 9:49:06 AM EDT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server sta<br />
te changed to FAILED&gt;<br />
&lt;Apr 30, 2013 9:49:06 AM EDT&gt; &lt;Error&gt; &lt;WebLogicServer&gt; &lt;BEA-000383&gt; &lt;Apr 30, 2013 9:49:06 AM EDT&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server sta<br />
te changed to FORCE_SHUTTING_DOWN&gt;<br />
<br />
C:\Oracle\Middleware\wlserver_10.3\server\bin&gt;]]></description>
            <dc:creator>Erick Ortiz</dc:creator>
            <category>Oracle</category>
            <pubDate>Wed, 08 May 2013 14:08:56 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,585148,585148#msg-585148</guid>
            <title>Replication for Oracle and MySQL - Now 100% Open Source (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,585148,585148#msg-585148</link>
            <description><![CDATA[ Oracle is the most powerful DBMS in the world. However, Oracle's expensive and complex replication makes it difficult to build highly available applications or move data in real-time to data warehouses and popular databases like MySQL.<br />
<br />
In this webinar you will learn how Continuent Tungsten solves problems with Oracle replication at a fraction of the cost of other solutions and with less management overhead too – picture Oracle GoldenGate without the price tag! We will demo constructing a highly available site using Oracle-to-Oracle replication. We will then show you how to replicate data in real time from Oracle to MySQL as well as load a data warehouse.<br />
<br />
You may obtain open source Tungsten Replicator at <a href="http://code.google.com/p/tungsten-replicator"  rel="nofollow">http://code.google.com/p/tungsten-replicator</a>. Alternatively you may also obtain Continuent Tungsten, full-featured solution with 24/7 support, from Continuent at <a href="mailto:&#115;&#97;&#108;&#101;&#115;&#64;&#99;&#111;&#110;&#116;&#105;&#110;&#117;&#101;&#110;&#116;&#46;&#99;&#111;&#109;">&#115;&#97;&#108;&#101;&#115;&#64;&#99;&#111;&#110;&#116;&#105;&#110;&#117;&#101;&#110;&#116;&#46;&#99;&#111;&#109;</a><br />
<br />
Register for a session now by clicking a date below:<br />
<br />
• Thursday, May 2, 2013 @ 10:00 AM PDT/11 AM EDT, <a href="https://www1.gotomeeting.com/register/256313281"  rel="nofollow">https://www1.gotomeeting.com/register/256313281</a><br />
• Tuesday, May 7, 2013 @ 10:00 AM EDT/15:00 BST/16:00 CEST, <a href="https://www1.gotomeeting.com/register/394798433"  rel="nofollow">https://www1.gotomeeting.com/register/394798433</a><br />
<br />
Once registered you will receive an email confirming your registration with information you need to join the webinar.]]></description>
            <dc:creator>Petri Virsunen</dc:creator>
            <category>Oracle</category>
            <pubDate>Mon, 29 Apr 2013 18:42:44 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,583094,583094#msg-583094</guid>
            <title>how to start oracle DB (2 replies)</title>
            <link>http://forums.mysql.com/read.php?61,583094,583094#msg-583094</link>
            <description><![CDATA[ ways to start oracle sid<br />
<br />
startup nomount<br />
startup mount<br />
start open]]></description>
            <dc:creator>sudarshan patil</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 28 May 2013 05:40:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,581002,581002#msg-581002</guid>
            <title>Turn INSERT INTO query into UPDATE (2 replies)</title>
            <link>http://forums.mysql.com/read.php?61,581002,581002#msg-581002</link>
            <description><![CDATA[ I have a piece of software that runs an INSERT INTO query in my MySQL database. I'd like this software to update a row in the table it is accessing instead of creating a new row. I have no access to change the query in the software, so I'm wondering if there is some way to make this happen by other means. Is there a setting I can change on my table, or can I create a new view that the software can use that will make this work? Is this even possible?]]></description>
            <dc:creator>Jack Hard</dc:creator>
            <category>Oracle</category>
            <pubDate>Sat, 25 May 2013 23:04:27 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,580130,580130#msg-580130</guid>
            <title>Migration of Oracle Stored Procedure to MySQL (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,580130,580130#msg-580130</link>
            <description><![CDATA[ Hello,<br />
<br />
We are trying to migrate the Oracle stored procedures/functions in MySQL. <br />
<br />
However, we are having confusion/doubts about few utilities/standard functions that Oracle provided that are available in MySQL or not.<br />
For example, we defined few table types, REF CURSOR, %ROWTYPE variables, using EXECUTE IMMEDIATE function, and to write the data in file we are using UTL_FILE.file_type.<br />
<br />
Since we are new to MySQL and do not have buffer time to study and modify the existing logic that in Oracle. So, requesting to share any document or any standard tool that will help us to convert the existing Oracle logic to MySQL.<br />
<br />
Thank you.]]></description>
            <dc:creator>Anirudha Jalgaonkar</dc:creator>
            <category>Oracle</category>
            <pubDate>Sat, 25 May 2013 23:04:04 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,576625,576625#msg-576625</guid>
            <title>Migrate from Oracle to MySQL (3 replies)</title>
            <link>http://forums.mysql.com/read.php?61,576625,576625#msg-576625</link>
            <description><![CDATA[ Oracle version: 10.2.0.1.0<br />
OS: RedhatLinux 4.1.2-14  <br />
<br />
Application information: VB<br />
Database API : ODBC<br />
<br />
We are planning to migrate Oracle databases to MySQL, Below are my questions please clarify<br />
1) What are the pre-requisites to check before migration?<br />
2) All MySQL versions are supported to migrate?<br />
3) What is the best way to migrate database?<br />
4) Is there any tool to migrate or we have to do manually?<br />
5) If migrations tools available, they are open source?<br />
<br />
Thanks.]]></description>
            <dc:creator>Nassyam Basha</dc:creator>
            <category>Oracle</category>
            <pubDate>Mon, 25 Feb 2013 16:39:13 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,573106,573106#msg-573106</guid>
            <title>Convert oracle SQL statement to MySQL (2 replies)</title>
            <link>http://forums.mysql.com/read.php?61,573106,573106#msg-573106</link>
            <description><![CDATA[ Good day.  I am converting an oracle database to a mysql database.  One of the scripts that is currently running on the oracle system is as follows:<br />
<br />
UPDATE AR_CUST_MASTER a<br />
   SET ARCM_SHORT_NAME =<br />
          (SELECT ARCM_SHORT_NAME<br />
             FROM AR_CUST_MASTER b<br />
            WHERE b.ARCM_CUSTOMER_NO =<br />
                     LPAD (<br />
                        TO_CHAR (TRUNC (a.ARCM_CUSTOMER_NO / 1000) * 1000),<br />
                        9,<br />
                        '0')<br />
                  AND MOD (b.ARCM_CUSTOMER_NO, 1000) = 0<br />
                  AND a.ARCM_COMPANY = b.ARCM_COMPANY)<br />
 WHERE MOD (a.ARCM_CUSTOMER_NO, 1000) != 0;<br />
<br />
<br />
<br />
I am having issues converting this to mySQL.  Any help would be greatly appreciated.<br />
<br />
Kind Regards,<br />
supersobbie]]></description>
            <dc:creator>super sobbie</dc:creator>
            <category>Oracle</category>
            <pubDate>Thu, 15 Nov 2012 14:45:57 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,570293,570293#msg-570293</guid>
            <title>Convert a SP containing &quot;connect by&quot; and &quot;TYPE&quot; (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,570293,570293#msg-570293</link>
            <description><![CDATA[ Hello, i have a SP in Oracle doing the following things that needs to be migrated to MySQL.<br />
<br />
Not sure if MySQL can accomplish the things we asked here. Please give some advice.<br />
<br />
<br />
1. Requirement<br />
There is a table with 3 columns <br />
<br />
ID	|Last_Modified | Flag	<br />
1	|2011-12-11 02:00:00|	0	<br />
2	|2011-12-13 02:00:00|	0	<br />
3	|2011-12-02 02:00:00|	0 <br />
4	|2011-12-12 02:00:00|	0 <br />
<br />
the stored procedure “getback(String pId, String pLast_Modified). E.g. pId =”1,2,3” and pLast_Modified = “2011-12-11 02:00:00, 2011-12-13 02:00:00, 2011-12-01 02:00:00”. <br />
<br />
The logic is that, for the same ID, if the last_modified in the table is later than the passed last_modified, then set the flag for that record to “1”. <br />
<br />
<br />
2. Stored procedure in Oracle<br />
<br />
--procedure<br />
create or replace procedure test1(<br />
p_ids varchar2, <br />
p_dates varchar2<br />
) IS<br />
  TYPE id_type IS TABLE OF NUMBER INDEX BY VARCHAR2(64);<br />
  TYPE date_type IS TABLE OF DATE INDEX BY VARCHAR2(64);<br />
  <br />
  ids id_type;<br />
  last_updated date_type;<br />
  lvar1 varchar2(200);<br />
  lvar2 varchar2(200);<br />
<br />
  cursor c1 is <br />
  With ids as (select rownum id, regexp_substr(p_ids,'[^,]+', 1, level) val from dual<br />
connect by regexp_substr(p_ids, '[^,]+', 1, level) is not null), <br />
       lupdated as (select rownum id, regexp_substr(p_dates,'[^,]+', 1, level) val from dual<br />
connect by regexp_substr(p_dates, '[^,]+', 1, level) is not null)<br />
  select lut.id, <br />
         case when lut.last_updated &gt; to_date(lu.val,'yyyy-mm-dd hh24:mi:ss') then 1<br />
              else 0<br />
         end flag<br />
  from last_updated_tbl lut<br />
      ,ids<br />
      ,lupdated lu<br />
  where lut.id = ids.val<br />
  and   ids.id = lu.id<br />
  ;<br />
  <br />
BEGIN<br />
<br />
  <br />
  open c1;<br />
  loop<br />
     fetch c1 into lvar1,lvar2;<br />
     exit when c1%notfound;<br />
<br />
     dbms_output.put_line(lvar1||' flag:'||lvar2);<br />
     <br />
  end loop;<br />
  <br />
  close c1;<br />
<br />
END;<br />
<br />
3. Issues<br />
<br />
MySQL doesn't support &quot;Connect By&quot; and &quot;TYPE&quot; and others here. Is there anything i can do to workaround those?<br />
<br />
Thanks<br />
<br />
Tony]]></description>
            <dc:creator>Tony ding</dc:creator>
            <category>Oracle</category>
            <pubDate>Fri, 05 Oct 2012 21:21:10 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,569938,569938#msg-569938</guid>
            <title>Real-time Replication Between Oracle and Oracle, and Oracle and MySQL (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,569938,569938#msg-569938</link>
            <description><![CDATA[ Thursday, October 18, 2012 10 am PDT<br />
<a href="https://www1.gotomeeting.com/register/780401048"  rel="nofollow">https://www1.gotomeeting.com/register/780401048</a><br />
<br />
<br />
Oracle is the most powerful database system in the world.  However, Oracle's expensive and complex replication makes it difficult to build highly available applications or move data in real-time to data warehouses and popular databases like MySQL. In this webinar you will learn how Continuent Tungsten solves problems with Oracle replication at a fraction of the cost of other solutions and with less management overhead too – picture Oracle GoldenGate without the price tag! <br />
<br />
We will demo constructing a highly available site using Oracle-to-Oracle replication. We will then show you how to replicate data in real time from Oracle to MySQL as well as load a data warehouse. Continuent Tungsten is a very well-known solution for advanced, easy to use and fast replication for MySQL. Join us to see how we can help you with Oracle as well!]]></description>
            <dc:creator>Petri Virsunen</dc:creator>
            <category>Oracle</category>
            <pubDate>Mon, 01 Oct 2012 18:52:02 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,568615,568615#msg-568615</guid>
            <title>sum(case when max(date) then 1 else 0 end) (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,568615,568615#msg-568615</link>
            <description><![CDATA[ I am new to MySQL so I thank you in advance for your help. <br />
<br />
I have a subscription table that contains subscriptions for a user. Each user could have multiple rows indicating their subscription history. Each rows in the subscription table contain &quot;Date Created&quot;=created_date and &quot;Expiration Date&quot; = exp_date.<br />
<br />
I need to calculate the total number of rows where created_date is within a date range and number of rows that contains exp_Date within a date range.<br />
<br />
For exp_date I need to check the oldest or MAX exp_date.<br />
<br />
Here is what I've tried but using Max within the case doesn't work.<br />
<br />
<br />
<br />
Select <br />
SUM(Case when created_date between 'yyyy-mm-dd' and 'yyyy-mm-dd' then 1 else 0 end) as Created_Count<br />
sum(case when max(Exp_Date between 'yyyy-mm-dd' and 'yyyy-mm-dd' then 1 else 0 end) as Exp_Count]]></description>
            <dc:creator>Hal Campbell</dc:creator>
            <category>Oracle</category>
            <pubDate>Sat, 15 Sep 2012 13:43:56 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,567449,567449#msg-567449</guid>
            <title>High Availability and More with Tungsten Oracle Replication (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,567449,567449#msg-567449</link>
            <description><![CDATA[ Oracle is the most powerful database system in the world. However, Oracle's expensive and complex replication makes it difficult to build highly available applications or move data in real-time to data warehouses and popular databases like MySQL.<br />
<br />
In this webinar you will learn how Continuent Tungsten solves problems with Oracle replication at a fraction of the cost of other solutions and with less management overhead too – picture Oracle GoldenGate without the price tag!<br />
<br />
We will demo constructing a highly available site using Oracle-to-Oracle replication. We will then show you how to replicate date in real time from Oracle to MySQL as well as load a data warehouse. Continuent Tungsten is a very well-known solution for advanced, easy to use and fast replication for MySQL.<br />
<br />
Join us to see how we can help you with Oracle as well! <br />
<br />
Thursday, September 13th <br />
10:00 am PT / 1:00 pm ET/ 19:00 CET<br />
<a href="https://www1.gotomeeting.com/register/655721393"  rel="nofollow">https://www1.gotomeeting.com/register/655721393</a>]]></description>
            <dc:creator>Petri Virsunen</dc:creator>
            <category>Oracle</category>
            <pubDate>Wed, 05 Sep 2012 23:16:15 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,565783,565783#msg-565783</guid>
            <title>CONNECT BY in MYSQL - Help me plz!! (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,565783,565783#msg-565783</link>
            <description><![CDATA[ can i convert this in to Mysql <br />
<br />
SELECT <br />
count(dt) <br />
INTO <br />
p_days <br />
FROM(select to_date(v_start_date, 'DD-MM-YYYY') + rownum -1 dt from dual connect by level &lt;= to_date(v_end_date, 'DD-MM-YYYY') - to_date(v_start_date, 'DD-MM-YYYY') + 1) where to_char(dt,'fmday') not in ('sunday','saturday'); <br />
<br />
help me plz !!]]></description>
            <dc:creator>Utkarsh Varma</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 21 Aug 2012 14:58:12 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,565203,565203#msg-565203</guid>
            <title>Convert Oracle stored procedure using REF_CURSOR to MySQL - Help me plz (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,565203,565203#msg-565203</link>
            <description><![CDATA[ Hi, <br />
<br />
I am trying to convert Oracle Stored Procedure using REF_CURSOR to MYSQL, but facing lots of issues. Can you produce the equivalent code for MySQL?<br />
<br />
Here is my procedure in Oracle:<br />
<br />
create or replace<br />
PROCEDURE SP_CAPPLAN<br />
  (<br />
    p_attid       IN   String,<br />
    p_pmt         IN   String,<br />
    p_phase       IN   String,<br />
    p_application IN   String,<br />
    p_out         OUT  String<br />
  )<br />
<br />
AS<br />
  v_start_date String(30);<br />
  v_end_date   String(30);<br />
  v_date       String(30); <br />
  v_tot_days   NUMBER;<br />
  v_allocated_hrs NUMBER;<br />
  v_per_allocation NUMBER;<br />
  v_location   String(30); <br />
  v_hrs String(30); <br />
  query_str VARCHAR2(1000);<br />
  p_days VARCHAR2(5000); <br />
  TYPE cur_typ IS REF CURSOR;<br />
  c cur_typ;<br />
BEGIN<br />
  <br />
        SELECT <br />
            to_char(STARTDATE, 'DD-MM-YYYY'),to_char(ENDDATE, 'DD-MM-YYYY'), actual_allocated_hrs<br />
        INTO   <br />
            v_start_date, <br />
            v_end_date,<br />
            v_allocated_hrs<br />
        FROM   <br />
            RESOURCE_ALLOCATION_TABLE<br />
        WHERE  <br />
            attuid = p_attid AND <br />
            pmt_work = p_pmt AND <br />
            phase = p_phase AND <br />
            application = p_application; <br />
        <br />
        SELECT<br />
            unique(location)<br />
        INTO<br />
            v_location<br />
        FROM <br />
            resource_details <br />
        WHERE <br />
            attuid = p_attid;<br />
  <br />
        SELECT <br />
            PERCENT_ALLOCATION<br />
        INTO   <br />
            v_per_allocation<br />
        FROM   <br />
            ITUP_MILESTONE_DETAILS<br />
        WHERE  <br />
            PHASE_DESC = p_phase;<br />
            <br />
<br />
        DELETE <br />
        FROM  <br />
          RESOURCE_WORK_ALLOCATION_DET <br />
        WHERE <br />
          ATTUID = p_attid AND <br />
          PMT = p_pmt AND <br />
          PHASE = p_phase AND <br />
          APPLICATION =p_application;<br />
        COMMIT;<br />
        <br />
        IF v_location is null THEN <br />
            v_location := 'Offshore' ;    <br />
        END IF;   <br />
        <br />
        SELECT <br />
            count(dt) <br />
        INTO <br />
            p_days<br />
        FROM(select to_date(v_start_date, 'DD-MM-YYYY') + rownum -1 dt from dual connect by level &lt;= to_date(v_end_date, 'DD-MM-YYYY') - to_date(v_start_date, 'DD-MM-YYYY') + 1) where to_char(dt,'fmday') not in ('sunday','saturday');<br />
        <br />
        query_str :='select dt from(select to_date('''||v_start_date||''', ''DD-MM-YYYY'') + rownum -1 dt from dual connect by level &lt;= to_date('''||v_end_date||''', ''DD-MM-YYYY'') - to_date('''||v_start_date||''', ''DD-MM-YYYY'') + 1) where to_char(dt,''fmday'') not in (''sunday'',''saturday'')';<br />
        OPEN c FOR query_str ;<br />
        LOOP<br />
            FETCH c INTO v_date;<br />
            EXIT WHEN c%NOTFOUND;<br />
            --v_hrs := ROUND(v_allocated_hrs*v_per_allocation*0.01/p_days,2)||'' ;<br />
            --Actual allocated hours added by team lead for a particular phase particular resource<br />
            --start date and end date added by team lead for woriking of the actual allocated hours<br />
             v_hrs := ROUND(v_allocated_hrs/p_days,2)||'' ;<br />
            -- v_hrs is what a resource will work per day<br />
            INSERT INTO RESOURCE_WORK_ALLOCATION_DET(ALL_DATE,ATTUID,PMT,PHASE,APPLICATION,HOURS,LOCATION) VALUES(v_date,p_attid,p_pmt,p_phase,p_application,v_hrs,v_location);<br />
            COMMIT;<br />
        END LOOP;<br />
        CLOSE c;<br />
      p_out := 'Success';<br />
END SP_CAPPLAN;<br />
<br />
<br />
Thanks in advance!]]></description>
            <dc:creator>Utkarsh Varma</dc:creator>
            <category>Oracle</category>
            <pubDate>Thu, 16 Aug 2012 11:41:32 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,561972,561972#msg-561972</guid>
            <title>Oracle (2 replies)</title>
            <link>http://forums.mysql.com/read.php?61,561972,561972#msg-561972</link>
            <description><![CDATA[ how to convert oracle database to mysql?<br />
<br />
<br />
<br />
Regards,<br />
Selva.<br />
<a href="http://natarajmasala.com/"  rel="nofollow">http://natarajmasala.com/</a>]]></description>
            <dc:creator>Selva Karthi</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 18 Sep 2012 06:15:18 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,560111,560111#msg-560111</guid>
            <title>Migration of Oracle 9i to MySQL 5.5 (3 replies)</title>
            <link>http://forums.mysql.com/read.php?61,560111,560111#msg-560111</link>
            <description><![CDATA[ Hello<br />
<br />
I am pretty sure you can do this but I want to make sure.  It IS possible to migrate from Oracle 9i to MySQL 5.5?  9i is a few revs behind and I just want to make sure before we tackle the project.  Most of the posts regarding this are a few years old.<br />
<br />
Thanks<br />
<br />
Larry C]]></description>
            <dc:creator>Larry Cronin</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 18 Sep 2012 06:11:04 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,558424,558424#msg-558424</guid>
            <title>Replicate between MySQL and Oracle - without expense of GoldenGate (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,558424,558424#msg-558424</link>
            <description><![CDATA[ <a href="http://flyingclusters.blogspot.com/2012/06/replicate-from-oracle-to-mysql-without.html"  rel="nofollow">http://flyingclusters.blogspot.com/2012/06/replicate-from-oracle-to-mysql-without.html</a>]]></description>
            <dc:creator>Petri Virsunen</dc:creator>
            <category>Oracle</category>
            <pubDate>Fri, 22 Jun 2012 21:13:52 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,552880,552880#msg-552880</guid>
            <title>Is there any way to push the data from MYSQL to ORACLE ? (6 replies)</title>
            <link>http://forums.mysql.com/read.php?61,552880,552880#msg-552880</link>
            <description><![CDATA[ Hi All,<br />
<br />
i want to push bulk data from mysql tp oracle. Is there any wutomatic way to do it?<br />
<br />
is there any connection link we can create between oracle and mysql.]]></description>
            <dc:creator>RENGNATHAN M G</dc:creator>
            <category>Oracle</category>
            <pubDate>Thu, 27 Sep 2012 09:04:43 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,546375,546375#msg-546375</guid>
            <title>Data synchronization between Oracle &amp; MySQL databases (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,546375,546375#msg-546375</link>
            <description><![CDATA[ Hello,<br />
<br />
I'm looking for a DB sync software that can run on Linux to perform data synchronization between one Oracle master DB &amp; multiple MySQL DB's. I've searched &amp; found DBSync but don't know how good it is &amp; whether or not it would run on Linux.  Has anyone used  DBSync or any other DB sync software &amp; would recommend?<br />
<br />
Thanks.]]></description>
            <dc:creator>Tammy Doan</dc:creator>
            <category>Oracle</category>
            <pubDate>Fri, 22 Jun 2012 21:15:59 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,544067,544067#msg-544067</guid>
            <title>How can you compare a part of the name rather than the entire name? (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,544067,544067#msg-544067</link>
            <description><![CDATA[ SELECT * FROM people WHERE empname LIKE '%ab%'Would return a recordset with records consisting empname the sequence 'ab' in empname.]]></description>
            <dc:creator>Andrew Jackson</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 29 May 2012 10:50:51 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,532244,532244#msg-532244</guid>
            <title>How to convert  some Oracle to MYSQL Queries (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,532244,532244#msg-532244</link>
            <description><![CDATA[ Hello,<br />
i want to convert Oracle Queries to MYSQL Queries, but i have problems with some of them.<br />
<br />
The Queries are like this:<br />
<br />
1)    MERGE INTO tab1 d1<br />
       USING tab d2 <br />
       ON (d1.id = d2.id)<br />
      WHEN MATCHED THEN<br />
        UPDATE SET d1.zufriedenheit = 'Merge Update'<br />
      WHEN NOT MATCHED THEN<br />
        INSERT (d1.id, d1.typ, d1.active, d1.zufriedenheit)<br />
        VALUES (d2.id, d2.typ, d2.dpr_scd_active,'Merge Insert');<br />
<br />
<br />
2)   SELECT<br />
     REGEXP_REPLACE(tab1, '(.)', '\1 ') &quot;REGEXP_REPLACE&quot;,<br />
     REGEXP_SUBSTR(tab1,'([[:alnum:]]+\.?){3,4}/?') &quot;REGEXP_SUBSTR&quot;, tab2<br />
     FROM tab2<br />
     WHERE REGEXP_LIKE (tab2, '([8])\1', 'i');<br />
<br />
<br />
3)   SELECT *<br />
     FROM<br />
     (select  tab1,  tab2, avg(tab3),<br />
     DENSE_RANK() OVER ( PARTITION BY tab1 ORDER BY(tab3)) as Rang<br />
     FROM <br />
      .<br />
      .<br />
      .<br />
     where Rang &lt; 11<br />
      ..;<br />
<br />
<br />
4)   SELECT * FROM (<br />
     ......)<br />
     WHERE rownum &lt;= 100;<br />
(I have found a alternative for rownum, but with the constraint rownum &lt;= 100 it doesn´t work.)<br />
<br />
<br />
5)   SELECT tab1, tab2,<br />
     SUM(tab2) OVER (PARTITION BY tab1) as res1,<br />
     tab3,<br />
     SUM(tab3) OVER (PARTITION BY tab1) as res2,<br />
     tab4,<br />
     SUM(tab4) OVER (PARTITION BY tab1) as res3,<br />
     from (<br />
     .<br />
     .<br />
     .<br />
<br />
<br />
<br />
Maybe you can help me with some of them.]]></description>
            <dc:creator>Luisa Schulze</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 08 May 2012 08:51:38 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,530042,530042#msg-530042</guid>
            <title>Create db link in MySQL (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,530042,530042#msg-530042</link>
            <description><![CDATA[ I have 2 MySql db instances, let's say one on server1 and the other on server2. The servers are at two different physical locations. Is it possible to create a db link between these two db instances so that I can access data from both these databases using a single query?<br />
<br />
If no db links, then what other options do I have?<br />
<br />
Thanks.]]></description>
            <dc:creator>Sudhanshu Umalkar</dc:creator>
            <category>Oracle</category>
            <pubDate>Wed, 02 May 2012 03:33:15 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,524992,524992#msg-524992</guid>
            <title>Is there a command in MySQL to capture the name of the client applications that are open session in the database? (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,524992,524992#msg-524992</link>
            <description><![CDATA[ Hello,<br />
<br />
I wanted to ask if anyone has tried the command Oracle &quot;sys_context ('USERENV', 'MODULE')&quot; equivalent in MySQL?<br />
<br />
In other words, wanted to know if I can capture the name of the client application that the session opened in MySQL?<br />
<br />
Thank you for listening and sorry for english I used a translator ...]]></description>
            <dc:creator>William Mometti</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 10 Apr 2012 19:02:23 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,521238,521238#msg-521238</guid>
            <title>How to send a list of user defined objects to stored procedure? (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,521238,521238#msg-521238</link>
            <description><![CDATA[ Hi,<br />
<br />
I use Springs and hibernate.<br />
<br />
How to send a list of user defined objects to a stored procedure?<br />
<br />
Here's my scenario: <br />
I have a table 'TEST' with two columns 'ID' and 'NAME'<br />
From java, I have a list of Domain objects with two variables 'id' and 'name' that are mapped to this 'TEST' table by hibernate.<br />
I want to insert the data that are available in the list of mapped domain objects into the 'TEST' table and also do some other operation on the DB side for each data in the list. So I have chosen the stored procedure to do the insert and do the rest of the needed operation. As there will be millions of records (in the list) to be inserted, I dont want to do my iteration in java and call my stored procedure every time considering the fact that my DB layer stays on a different machine.<br />
<br />
Is there any way that MYSQL can understand these objects if I send them to the stored procedure? <br />
Is there any way to BIND them so that they can understand the domain objects and start inserting?<br />
<br />
Any lights on this would be highly appreciated.]]></description>
            <dc:creator>Lithwin Justin</dc:creator>
            <category>Oracle</category>
            <pubDate>Thu, 22 Mar 2012 11:53:40 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,519279,519279#msg-519279</guid>
            <title>How to insert data into Oracle db from MySQL db through PHP? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,519279,519279#msg-519279</link>
            <description><![CDATA[ Hi,<br />
<br />
I want to insert my MySQL data into Oracle database through PHP.<br />
I can access Mysql database using mysql_conect() &amp; Oracle database using oci_connect() through PHP.<br />
Now How can I insert my data which is in MySQL into Oracle table. Both table structure are exactly same.<br />
So I can use <br />
insert into Oracle_Table(Oracle_columns....) values(Select * from MySQL_Table);<br />
But again problem is I can't open both connections at the same time.<br />
<br />
So has anyone done this before or anyone having any other idea..<br />
<br />
Plz guide me...]]></description>
            <dc:creator>pratik kanawade</dc:creator>
            <category>Oracle</category>
            <pubDate>Fri, 09 Mar 2012 16:24:20 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,519190,519190#msg-519190</guid>
            <title>Moving Data in Real-Time between Oracle and MySQL (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,519190,519190#msg-519190</link>
            <description><![CDATA[ <a href="https://www1.gotomeeting.com/register/981722992"  rel="nofollow">https://www1.gotomeeting.com/register/981722992</a><br />
Webcast, Thursday, 3/15 @ 10 am PT/1pm ET<br />
<br />
Moving data between legacy Oracle databases and cheap, flexible MySQL-based applications is an increasingly important problem for open source-based businesses. Do you need to move sales requests from MySQL-based web applications to an Oracle-based procurement system? How about from your Oracle ERP applications back to MySQL? Tungsten Replicator leverages open source to move data in real-time at a fraction of the cost of solutions from expensive enterprise vendors.   <br />
<br />
In this webinar we will show you how to use Tungsten to replicate transactions from Oracle to MySQL as well as MySQL to Oracle. We will describe the setup on each side of the fence and show demos of data movement in both directions. Finally, we will introduce a few of the other replication combinations Tungsten Replicator handles, including MongoDB, Vertica, and PostgreSQL.<br />
<br />
Tungsten Replicator makes MySQL data plug-and-play with Oracle without application changes or complex configuration -- Think Oracle GoldenGate™ without the price tag! And Continuent offers the support you need to get replication projects deployed quickly and efficiently. Join us to learn how our heterogenous replication solutions can help you today! <br />
<br />
<a href="https://www1.gotomeeting.com/register/981722992"  rel="nofollow">https://www1.gotomeeting.com/register/981722992</a>]]></description>
            <dc:creator>Petri Virsunen</dc:creator>
            <category>Oracle</category>
            <pubDate>Thu, 08 Mar 2012 22:25:37 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,518878,518878#msg-518878</guid>
            <title>character set and collation (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,518878,518878#msg-518878</link>
            <description><![CDATA[ How can I find collation and character set in oralce?<br />
<br />
Is there utf8 and utf8_general_ci in oralce?]]></description>
            <dc:creator>jongse park</dc:creator>
            <category>Oracle</category>
            <pubDate>Fri, 09 Mar 2012 15:23:12 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,517893,517893#msg-517893</guid>
            <title>COUNT (*) OVER () (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,517893,517893#msg-517893</link>
            <description><![CDATA[ How can I convert Oralce COUNT(*) OVER() to MySQL?]]></description>
            <dc:creator>jongse park</dc:creator>
            <category>Oracle</category>
            <pubDate>Wed, 29 Feb 2012 16:56:12 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,517648,517648#msg-517648</guid>
            <title>Need help (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,517648,517648#msg-517648</link>
            <description><![CDATA[ I am using the following query:<br />
<br />
SELECT *<br />
FROM TABLE(GBS_P_B_SPOC_RPRT_FNC('10','D84', '041', q'['BR','NA']' , '', '','703015498'))<br />
<br />
I want to use ‘BR’,’NA’ as sdu_code in (‘BR’,’NA’)<br />
<br />
But its taking the ‘BR’,’NA’ as a total string and giving wrong output.<br />
<br />
Please help<br />
----------------------------------------------<br />
<b><a href="http://www.starconfig.com.au/"  rel="nofollow">Website Design Sydney</a></b> | <b><a href="http://www.starconfig.com.au/"  rel="nofollow">Web Design Sydney</a></b> | <b><a href="http://www.starconfig.com.au/"  rel="nofollow">Cheap Web Design Sydney</a></b>]]></description>
            <dc:creator>star config</dc:creator>
            <category>Oracle</category>
            <pubDate>Mon, 27 Feb 2012 11:42:19 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,517014,517014#msg-517014</guid>
            <title>export Oracle data in MySQL through PHP (2 replies)</title>
            <link>http://forums.mysql.com/read.php?61,517014,517014#msg-517014</link>
            <description><![CDATA[ HI,<br />
<br />
Can anybody tried to export Oracle data &amp; fed it to MySQL db through PHP coding?<br />
Plz guide me or tell me how we can achieve this?<br />
<br />
I have write code in php to connect to both Mysql &amp; Oracle databases. Now want to move Oracle data into Mysql (using PHP)..<br />
<br />
Plz help me..<br />
Thanks..]]></description>
            <dc:creator>pratik kanawade</dc:creator>
            <category>Oracle</category>
            <pubDate>Sat, 25 Feb 2012 07:13:21 +0000</pubDate>
        </item>
    </channel>
</rss>
