9i and 10g doubts

Hi all,
In db 9.2.0.6
SQL> create materialized view bas1 as select object_type from dba_objects;
Materialized view created.
SQL> select object_id,owner, object_name, object_type, status,created, to_char(last_ddl_time,'dd-mon-rr hh24:mi:ss') last_ddl
  2  from dba_objects
  3  where object_name='BAS1';
OBJECT_ID OWNER      OBJECT_NAME                    OBJECT_TYPE        STATUS  CREATED         LAST_DDL
    701501 SYS        BAS1                           TABLE              VALID   25-DEC-10       25-dec-10 20:11:30Above it doesnt show object_type materialized view..???
In db 10.2.0.4
SQL> create materialized view bas1 as select object_type from dba_objects;
Materialized view created.
SQL> /
OBJECT_ID OWNER      OBJECT_NAME                    OBJECT_TYPE         STATUS  CREATED   LAST_DDL
   1968834 APPS       BAS1                           TABLE               VALID   25-DEC-10 25-dec-10 20:15:24
   1968835 APPS       BAS1                           MATERIALIZED VIEW   VALID   25-DEC-10 25-dec-10 20:15:25
2 rows selected.in 10.2.0.4 it shows object_type materialized view.
baskar.l

hi,
Here i created in the same schema..
In 9i
$ sqlplus apps
SQL*Plus: Release 9.2.0.6.0 - Production on Sun Dec 26 11:02:09 2010
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
Enter password:
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
SQL> create materialized view why as select owner from dba_segments;
Materialized view created.
SQL> select object_name,object_type,owner from dba_objects where object_name like 'WHY%';
OBJECT_NAME                    OBJECT_TYPE        OWNER
WHY                            TABLE              APPS
1 row selected.In 10g
$ sqlplus apps
SQL*Plus: Release 10.2.0.4.0 - Production on Sun Dec 26 11:04:58 2010
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create materialized view why as select owner from dba_segments;
Materialized view created.
SQL> select object_name,object_type,owner from dba_objects where object_name like 'WHY%';
OBJECT_NAME                    OBJECT_TYPE         OWNER
WHY                            TABLE               APPS
WHY                            MATERIALIZED VIEW   APPS
2 rows selected.baskar.l

