<?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, 24 Nov 2009 20:20:22 +0000</lastBuildDate>
        <generator>Phorum 5.2.1-alpha</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?61,292259,292259#msg-292259</guid>
            <title>NEED YOUR HELP VERY MUCH (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,292259,292259#msg-292259</link>
            <description><![CDATA[ Dear Database Support Professional,<br />
 <br />
I am Database Administrator and I am writing to ask for your help in responding to a 10-12 minute survey for a degree requirement on relational database support professionals in the USA. Please note that the respondent is completely anonymous. If I don’t get this portion of my degree completed by the end of this semester, then I would have to wait for another year which entails additional costs and time on me. By completing the survey, you will be contributing to research in our field and also there is the satisfaction of having helped a fellow professional and a fellow human being attain his goals. I believe a good turn always bring another in some way in our lives. I therefore kindly beg for your help to a fellow database professional by completing this survey.  The link to the survey is provided below.  If possible please forward to other database professionals or groups:<br />
<a rel="nofollow"  href="http://www.surveymonkey.com/s.aspx?sm=a1JqU7GVt1g6rCkIPyL23w_3d_3d">http://www.surveymonkey.com/s.aspx?sm=a1JqU7GVt1g6rCkIPyL23w_3d_3d</a><br />
<br />
Thank you earnestly for your kindness.<br />
Gabriel]]></description>
            <dc:creator>Gabby Takash</dc:creator>
            <category>Oracle</category>
            <pubDate>Sat, 21 Nov 2009 14:31:56 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,291944,291944#msg-291944</guid>
            <title>Every derived table must have an alias (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,291944,291944#msg-291944</link>
            <description><![CDATA[ Trying to port the following SQL from Oracle to MYSQL and it gives the error<br />
<br />
Every derived table must have an alias<br />
<br />
<br />
SELECT COUNT(job_id) number_of_jobs FROM<br />
(SELECT distinct(jobs.job_id) FROM active_jobs, jobs<br />
WHERE active_jobs.stage = 'DELETION' AND jobs.deletion_status = 'ERROR' AND jobs.job_id = active_jobs.job_id);<br />
<br />
Any idea what the correct syntax is. I need it to run againgst Oracle and MYSQL]]></description>
            <dc:creator>John Dunn</dc:creator>
            <category>Oracle</category>
            <pubDate>Thu, 19 Nov 2009 16:07:49 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,291567,291567#msg-291567</guid>
            <title>Can't call commit when autocommit=true (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,291567,291567#msg-291567</link>
            <description><![CDATA[ Am trying to convert an application that currently runs with Oracle database to run with MYSQL.<br />
<br />
I get the error &quot;Can't call commit when autocommit=true&quot;. This appears to be happening on a Select statement(but may be on a commit somewhere)<br />
<br />
Can I set autocommit off at some global level(i.e outside the code at a database level??). I do not want to amend the code as it still needs to run with Oracle databases.]]></description>
            <dc:creator>John Dunn</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 17 Nov 2009 16:28:49 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,289864,289864#msg-289864</guid>
            <title>JD Edwards Data Archiving Solution (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,289864,289864#msg-289864</link>
            <description><![CDATA[ Organizations can mitigate the impact of data growth by running batch reports during downtimes, purchasing faster hardware or purge data from the application. <br />
<br />
None of these strategies fully address the reality of application growth coupled with the need for long term data retention. To maintain performance of JD Edwards database, while ensuring compliance, organizations must Analyze JD Edwards data for a given module or the sum total of the Application database. For more information visit <a rel="nofollow"  href="http://www.solix.com/jd_edwards_data_archiving_solution.htm">http://www.solix.com/jd_edwards_data_archiving_solution.htm</a>]]></description>
            <dc:creator>Anand  Kumar</dc:creator>
            <category>Oracle</category>
            <pubDate>Fri, 06 Nov 2009 09:46:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,289213,289213#msg-289213</guid>
            <title>Oracle ACCEPT Keyword in Mysql (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,289213,289213#msg-289213</link>
            <description><![CDATA[ I am new to Mysql,<br />
  I was wondering how the ACCEPT keyword of Oracle SQL script will be replaced <br />
  in Mysql script, So that user will be asked for runtime input during execution <br />
<br />
*******************<br />
ACCEPT Colx PROMPT'Please enter column name:'<br />
ACCEPT cond PROMPT'Please enter lowest salary value:'<br />
SELECT empno, eName, &amp;Colx<br />
     FROM Emp<br />
     WHERE &amp;Colx &gt; &amp;cond<br />
     ORDER BY &amp;Colx;<br />
*******************<br />
<br />
regards,<br />
Palash]]></description>
            <dc:creator>Palash Chatterjee</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 03 Nov 2009 05:44:12 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,287532,287532#msg-287532</guid>
            <title>Error during Migration (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,287532,287532#msg-287532</link>
            <description><![CDATA[ While trying to migrate from Oracle to Migration and while Genreating target objects phase, I am gettign the following error<br />
<br />
Create object online or write a SQL create script? (1.Online 2. Script 3. both 0.Abort) 1<br />
<br />
Create database objects,<br />
Initializing JDBC driver...<br />
       Driver class MySQL JDBC Driver 5.0<br />
Opening connection ...<br />
        Connection jdbc:mysql://hostname:3306/?user=root&amp;password=abcd  &amp;useServerPrepStmts=false&amp;characterEncoding=UTF-8<br />
The SQL create script cannot be executed<br />
&quot;The function TransformationMysql:splitSqlCommands() returned the following error:<br />
You have to submit a SQL script as parameter.&quot;<br />
:com.mysql.grt.Grt.callGrtFunction(Unknown Source)<br />
com.mysql.grt.modules.TransformationMysqlJdbc.executeSqlStatements(Unknown Source)<br />
<br />
Let me know how this can be resolved.<br />
Thanks]]></description>
            <dc:creator>Aruna Raghunam</dc:creator>
            <category>Oracle</category>
            <pubDate>Thu, 22 Oct 2009 20:18:56 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,284521,284521#msg-284521</guid>
            <title>organic search engine marketing (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,284521,284521#msg-284521</link>
            <description><![CDATA[ Internet marketing's newest thing is organic search engine optimization.  Almost 50% of consumers start the buying process with an online search using Google, Yahoo, or similar.  Potential customers are letting the search engine fingers do all the walking these days.<br />
Search engine marketing (SEM) and search engine optimization (SEO) are nothing new.  Both of those concepts have been around for a few years.  As these disciplines have developed and grown more nuanced it was necessary to distinguish them further and add the organic SEO designation.<br />
Not everyone knows what &quot;organic search&quot; is.<br />
Listings that result from a search that are not paid advertisements are considered to be organic.  For instance, when a user types in a term or phrase in the empty Google box what results are some sponsored links and advertisements, usually on the right side of the browser or along the top of the page, and a list of links to various websites, usually on the left side of the browser window.  These links could be to news reports, personal blogs, article directories, or many other types of websites.  As opposed to being paid advertisements, links make this list due to their relevancy to the search topic or words.<br />
Acording to Google, many more people click through these links than those of the &quot;pay per click&quot; links.  Not surprising since most people would rather go to a site that was especially relevant to what they were looking for.  Customers are understandably skeptical when it comes to advertising language.  They do not want to be manipulated or feel like they are being lied to.<br />
That doesn't mean that paid advertising links are dishonest.  Just because a link makes the top of the page in a list of organic search results doesn't mean it can be trusted.  In the past it was possible to inflate a page ranking simply by repeating the key words or phrases over and over.  This is known as &quot;key word stuffing.&quot;  It is certainly not a good strategy.  Besides, neither Google nor customers are stupid.<br />
Searchers find it helpful to see a brief excerpt or description below the link.  This allows for quick scanning of the list to see which link is best.  Although all the links are relevant, some will be more relevant than others. <br />
Organic search engine optimization attempts to make the most out of every web page.  It is a completely legitimate method that seeks to maximize the impact of content that a business has made available to would-be customers.  What good is it to have a great product if knows one knows about it?  Good practitioners of this approach will stay on top of how search engines like Google determine where a page should rank in an organic search.  It is an ever changing algorithm so just because something was effective last year doesn't mean it will work this year.<br />
Shortcuts or tricks usually won't work for very long.  Smart, honest organic search engine optimization will always be more effective.<br />
For more information on Organic Search and Indianapolis SEO , contact the professionals at DeepRipples.com <br />
rl=http://www.davepye.com]humor blog[/url]<br />
<a rel="nofollow"  href="http://www.deepripples.com">organic search engine marketing</a>]]></description>
            <dc:creator>gracy smith</dc:creator>
            <category>Oracle</category>
            <pubDate>Sun, 04 Oct 2009 04:12:20 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,284389,284389#msg-284389</guid>
            <title>IT efficiency can be improved with automated cloning (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,284389,284389#msg-284389</link>
            <description><![CDATA[ It is well known that creating clones manually is labor intensive process. But with the assistance of Solix's product we've been creating automated clones where clones are created and configured faster and with fewer errors. Solix also provides products and solutions for data archiving, etc. For more information visit solix.com]]></description>
            <dc:creator>Anand  Kumar</dc:creator>
            <category>Oracle</category>
            <pubDate>Fri, 02 Oct 2009 16:40:28 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,282840,282840#msg-282840</guid>
            <title>Delete all rows in table but keep the last recent 2 (4 replies)</title>
            <link>http://forums.mysql.com/read.php?61,282840,282840#msg-282840</link>
            <description><![CDATA[ I want to keep the last two most recent records in a table and delete anything else - any ideas how this would be acomplished?<br />
<br />
I have a ID column and CREATE_DATE column<br />
I can either sort by CREATE_DATE - and keep the last two<br />
<br />
All other data that needs to be purged out.<br />
How can accomplish this?<br />
<br />
max(ID) or max(CREATE_DATE) find the newest record <br />
how do I find the following record?<br />
select (max(ID) -1 ) doesnot work since the ID are not sequential<br />
<br />
|                   26821 | <br />
|                   27963 | <br />
|                   28007 | <br />
|                   28131 | <br />
|                   28197 | <br />
+-------------------------+]]></description>
            <dc:creator>yvonne kire</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 29 Sep 2009 23:54:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,282040,282040#msg-282040</guid>
            <title>IT efficiency can be improved with automated cloning (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,282040,282040#msg-282040</link>
            <description><![CDATA[ It is well known that creating clones manually is labor intensive process. But with the assistance of Solix's product we've been creating automated clones where clones are created and configured faster and with fewer errors. Solix also provides products and solutions for data archiving, etc. For more information visit <a rel="nofollow"  href="http://www.solix.com/enterprise_data_archiving.htm">http://www.solix.com/enterprise_data_archiving.htm</a>]]></description>
            <dc:creator>Anand  Kumar</dc:creator>
            <category>Oracle</category>
            <pubDate>Sat, 19 Sep 2009 07:43:39 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,281604,281604#msg-281604</guid>
            <title>UTL_FILE - anything equivalent in MYSQL? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,281604,281604#msg-281604</link>
            <description><![CDATA[ Does MySql have any functionality like the UTL_FILE procedure from Oracle?  I need to write files from within MySQL and don't see any way to accomplish this.  Tee, notee do not provide the functionality required.<br />
<br />
Thanks<br />
Steve]]></description>
            <dc:creator>steve emmett</dc:creator>
            <category>Oracle</category>
            <pubDate>Wed, 16 Sep 2009 20:51:21 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,279321,279321#msg-279321</guid>
            <title>Data Transfer From MySQL to ORACLE (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,279321,279321#msg-279321</link>
            <description><![CDATA[ Hi,<br />
<br />
We have an application which uses Oracle Database Server as primary database. Now, the client machine is running an application and in case of network breakdown the application should still work and online transactions should be processed. <br />
<br />
So, what we are planning is to create a copy of database (MySQL as a copy) in client machine and perform the transaction. When the network is up the data has to be updated to the Oracle database.<br />
<br />
Can any one suggest how to achieve this or is there any other better way? <br />
<br />
Regards]]></description>
            <dc:creator>Ansaar Ahmed Shaik</dc:creator>
            <category>Oracle</category>
            <pubDate>Fri, 30 Oct 2009 11:07:21 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,279313,279313#msg-279313</guid>
            <title>Data Migration is an important aspect of organizing data (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,279313,279313#msg-279313</link>
            <description><![CDATA[ Data migration is an integral part of organizing data and we are using Solix Application Sunsetting and Migration solution which allows companies to map metadata between applications and create conversion rules for faster and seamless data migration. For more information visit solix.com]]></description>
            <dc:creator>Anand  Kumar</dc:creator>
            <category>Oracle</category>
            <pubDate>Wed, 02 Sep 2009 10:22:18 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,279277,279277#msg-279277</guid>
            <title>MySQL equivalent Oracle Lag, Partition By - Query Help (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,279277,279277#msg-279277</link>
            <description><![CDATA[ I need to retrieve invoices from 3 tables.<br />
Table Project_Detail has my project details<br />
Table Project_Item storing items for my project. each project have 1 or more items.<br />
Table Project_Item_Invoice will store invoices for each items in each project. 1 item may have more than 1 invoice also.<br />
<br />
Query:<br />
SELECT A.Project_No, B.Item_ID, B.Item_Name,<br />
C.Invoice_ID, C.Date, C.Amount, C.Invoice_No<br />
FROM Project_Detail A<br />
LEFT JOIN Project_Item B ON A.Project_No = B.Project_No<br />
LEFT JOIN Project_Item_Invoice C ON A.Project_No = C.Project_No AND <br />
B.Item_ID = C.Item_ID<br />
WHERE A.Project_No LIKE 'WPJ%' AND A.Project_Status = 'Closed' <br />
ORDER BY A.Project_No DESC, B.Item_ID, C.Invoice_ID<br />
<br />
The selected data from database:<br />
___________________________________________________________________________<br />
|Project_No | Item_ID | Item_Name | Invoice_ID | Date | Amount | Invoice_No |<br />
---------------------------------------------------------------------------<br />
|WPJ-0906-1693 | 1 | TNA0052941 | 1 | 2009-08-25 | 1207.58 | 0907-1141 |<br />
|WPJ-0906-1693 | 1 | TNA0052941 | 2 | 2009-08-26 | 2836.70 | 0906-1153 |<br />
|WPJ-0906-1693 | 1 | TNA0052941 | 3 | 2009-08-27 | 1234.70 | 0906-1157 |<br />
|WPJ-0906-1693 | 2 | TNA0052942 | 1 | 2009-08-26 | 5678.90 | 0906-1150 |<br />
|WPJ-0906-1693 | 2 | TNA0052942 | 2 | 2009-08-27 | 4356.20 | 0906-1158 |<br />
<br />
The result I want is like this:<br />
___________________________________________________________________________<br />
|Project_No | Item_ID | Item_Name | Invoice_ID | Date | Amount | Invoice_No |<br />
---------------------------------------------------------------------------<br />
|WPJ-0906-1693 | 1 | TNA0052941 | 1 | 2009-08-25 | 1207.58 | 0907-1141 |<br />
|___(blank)____ | _ | __(blank)___ | 2 | 2009-08-26 | 2836.70 | 0906-1153 |<br />
|___(blank)____ | _ | __(blank)___ | 3 | 2009-08-27 | 1234.70 | 0906-1157 |<br />
|___(blank)____ | 2 | TNA0052942 | 1 | 2009-08-23 | 5678.90 | 0906-1150 |<br />
|___(blank)____ | _ | __(blank)___ | 2 | 2009-08-25 | 4356.20 | 0906-1158 |<br />
<br />
In Oracle, I can select the data with decode, lag, partition by:<br />
<br />
select <br />
decode (t.Project_No,t.Prev_Project_No,'') Project_No,<br />
decode (t.Item_ID,t.Prev_Item_Id,'') Item_Id,<br />
decode (t.Item_Name,t.Prev_Item_Name,'') Item_Name,<br />
t.Invoice_ID, t.Date, t.Amount, t.Invoice_No<br />
from<br />
(<br />
SELECT <br />
A.Project_No, B.Item_ID, B.Item_Name,<br />
C.Invoice_ID, C.Date, C.Amount, C.Invoice_No,<br />
lag(A.Project_No,1,0) <br />
  over (partition by A.Project_No<br />
          order by A.Project_No DESC, B.Item_ID, C.Item_Name )Prev_Project_No,<br />
lag(B.Item_ID,1,0) <br />
  over (partition by B.Item_ID<br />
          order by A.Project_No DESC, B.Item_ID, C.Item_Name )Prev_Item_Id,<br />
lag(B.Item_Name,1,0) <br />
  over (partition by C.Item_Name<br />
          order by A.Project_No DESC, B.Item_ID, C.Item_Name )Prev_Item_Name,<br />
FROM Project_Detail A<br />
LEFT JOIN Project_Item B ON A.Project_No = B.Project_No<br />
LEFT JOIN Project_Item_Invoice C ON A.Project_No = C.Project_No <br />
AND B.Item_ID = C.Item_ID<br />
WHERE A.Project_No LIKE 'WPJ%' AND A.Project_Status = 'Closed' <br />
) t<br />
<br />
How to do this in MySQL? I only know MySQL have 'if' (equal to 'decode' in Oracle) statement. How about lag and partition?]]></description>
            <dc:creator>Si Han Tang</dc:creator>
            <category>Oracle</category>
            <pubDate>Thu, 03 Sep 2009 19:59:59 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,278590,278590#msg-278590</guid>
            <title>Tungsten = MySQL and Oracle Data Availability and Scalability (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,278590,278590#msg-278590</link>
            <description><![CDATA[ Live webcast: Thursday, September 17 '09, 1 pm ET/10 am PT <br />
Register at: <a rel="nofollow"  href="http://continuent.webex.com">http://continuent.webex.com</a> <br />
<br />
Continuent Tungsten Enterprise offers simple, economical, and flexible data replication to all MySQL and Oracle users, regardless of the Oracle edition they are using. Continuent Tungsten works with Oracle Xpress Edition, Oracle Standard Edition One, Oracle Standard Edition, and Oracle Enterprise Edtion. <br />
<br />
This enables solutions to a number of important business problems:<br />
<br />
- Ensuring database high availability: Tungsten as an alternative for Oracle Streams<br />
- Recovery from site failures: Tungsten as an alternative for Oracle Data Guard<br />
- Replication to MySQL<br />
- Replication to other JDBC databases<br />
- Zero-downtime upgrades.<br />
<br />
Continuent Tungsten Enterprise capabilities permit users to run 24x7 businesses and gain maximum benefits from data stored in Oracle. <br />
<br />
<br />
Join us for a live webcast on September 17, 2009, to learn more! <br />
Register at <a rel="nofollow"  href="http://continuent.webex.com">http://continuent.webex.com</a>]]></description>
            <dc:creator>Petri Virsunen</dc:creator>
            <category>Oracle</category>
            <pubDate>Fri, 28 Aug 2009 22:03:28 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,277734,277734#msg-277734</guid>
            <title>RAISE_APPLICATION_ERROR (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,277734,277734#msg-277734</link>
            <description><![CDATA[ Is there an equivilant of Oracles RASIE_APPLICATION_ERROR in MySQL?<br />
<br />
I am converting some PL/SQL procedures over to MySQL, and this would be a handy addition.<br />
<br />
If not what are the alternatives?<br />
<br />
Regards,<br />
<br />
Andy]]></description>
            <dc:creator>Andy Paton</dc:creator>
            <category>Oracle</category>
            <pubDate>Wed, 26 Aug 2009 14:43:42 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,277533,277533#msg-277533</guid>
            <title>Help Order by (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,277533,277533#msg-277533</link>
            <description><![CDATA[ hello all, <br />
<br />
I have a problem and not how he would deal. Make a query to a table as follows <br />
<br />
select id from menu order by id asc <br />
<br />
+----------+<br />
| id       |<br />
+----------+<br />
| 1,2      |<br />
| 1,2,1    |&lt;-----------------<br />
| 1,2,1,1  |<br />
| 1,2,1,2  |<br />
| 1,2,10   |<br />
| 1,2,14   |<br />
| 1,2,2    |&lt;-----------------<br />
| 1,2,2,1  |<br />
| 1,2,2,2  |<br />
| 1,2,3    |&lt;-----------------<br />
| 1,2,5,1  |&lt;-----------------<br />
| 1,2,5,10 |<br />
| 1,2,5,19 |<br />
| 1,2,5,2  |&lt;-----------------<br />
| 1,2,5,20 |<br />
| 1,2,90   |<br />
+----------+<br />
<br />
The field is text and not organized well. <br />
<br />
How do I get my order but the list for any level? <br />
<br />
+-------------------------------------------------+<br />
| id                                              |<br />
+-------------------------------------------------+<br />
+-------------------------------------------------+<br />
level1, level2, level3, Level4 ,...  ..., nivel n |<br />
+-------------------------------------------------+<br />
<br />
Thanks]]></description>
            <dc:creator>Fabio Castillo</dc:creator>
            <category>Oracle</category>
            <pubDate>Wed, 26 Aug 2009 07:43:34 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,277475,277475#msg-277475</guid>
            <title>Migration tool Oracle stored procedures to MySQL (3 replies)</title>
            <link>http://forums.mysql.com/read.php?61,277475,277475#msg-277475</link>
            <description><![CDATA[ Hello,<br />
<br />
Do you know if migration tools exist in order to automatically convert PL/SQL to MySQL ?<br />
<br />
Thanks]]></description>
            <dc:creator>Reynald Poidevin</dc:creator>
            <category>Oracle</category>
            <pubDate>Mon, 12 Oct 2009 10:22:15 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,276746,276746#msg-276746</guid>
            <title>Convert Oracle View to MySql (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,276746,276746#msg-276746</link>
            <description><![CDATA[ Dear Firends...<br />
I m new to MySql pls help to convert this view to MySql<br />
The oracle View as below..<br />
<br />
CREATE OR REPLACE VIEW VW_BASE_STATION_V21<br />
(R_RADIO, BASE)<br />
AS <br />
SELECT r_radio, 'Y' base<br />
  FROM rec_now<br />
 WHERE headding = 'Y'<br />
   AND TRUNC (r_time) = TRUNC (SYSDATE)<br />
   AND r_radio NOT IN (<br />
          SELECT r_radio<br />
            FROM (SELECT   COUNT (1) c, group_main, GROUP_ID, r_radio<br />
                      FROM (SELECT  o.group_main, o.GROUP_ID, r.r_radio,<br />
                                     e.r_station<br />
                                FROM m_group o,<br />
                                     m_vehicle v,<br />
                                     r_datatemp e,<br />
                                     rec_now r<br />
                               WHERE v.radio_id = r.r_radio<br />
                                 AND r.r_radio = e.r_radio(+)<br />
                                 AND o.GROUP_ID = v.GROUP_ID<br />
                                 AND v.under_repair = 'N'<br />
                                 AND v.rec_stat = 'Y'<br />
                                 AND r.headding = 'Y'<br />
                                 AND TRUNC (r.r_time) = TRUNC (SYSDATE)<br />
                            GROUP BY o.group_main,<br />
                                     o.GROUP_ID,<br />
                                     r.r_radio,<br />
                                     e.r_station)<br />
                  GROUP BY group_main, GROUP_ID, r_radio)<br />
           WHERE c = 1)<br />
/]]></description>
            <dc:creator>pravin vaidya</dc:creator>
            <category>Oracle</category>
            <pubDate>Sun, 23 Aug 2009 23:28:59 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,276705,276705#msg-276705</guid>
            <title>Import Data from MySql to Oracle (3 replies)</title>
            <link>http://forums.mysql.com/read.php?61,276705,276705#msg-276705</link>
            <description><![CDATA[ Dear community;<br />
<br />
I am new in MySql Server I have no any knowledge about it but I have a problem that;  How I can import MySql's Data in Oracle 10g.<br />
<br />
Can anyone help me?<br />
<br />
Thanks in advance.<br />
<br />
Shahab Ahmed Khan]]></description>
            <dc:creator>Shahab Ahmed Khan</dc:creator>
            <category>Oracle</category>
            <pubDate>Fri, 28 Aug 2009 22:11:09 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,276491,276491#msg-276491</guid>
            <title>Funcion INSTR (4 replies)</title>
            <link>http://forums.mysql.com/read.php?61,276491,276491#msg-276491</link>
            <description><![CDATA[ Hola a todos soy nuevo en Mysql como obtengo este resultado pero en MYSQL<br />
<br />
Esto es Oracle<br />
<br />
i ejecutamos:<br />
<br />
SELECT INSTR('1,2,3',',',1,2) FROM CONTENIDO; <br />
<br />
Devuelve<br />
encontrò 2 comas por este registro<br />
2<br />
<br />
Ahora hay que tener en cuenta que yo tengo una tabla y la idea seria asì<br />
<br />
SELECT INSTR(ID,',',1,2) FROM CONTENIDO; <br />
<br />
Me retorne en nuemro de comas por cada registro<br />
<br />
<br />
Como se hace pero con MySQL?<br />
<br />
Gracias]]></description>
            <dc:creator>Fabio Castillo</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 18 Aug 2009 22:32:12 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,276314,276314#msg-276314</guid>
            <title>MySQL Installation stopped Oracle (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,276314,276314#msg-276314</link>
            <description><![CDATA[ Hi, i have a server running Windows Server 2003 with Oracle, MS SQL Server 2005 and MySQL 5.0 running and i had to install MySQL 5.1 to this server to use Drupal CMS. In my local machine i already had the Drupal setup running fine, so i tried to move the database from my local machine to the server. Problem is that i couldn't import my 5.1 database in the 5.0 database that was in the server. So i tried to uninstall the MySQL 5.0 and install the MySQL 5.1 in the server, i made the changes and restarted the server. After that, the Oracle database stopped to work, the Oracle server is running but i cannot access the data in the database, i only can access the database backups. I want to know if there is some know issue with MySQL and Oracle ( i really don't have MySQL experience ), and what's the best way to trace problems like this one.<br />
<br />
Thanks.]]></description>
            <dc:creator>Rafael de Faria</dc:creator>
            <category>Oracle</category>
            <pubDate>Sun, 23 Aug 2009 23:44:01 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,275781,275781#msg-275781</guid>
            <title>Transfer Data from Mysql To Oracle by code or scrpit (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,275781,275781#msg-275781</link>
            <description><![CDATA[ Hi<br />
i am new to mysql caon any one let me knnow how to transfer the data from mysql to oracle by code(or)script and is there any changes that to be made in the listener files of oracle .<br />
<br />
<br />
Thanks<br />
Sqluser]]></description>
            <dc:creator>nani k</dc:creator>
            <category>Oracle</category>
            <pubDate>Wed, 12 Aug 2009 10:02:59 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,275780,275780#msg-275780</guid>
            <title>Transfer Data from Mysql To Oracle (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,275780,275780#msg-275780</link>
            <description><![CDATA[ Hi<br />
i am new to mysql caon any one let me knnow how to transfer the data from mysql to oracle by code(or)script and is there any changes that to be made in the listener files of oracle .<br />
<br />
<br />
Thanks<br />
Sqluser]]></description>
            <dc:creator>nani k</dc:creator>
            <category>Oracle</category>
            <pubDate>Wed, 12 Aug 2009 10:01:18 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,275754,275754#msg-275754</guid>
            <title>Oracle to Mysql (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,275754,275754#msg-275754</link>
            <description><![CDATA[ How data from Oracle can be transfered to MySql by writing some sripts in oracle or Mysql<br />
----------<br />
<a rel="nofollow"  href="http://tummytuckguide.com">Tummy Tuck</a><br />
<a rel="nofollow"  href="http://www.havemoreenergynow.com/blog/">health juice</a>]]></description>
            <dc:creator>dhruv verma</dc:creator>
            <category>Oracle</category>
            <pubDate>Fri, 28 Aug 2009 22:09:23 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,274739,274739#msg-274739</guid>
            <title>Oracle to MySQL migration - Upgrade and Optimized Execution Plans (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,274739,274739#msg-274739</link>
            <description><![CDATA[ Hi,<br />
I am wondering if it is possible to replace/update stored procedure in MySQL Cluster during Upgrade?<br />
The second question is: Oracle has some optimization algorithms (called ”optimized execution plans”), that adapts transaction processing according to the transaction traffic passed so far. The analysis of the past traffic and adaptation must be executed explicitly. Does MySQL have something similar?<br />
<br />
Thanks Petr]]></description>
            <dc:creator>petr kovar</dc:creator>
            <category>Oracle</category>
            <pubDate>Wed, 05 Aug 2009 11:40:09 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,274705,274705#msg-274705</guid>
            <title>importing using LOAD DATA INFILE (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,274705,274705#msg-274705</link>
            <description><![CDATA[ Hello<br />
<br />
I am in middle of transferring data from Oracle tables to MySQL (5.1.37). I have a flat file with 3 columns in it...<br />
<br />
<br />
&quot;XXXX&quot;,3/18/1998,3/3/2004 3:28:59 PM<br />
&quot;YYYY&quot;,3/23/1998,3/3/2004 3:29:01 PM<br />
&quot;ZZZZ&quot;,5/18/1998,3/3/2004 3:30:45 PM<br />
&quot;AAAA&quot;,5/19/1998,3/3/2004 3:30:47 PM<br />
<br />
The destination table in MySQL looks like this...<br />
<br />
<br />
+---------------+-------------+<br />
| Field         | Type        |<br />
+---------------+-------------+<br />
| SOMEXX_ID     | varchar(20) |<br />
| SUBMIT_DATE   | date        |<br />
| CREATION_DATE | timestamp   |<br />
+---------------+-------------+<br />
<br />
<br />
And, here's the load command i used...<br />
<br />
<br />
LOAD DATA INFILE '/data-dump/TEST.txt'<br />
    INTO TABLE DATE_TEST<br />
    FIELDS TERMINATED BY ',' optionally enclosed by '&quot;' lines terminated by '\n'<br />
    (SOMEXX_ID, @var1, @var2)<br />
    SET SUBMIT_DATE = date_format(str_to_date(@var1, '%m/%d/%Y'), '%Y-%m-%d'), <br />
    CREATION_DATE = date_format(str_to_date(@var2, '%m/%d/%Y %l:%i:%s %p'), '%Y-%m-%d %l:%i:%s %p');<br />
<br />
<br />
<br />
<br />
All the rows were imported successfully into MySQL table, the data checkout ok, but it had a bunch of warning....<br />
<br />
<br />
+---------+------+-----------------------------------------------------+| Level   | Code | Message                                             |+---------+------+-----------------------------------------------------+<br />
| Warning | 1265 | Data truncated for column 'CREATION_DATE' at row 1  | <br />
| Warning | 1265 | Data truncated for column 'CREATION_DATE' at row 2  | <br />
| Warning | 1265 | Data truncated for column 'CREATION_DATE' at row 3  |<br />
.....<br />
.....<br />
.....<br />
<br />
<br />
I am not able to figure out why there are warnings even though the data was imported successfully and the data looked accurate.<br />
<br />
Can someone please advise?<br />
<br />
Thanks<br />
sid]]></description>
            <dc:creator>Sridhar Ramalingam</dc:creator>
            <category>Oracle</category>
            <pubDate>Sat, 19 Sep 2009 14:50:40 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,274496,274496#msg-274496</guid>
            <title>Data Security for Oracle E-Business Suite (no replies)</title>
            <link>http://forums.mysql.com/read.php?61,274496,274496#msg-274496</link>
            <description><![CDATA[ Recently we had a bad experience of losing live data. So with the help of Solix we started creating non-production clones of Oracle E-Business Suite for testing, development, and even training. It really helped us a lot in E-Business Suite Archiving. or more information visit <a rel="nofollow"  href="http://www.solix.com/">http://www.solix.com/</a>]]></description>
            <dc:creator>Anand  Kumar</dc:creator>
            <category>Oracle</category>
            <pubDate>Tue, 04 Aug 2009 05:55:51 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,273930,273930#msg-273930</guid>
            <title>Oracle to MySql DB link (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,273930,273930#msg-273930</link>
            <description><![CDATA[ Hello,<br />
<br />
  We are currently migrating from Oracle to MySql.<br />
I know that a DB LINK between Oracle to MySql is possible. Have anyone used it, please share, because I get the below error from Oracle when do a describe:<br />
<br />
SQL&gt; desc test.employee@mysql;<br />
ERROR:<br />
ORA-28545: error diagnosed by Net8 when connecting to an agent<br />
Unable to retrieve text of NETWORK/NCR message 65535<br />
ORA-02063: preceding 2 lines from MYSQL<br />
<br />
<br />
Although the tnsping is working fine.<br />
<br />
Thanks<br />
Nitin]]></description>
            <dc:creator>Praveen Soni</dc:creator>
            <category>Oracle</category>
            <pubDate>Sat, 01 Aug 2009 20:47:36 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?61,273193,273193#msg-273193</guid>
            <title>Include a script from another script (1 reply)</title>
            <link>http://forums.mysql.com/read.php?61,273193,273193#msg-273193</link>
            <description><![CDATA[ Hi,<br />
<br />
In my oracle script I can include some other scripts with the @ symbol :<br />
<br />
example : <br />
<br />
@..\..\package\PACKAGE_ARIANE.pks<br />
<br />
<br />
How can I do this with MySQL ?  I've googled this subject, find a reference to a &quot;source&quot; commande that doesn't work...<br />
<br />
I need this function because I need to execute bunch of sql script located at different places on linux and windows. (Ideally from the MySQL Query browser).<br />
<br />
<br />
Regards,<br />
Thomas.]]></description>
            <dc:creator>Thomas Manson</dc:creator>
            <category>Oracle</category>
            <pubDate>Sat, 25 Jul 2009 21:08:36 +0000</pubDate>
        </item>
    </channel>
</rss>
