OMWB 9.2 should use ANSI syntax on joins

Currently, SQL Server2000 code like:
-- Start of SQL Server code snippet
from sf_add_on
join sf_add_on_descr
on sf_add_on_descr.code = sf_add_on.code
and sf_add_on_descr.language_code = @an_language_code
left outer join sf_blob
on sf_blob.filename = 'AddOnSetting'
-- End of SQL Server code snippet
is converted to:
-- Start of Oracle code snippet
FROM sa.sf_add_on, sa.sf_add_on_descr, sa.sf_blob
                         WHERE (sf_add_on_descr.code = sf_add_on.code and sf_add_on_descr.language_code
          = ap_adm_aos_sel.an_language_code_) AND (sf_blob.filename (+)=
          'AddOnSetting')
-- End of Oracle code snippet
This is in contradiction with the 9iRel2 documentation:
"Oracle Corporation recommends that you use the FROM clause OUTER JOIN syntax rather than the Oracle join operator"
Is there going to be an option to use the "old" (8-compatible) syntax versus the 9i (ANSI) syntax?

Frank,
Bug 2846362 - PARSER OPTION REQUIRED FOR ANSII COMPLIANT JOINS TO ORACLE 9I DATABASE
This parser option has been added to code in development, I am not sure when this will be released as a production release.
Regards,
Turloch
Oracle Migration Workbench Team