Similar Messages

  • Using get_application_property(CONFIG) in 6i and 10g

    Hi,
    for a short time, our application has to run with 6i and 10g at the same time. We have to use the new constant CONFIG also in 6i. How can I mask this constant that it works correctly. Implementing it like this doesn't work:
    PROCEDURE gui$new_session
    IS
    pl_id ParamList;
    form_name varchar2(100);
    lo_connect varchar2(250);
    lo_url varchar2(200);
    lo_conf varchar2(50);
    co_config CONSTANT NUMBER := 'CONFIG';
    BEGIN
    form_name := replace(pdb_anwendung.get_anw_exe('PRAG_MENUE45'), '.FMX','');
    IF get_application_property(USER_INTERFACE) <> 'WEB' THEN
    RUN_PRODUCT(FORMS, form_name, ASYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    ELSE
    lo_connect := get_application_property(USERNAME)||'/'||get_application_property(PASSWORD)||'@'||get_application_property(CONNECT_STRING);
    lo_conf := get_application_property(co_config);
    lo_url := 'javascript:window.open("/forms/frmservlet?config='||lo_conf||'&form='||form_name||'&userid='||lo_connect||'","","location=no,toolbar=no,menubar=no,status=no,");self.close();';
    WEB.SHOW_DOCUMENT(lo_url,'_blank');
    END IF;
    END;
    Unfortunately, I can't set the constant CONFIG directly into get_application_property (what is working properly used directly in 10g) because then I get a compilation error in 6i. Can somebody help me?
    Regards,
    Heike

    Clearly...
    co_config CONSTANT NUMBER := 'CONFIG';... won't work because you are assigning a varchar value to a number. CONFIG (without the quotes) is a built-in constant in Forms 10g that has a value of 221. So you could try this (notice there are no single quotes)...
    co_config CONSTANT NUMBER := CONFIG;... but I doubt that will compile in 6i as CONFIG won't be defined. So maybe you could use...
    co_config CONSTANT NUMBER := 221;It's bad practice to hard-code a value like that though.

  • Sorting in 6i and 10g reports

    Hello All,
    I am running 6i and 10g reports against a 10g database.
    I ran one of the 6i report and it generated a report in one sorting ordear
    and when i ran the same report on 10g ,it generated the report in ddifferent order.
    Both the reports r run against the same 10g database.
    The order by clause on the columns of the records r identical.
    Now i wanted to understand how it is sorting in different orders in both 6i and 10g reports?
    Thanks,
    Ranz

    Hi,
    Please note the fact that 6i Reports is not certified to work with 10g Database. Hence it becomes impossible to address the sorting behavior of 6i Reports, though there is nothing different in the way it works. I would suggest you to use 10gR2 version of Reports services with 10g Database which is certified and supported. Thanks for your understanding.
    Regards,
    Anand

  • Dflt report in 6i and 10g

    Hi
    I am trying to get a tillslip to print correctly after converting from reports 6i to 10g. The problem i think is that the outputfile generated in the 6i version is diffrent from the output file in 10g. The 10g version looks similar to postscript while the 6i output file does not mean anything to me.
    If i open the 6i test.dflt file it looks something like: =c0c1c32R
    If i open the 10g test.dflt file it looks something like:
    %!PS-Adobe-3.0 %
    %Creator: Oracle Toolkit 2 for Motif 10.1.2.0.2 PRODUCTION
    Using the 6i output file i can print the tillslip correctly in both the 6i and 10g environments. Using the 10g output file all the char in the output file prints including the comments (the %!PS-Adobe-3.0 % bit also)
    Any ideas how to get the output file the same. All report settings (DESFOTMAT, DESTYPE, ...) are the same. The dflt.prt file only differs as follows:
    printer "dflt"
    height 66
    width 80
    after page control(L)
    return        ""  (this line in 6i file is: return        "M" )
    linefeed control(J)
    Any ideas will be helpfull. I have tried creating the report as a .rtf, .pdf and .ps file and all of them print with the code inside and not just the tillslip info.
    Thanks

    Hi
    I afound that the problem is that the app server does not know about the printer as it is connected to a users PC. Thus when using the dflt desformat it selects the default printer language of the App Server printer. This is the reason why the files are diffrent.
    If I understand everything the process should be:
    1 - Run the report from forms (on app server).
    2 - Write the report to a file on App Server and then transfer the file to the user PC.
    3 - Send file correct printer on the user PC.
    The problem still remains on how to create the correct file which can be send to the printer connected to the users PC as the driver of the correct printer is not known too the App Server. The printer still prints the file incorrectly as the file is not created using its drive as what the case was when running it in 6i.
    Setting the MODE to character (which will enable you to provide a .prt file if you had one to give) will not work as the report contains an image.
    Regards
    Edited by: hfp843 on Sep 17, 2008 2:28 AM

  • Occasional ora-6502 using forms 6i and 10g

    Hi all.
    We have been experiencing some weird and unexpected ora-6502 errors in some of our forms 6i modules running against 10g (rel 1 or 2).
    Forms modules are correctly functioning and for some reason, one day an ora-6502 error suddenly pops up.
    Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.
    I know that this may sound hard to believe, but it has happened several times. All we do is put some message built in, recompile all, and the error is gone (for a while).
    So my questions are:
    - Is this a known issue beween forms 6i and 10g Db?.
    - Is there a patch on Metalink ( we use Forms [32 bits] Versión 6.0.8.26.0 (Producción))
    - A workaround?
    and most important
    - Have anyone been exposed to a similar situation?
    Regards, Luis ...!

    Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.Sounds like the form has not been "clean compiled" against the server on which it is running. Try a "Compile All", which causes all previously compiled program units to be compiled fresh.
    Or even better, clean out all the compiled code from your fmb before compiling the fmb on the server where it runs.
    See this topic:   Re: Why does this happen - find ';', replace with ';'?

  • Designer 6i and 10g on the same machine?

    I have Designer 6i and corresponding repository on my machine.
    The problem with 6i I can't save diagramm in HTML format
    I believe I can save in HTML format in 10g or other?
    Can I install on the same machine 10g designer?
    should I configure new repository?
    TIA

    See my update on your earlier question.
    As for running 6i and 10g on the same machine, yes you can do it. You just have to install them in separate Oracle Homes, and be careful when you tell them which version of EXP and IMP to use. There is one MAJOR caveat, however. They cannot use the same Designer Repository - 6i client won't talk to a 10g repository and 10g client won't talk to a 6i repository. You can upgrade a 6i repository to 10g with the RAU, but take a backup before you do - the only way to go back is to restore your backup. Besides, I think that if you upgrade to the last supported version of Designer 6i (you should be able to get it from MetaLink) you will get the Publish Diagrams utility.
    Frankly, my opinion is that there is only one reason to stay on 6i - if you need to generate and support 6i client/server Oracle Forms. If you don't use Oracle Forms, or if you have moved on to Web Forms with the middle tier Forms Server, I'd recommend an upgrade to Designer 10g and Developer 10g.

  • Calling shared objects in unix from Forms 6i and 10g

    I would like to know how to call shared objects in unix from Froms 6i and 10g. Can anybody help in this regard? Your help is very well appreciated.

    Hi,
    Do you have any 11i instance where those custom forms are used? If yes, you will have to copy those forms from 11i to R12 instance, open the forms using Forms 10g builder, compile it and upload it back to the server.
    Note: 427879.1 - How To Customize And Compile An Application Seeded Form (FMB) Or Library (PLL)?
    Note: 743490.1 - Customization in Oracle Applications
    Note: 563258.1 - How To Upgrade 11i Custom Forms And Reports To R12
    Regards,
    Hussein

  • Query using Materalized view in oracle 9i and 10g

    Hello
    There are snapshots (materialized view) used in my application. We have recently migrated from 9i to 10g release 2 database.
    After migration i have observed explain plan of query which is using materialized view and i found in 9i oracle treating materalized view as table. In 10g oracle is considerting it as MVIEW only (MAT_VIEW ACCESS BY INDEX ROWID). However in 10g cost of query which is using materialized view is much higher than 9i. And execution time is also random.
    Can anbody pls. expalin diff. of materalized view access in oracle 9i and 10g.
    Thanks

    can you post your query with explain plan for both 9i version and 10g version.
    Thanks,
    karthick.

  • At least 6 differences between Oracle 9i and 10g with complete understan

    Hi 2.     
    At least 6 differences between Oracle 9i and 10g                    with complete understanding of each difference .
    cheers

    Hi,
    Forum thread already opened by you
    check what is the major difference between 9i and 10g
    regards,
    kaushal

  • Running 8i and 10g on same UNIX server

    Greetings,
    I am a developer playing DBA, so please forgive me if these are elementary questions. I have no DBA support.
    I have a Solaris 8 server currently running operational software using 8i. My requirement is to load and test 64bit 10g without interfering with the operational system, then test the s/w. Later, I need to switch from 8i to 10g with little or (preferably) no downtime. It would be nice run the two in parallel before the switchover.
    I have a duplicate setup in the development lab, which is what I am working on right now.
    I was able to get 10g loaded without any apparent problems. However, when I try to run 8i and 10g, the listener’s conflict.
    After reading through various forums this morning, I have a few questions that I am hoping someone can answer.
    1. Oracle 8i is owned by user oracle. I loaded 10g as user ora10g. Should I have loaded 10g as user oracle? If so, how do I keep it from overwriting critical 8i files that are in /usr/local/bin, etc?
    2. Oracle 8i’s ORACLE_HOME is /usr/opt/oracle. 10g’s is /export/ora10g. Does 10g need to be in /usr/opt/ora10g? If so, can I set up a link to simulate this, or do I need to reload?
    Thanks in advance,
    Linda

    Won't say much about the platform (solaris) aspect here but anyway...
    1. You could and sometimes should have a different oracle software owner user for installing/managing software, either is ok. You also might want a different group to own the oraInventory (software catalog).
    You can always enter somethng other than default when prompted by root.sh - why not e.g. /home/ora10g/bin?
    2. I dont think it needs to be installed anywhere, but /export is a bit unusual isn't it? Used for nfs etc.

  • Active ODP when both 9 and 10g are installed...

    I have both ODP 9i and ODP 10g (along with the Oracle 10g client) installed on my workstation. How does one set up one or the other to be the 'active' ODP client? For instance, I have an application that I developed under ODP 9i... because I developed this under ODP 9, I want it to run under ODP 9 on my or anyone else's workstation. However, when I view it in the Visual Studio 2003 IDE, it shows ODP 10 as the 'active' client. Even when I run it, I find it is using ODP 10 (I know this because I have a Help...About screen in my runtime that displays the loaded assemblies) Even if I install it on a plain workstation (i.e. no Visual Studio 2003) with both 9i and 10g installed, and even though it was fully compiled using 9i, it still shows up as using the 10g ODP client. I don't want that at this time - if I compile it under 9i I want it to use Oracle 9i... Otherwise, what is the sense of having both clients on the machine?
    So.... bottom line... is there a way to set one of the ODP clients to be 'active' even though both clients are installed?
    Thanks in advance.
    Tom

    Hi,
    By default, ODP installs publisher policy files to redirect to the latest version of ODP, which would make an app compiled with 92x odp use the 10x odp instead. If you dont want that to happen, delete the oracle.dataaccess publisher policy files from the GAC, but then you'll get no redirection at all. IE, you'll have to have the exact version the app was compiled with on that box to run the app.
    Or, as msolnit pointed you to above, there's an article on the MS site that explains more about it, and other ways to prevent it on a per-application basis (see the Bypassing Publisher Policy section of that article)
    Cheers, hope it helps.
    Greg

  • Oracle 9i and 10g in one computer

    Could I install oracle 10g in computer where 9i is instaled. I want that both oracle is instal and test oracle 9i and 10g. Could I run oracle database 9i and 10g together and I use both of the database?
    Thanks for answer.
    Rafal Dmitrowski

    I would also suggest caution if you have a Windows server. While it is certainly possible to have both running, there are some issues with separate 9i and 10g homes on a Windows machine, things like the Oracle Home Selector doesn't work with 10g Oracle Homes. I wouldn't be overly concerned if you are dealing with development laptops, but I would make sure to do some testing before installing 10g on a production server with 9i already installed.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Query for oracle 9i and 10g on same box

    HI
    All,
    I have oracle 9i installed on one box it has
    oracle home /u01/app/oracle/product/9.2.0
    and i am gonna install oracle 10g on different home /u01/app/oracle/product/10.2.0
    Do I need to specify different location for OraInventory?
    so what else I need to take care?
    Thanks,
    Vishal

    So there should not be a problem if it is the same
    orainventory location for both 9i and 10g right.There should be no problem.
    can you throw more focus on below ?
    When managing different oracle versions on the same
    box you should take care of environment variables to
    properly point to each ORACLE HOME and PATH, and
    ensure different ports do not conflict.
    For instance, you should use the Listener of the latest release on the server (in this case 10g) to services all the databases on that box 9both 9i and 10g).
    When you want to startup and shutdown 9i database, you do not want to shutdown a 10g database by mistake. Hence, setting things like ORCLE_HOME and ORACLE_SID.
    Also, Oracle Server make use of libraries. You do not want to mix up 9i and 10g libraries. hence take care when you set things like PATH, LD_LIBRARY_PATH etc
    The same applies to all Environment variables you want to set on the server that has different oracle releases. You just need to ensure that when you logon, your variables are set correctly for the intended oracle release before you do anything.

  • Difference Between Oracle 9i and 10G (Urjent)

    Hi..
    Iam intensively searching net for some whitepapers regarding the difference between Oracle 9i and 10g. I need to give demo to the client on this. So Plzzzz help me in this regard and send me the links if u know....
    thnx in advance
    Sriram

    Hello,
    Go to this link. It is compete and most well defined new features of 10g.
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm
    http://www.oracle.com/technology/documentation/index.html
    In second link you will find all the versions of database.

  • How SMON coalesces free space in oracle 9i and 10g

    how SMON coalesces free space in oracle 9i and 10g?
    Is it doing same as it was behaving in oracle 7 like looking through free extent table every five minutes (sys.fet$) to see if there are any adjacent free extents that can be coalesced into a single extent, and on every 25th cycle (i.e. every two hours and five minutes) it looks at the segment table (sys.seg$) to see if there are any temporary segments that need to be eliminated, as explained by jonathan lewis?
    what are extent and segment tables available in oracle 9i and 10g like sys.fet$ and sys.seg$ in oracle7?

    >
    how SMON coalesces free space in oracle 9i and 10g?
    Is it doing same as it was behaving in oracle 7 like looking through free extent table every five minutes (sys.fet$) to see if there are any
    adjacent free extents that can be coalesced into a single extent, and on every 25th cycle (i.e. every two hours and five minutes) it looks
    at the segment table (sys.seg$) to see if there are any temporary segments that need to be eliminated, as explained by jonathan lewis?
    what are extent and segment tables available in oracle 9i and 10g like sys.fet$ and sys.seg$ in oracle7?I think you need to go and have a look at the Oracle 9i documentation here
    http://www.oracle.com/technology/documentation/oracle9i_arch_901.html
    and automatic segment management in 10g
    http://www.oracle.com/technology/pub/articles/10gdba/week15_10gdba.html
    HTH.
    Paul...
    Software - OS (+ version), Server,
    Hardware - CPU + Disk configuration.
    Please include all of the above information with database queries.
    This will help those who are trying to help you!
    Furthermore, please do not top-post and do try to trim your replies!

Maybe you are looking for

  • Ins_sqlplus.mk error invoking target install of make file

    i am using redhat as 3 version on xi386 and installing 10.1.0 database INSTALL LOG: Linking sqlplus rm -f sqlplus gcc -o sqlplus -L/oracle/app/oracle/product/10.1.0/db_1/sqlplus/lib/ -L/oracle/app/oracle/product/10.1.0/db_1/lib/ -L/oracle/app/oracle/

  • Is it possible to have the menu bar and the tabs on the same level?

    Just downloaded Firefox 4 and I've started to get used to tabs being above the address bar (since it fits the theme so well), but I'm not used to the loss of the menu bar. When I bring the menu bar back, however, it creates a whole new level instead

  • Data Manager Default System Messages

    Hi, I need to change the data managers default system messages e.g When adding a duplicate value into a unique field you get; "Unique Constrains Violated" it should read something like "Duplicate value, try again" Please advice. Thanks

  • The iPhoto app either doesn't open at all or take forever

    My mac mini 6.2, the iPhoto app either doesn't open at all or take forever. Any ideas why?

  • UPLOADING DOCUMENTS IN ADOBE FLASH CATALYST

    In Adobe Flash Catalyst, I have created a thumbnail with a scrollbar. That thumbnail is needed in order for a user to be able to be able to click on any of the documents within that thumbnail, which will open in another browser window for viewing pur