Similar Messages

  • Flow accept error when using ANSI join syntax

    Hi
    I had a region populated by a query joining two views (one in-line using connect by). When trying to create the region if the join was coded using ANSI syntax (INNER JOIN .... USING) I got a flow accept error when either trying to proceed using the wizard, or apply changes when editing the region.
    After changing to the old style Oracle join (using predicates), I was able to create the region and everything worked ok. I found the solution after reading this post Error 404 wwv_flow.accept was not found in which the OP says he would raise a bug. Did the bug get raised? I ask since his problem arose whilst he was selecting from a view using ANSI joins and using instead of triggers, and I was joining an in-line view to a view using ANSI joins and instead of triggers, but neither view has been changed, just the join syntax. The view defined in the database is used in other regions and works fine. This could indicate the OP's problem was fixed, but one still exists.
    Incidentally this is the only time I have used non-ANSI joins in the entire apex app - the rest work!. Unfortunately it is impossible for me to demo the app.
    Richard
    using ApEx 3.0.1.00.07 and 10g (10.2.0.1) EE on Wintel

    Tyler,
    Apologies, what I was trying to say was that I couldn't put the application on the Oracle APEX site.
    Yes, I do have a work-around, but that does not mean a bug may still exist. I count myself fortunate I saw that post and, therefore, experimented with the syntax of the join - there is no reason APEX should not accept ANSI join conditions, in fact , it does. The ANSI-joined SQL statement executed perfectly in TOAD and SQL*Plus, but I could not even save it in APEX.
    regards
    Richard

  • Use ansi join syntax

    From what i have been reading is better to use the new syntax(dont know how new it is)

    The ANSI join syntax was new to Oracle in Oracle 8i in 1998 - that's 15 years old.
    It can produce more readable code, and is both more readable and less human-error prone for outer joins.
    The ANSI format lets you outer join between multiple tables in a way the old oracle-specific ( + ) syntax did not and introduces FULL OUTER JOIN which you should use very rarely.
    You should not use NATURAL JOIN in code - adding unrelated columns to the tables involved can make it give very different results.
    There have not been significant bugs for ANSI joins in Oracle since Oracle 10.2 was introduced about 8 years ago.
    As Paul said, the ON part should be the join criteria between the tables. The were clause should be the filtering of the joined tables.
    So assuming start_date, end_date and in_property_id are variables
    SELECT resv_num, unit_date
        FROM p_resv_unit ru
        INNER JOIN p_pm_unit_night pun
        ON pun.resv_unit_id = ru.resv_unit_id
        WHERE pun.property_id = in_property_id
        AND pun.unit_date BETWEEN start_date AND end_date
        AND pun.pm_unit_num = cvUnitNum;
    If start_date and end_date were columns in p_resv_unit the query would be:
    SELECT resv_num, unit_date
        FROM p_resv_unit ru
        INNER JOIN p_pm_unit_night pun
        ON pun.resv_unit_id = ru.resv_unit_id AND pun.unit_date BETWEEN ru.start_date AND ru.end_date
        WHERE pun.property_id = in_property_id
            AND pun.pm_unit_num = cvUnitNum;
    Inner join queries work with criteria in the wrong place, but they're harder to read. Outer joins don't work unless you put the criteria in the right place.

  • Download the korean text file using ANSI as encoding

    Hi Experts,
    i am using gui_download to create a txt file using ANSI as its encoding, the data that i need to download contains korean characters (double-byte characters), when the txt file is created, the korean characters were changed into ### symbols.
    Can someone help me on how to correctly download the data with korean characters without making the korean characters into sharp # symbol.
    Please note that the encoding should be in ANSI.

    I don't think if your are using ANSI , you will get korean characters correctly.
    otherwise
    first call fm SCP_CODEPAGE_FOR_LANGUAGE giving language as import parameter . then you will get the corresponding codepage from this fm.
    then
    use this codepage in the import parameter CODEPAGE of fm GUI_DOWNLOAD

  • ANSI syntax doubt

    Hi,
    I want to frame the below SQL Statement in ANSI Format. I want to use Table B both in inner join with Table A
    as well as in outer join with Table C. It is quite confusing when it comes to the 4th line in the ANSI Syntax.
    I can split the query into two or more SQLs and do it in ANSI format.
    Is it possible to have a syntax in a single query for this, please suggest, thank you.
    SELECT A.*
    FROM A, B, C, D
    WHERE A.F1 = B.F1 AND
    A.F1 = C.F1 (+) AND
    (B.F1 = C.F1 (+) AND
    B.F2 = C.F2 (+)) AND
    A.F3 = D.F3 (+)
    SELECT A.* FROM
    A INNER JOIN B ON (A.F1 = B.F1)
    LEFT OUTER JOIN C ON (A.F1 = C.F1)
    "LEFT OUTER JOIN ??? ON (B.F1 = C.F1 AND B.F2 = C.F2)"
    LEFT OUTER JOIN D ON (A.F3 = D.F3)

    @op:
    Karthick_Arp wrote:
    something like this
    select a.*
    from a
    join b
    on a.f1 = b.f1
    left join c
    on a.f1 = c.f1
    and b.f1 = c.f1
    and b.f2 = c.f2
    left join d
    on a.f3 = d.f3
    THis was based on your original select. Of cause since a.f1=b.f1 per join definition, you don't have to repeat this for the second join condition. I would simpify to
    select a.*
    from a
    join b on a.f1 = b.f1
    left join c on b.f1 = c.f1 and b.f2 = c.f2
    left join d on a.f3 = d.f3I also like to write the join on one line. This helps to focus on whe where restrictions instead of the join conditions. And useful if you want to comment out one table join later on.

  • I have an external drive - WD My Passport FOR MAC. I want to format it to work on both mac and windows. Which format do you think I should use? Will either one cause damage to the files on the hard drive?

    I have an external hard drive - WD My Passport FOR MAC. I want to format it to work on both mac and windows. I also want to be able to connect it to my TV and watch movies.
    I read up and I think I am supposed to use exFAT or FAT32? I also saw MS-DOS. Which format should I should use? Will any of them cause damage to the files on the hard drive?
    My little memory stick uses MS-DOS and it works on both mac and windows.
    Please can you just tell me a little about each and suggest which one to use.
    I know how to change it once you tell me so don't waste your time writing about changing it.

    Will any of them cause damage to the files on the hard drive?
    WARNING: FORMATTING A DRIVE ERASES IT COMPLETELY !!
    If you need to carry large files (e.g., larger than about 4GB) back and forth, you may need ExFAT. Otherwise MS-DOS works for smaller files.
    The Mac can Read, but not write Windows New Technology File System (NTFS) without an add-on program such as Paragon NTFS.

  • I can't send email from my iPad. I am from Australia but on holidays in Greece. Does anyone know what is the smtp outserver for Greece that I should use?

    I can't send email from my iPad. I am from Australia but on holidays in Greece. Does anyone know what is the smtp outserver for Greece that I should use?

    As you haven't told us who your email provider is, no.
    There isn't an SMTP server for Greece - it is either provided by your email provider, or the Internet provider you are connected through.

  • Anyone know which render format I should use, my film will be used on a video wall (12 screens) and I need super quality. My footage format is 1080p HD resolution 1920x1080. I will be running the project from a mac with a direct line to video wall. Thanks

    Anyone know which render format I should use, my film will be used on a video wall (12 screens) and I need super quality. My footage format is 1080p HD resolution 1920x1080. I will be running the project from a mac with a direct line to video wall. Thanks in advance.

    I do some VJ-type work, involving playback of QuickTime files from the computer to projections, and I get good results using ProRes 422. That's convenient, because ProRes 422 is such a great editing codec, too.
    Traditionally, VJs use PhotoJPEG codec, which also works well, but it's a bad editing codec. So you would have to export an edited master, then convert.
    If you want it to look as good as possible, definitely schedule some time to test the footage on the wall. You may want to change the color correction of your footage to match the projectors. And if you feed the video wall some flat gray, you can see if any of the projectors need to be  adjusted.
    I'm not sure what application you're using for playback, but QuickTime Player 7 works well. It has an option to play fullscreen on an external monitor (View > Present Movie…).

  • How to use ANSI.SYS in Windows-7

    I am still using a number of extended DOS programs, some of which use ANSI.SYS.
    Although Windows-7 has ANSI.SYS, using it the classical way through a command
    device=<path>\ansi.sys
    in CONFIG.NT  on XP
    Which file replaces CONFIG.NT in Windows-7?
    Will I be able to access ANSI.SYS through that file>
    Kind regards,
    Max.

    I think you need to be running 32 bit to have a chance but I'd ask them over here.
    http://answers.microsoft.com/en-us/windows/forum/windows_7?tab=Threads
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • What format i should use for my external hard drive that can be used interchangeably between mac and pc?

    What format i should use for my external hard drive that can be used interchangeably between mac and pc?

    Usually Fat32/MS-DOS as mentioned, but that has several limitatiuns, like 4GB filesize limit.
    One option is MacDrive for you PCs... allows them to Read/Write HFS+...
    http://www.mediafour.com/products/macdrive/
    More options...
    NTFS-3G Stable Read/Write Driver...
    http://www.ntfs-3g.org/
    MacFUSE: Full Read-Write NTFS for Mac OS X, Among Others...
    http://www.osnews.com/story/16930

  • I tried to export photos from iMac to iPad using a USB flash drive.  The photos are on the drive but when I plug it into the iPad, the iPad says the device requires too much power.  Any ideas of what type of USB flash drive I should use?

    I tried to export photos from iMac to iPad using a USB flash drive.  The photos are on the drive but when I plug it into the iPad, the iPad says the device requires too much power.  Any ideas of what type of USB flash drive I should use?

    You can transfer photos outside of iTunes. I do it all the time. THat said, i have a 50/50 success rate with them. I'd avoid sandisk and kingston, their bundled software triggers the 'too much power' warning.
    I've had mixed luck with lexar, some work, some don't.
    I did have good luck with an older 4 gig geek squad one.
    Look for drives without software on them, without bright LED lights and I haven't gotten any larger than 4 gig to work, but that may just be me.
    For a less troublesome way? h onestly, I use a SD card that I've formatted with the DCIM folder. I've never had one of them trigger the 'too much power' warning. Just make sure they're not SDXC. those don't work.

  • Which platform I should use ?

    which java platform I should use to creat message display and settings in mobile phone ? and how can I add language code in java to show different laguage(other than English) on mobile screen ?

    Or is it the tabbed appearance of the portfolio cover which interests you? I think this might be made with Flash Builder. Very bad choice, to use Flash, in my opinion. Looks slick, certainly, but locking out all customers with iPads and Android is just lunacy. But see Adobe Digital Enterprise Platform * Demonstrating the Flash Builder-based interactive statement

  • Which tool i should use to develope a portal

    Hi all,
      we are planning to develop a portal which we will expose to internet.
    Now my question is which tool i should use to develope this
       1.BSP
       2. jspdynpage
       3.Webdynpro java
       4.Webdynpro abap
    Which application will perform better on internet.
    Lots of rfc calls and webservice calls are there.
    plz give me suggestions .
    Thanks
    developer

    Hi,
    BSP - Abap workbench
    JSP Dynpages - NWDS (Netweaver Dev Studio)
    Webdynpro Java - NWDS
    Webdynpro ABAP - ABAP Workbench
    above all applications will perform at same level  depend on the content.
    best regards
    Hari

  • I want to create report on Sybase which provider I should use.

    I want to create report on Sybase which is good provider that I should use. I don't want to use the DSN.

    CR no longer has a native Sybase driver. Your only option is to u se ODBC or possibly a JDBC driver if they have one or their client supports one. Look on Sybases site for options.

  • Which protocol we should use for file transfer in ios ?

    which protocol we should use for file transfer in ios ?

    My friend that's definitively a Lotus Domino question, you'll probably ask in the Domino's forums if it generates wsdl, or simple http services you're ready to consume those services in Flex.

Maybe you are looking for