Oracle limitation and postgres

Hi,
Does anybody know some limitation of Oracle on Linux, like max db size, max table size, max row in a table and max row size, etc...
where to get such data?
And I am also compare Postgres with Oracle in our project, I know it is kind of compare apple with orange. But if anybody have done some similar work before, please give me some helpful information.
Thanks a lot!
Feng

Hi Feng Hong,
You can get the information you need from http://technet.oracle.com/docs
Georg

Similar Messages

  • Heterogeneous connection between Oracle and Postgres.

    Hi All,
    I'm trying to make an heterogeneous connection between Oracle and Postgres since few days but i still having this error : "lost RPC connection".
    First of all : I'm using Windows 7, Oracle 10g and PostgreSQL 8.4.
    I have done the following operations :
    1) Create a System DNS named "PG". (Test connection is OK)
    2) Create the file "initPG.ora" in "$ORACLE_HOME/hs/admin" :
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = PG
    HS_FDS_TRACE_LEVEL = ON
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    3) Configure the file "listener.ora" (in "$ORACLE_HOME/NETWORK/ADMIN") :
    SID_LIST_LISTENER =
    (SID_LIST =
         (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
         (SID_DESC =
    (SID_NAME = PG)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Cédric-PC)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    4) Configure the file "tnsnames.ora" (in "$ORACLE_HOME/NETWORK/ADMIN") :
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Cédric-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    PG =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = Cédric-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PG)
    (HS = OK)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    5) Finally, i create my DB-Link and test it :
    CREATE DATABASE LINK "CENTRALE_POSTGRES" CONNECT TO "user_login" IDENTIFIED BY "user_password" USING 'PG';
    SELECT * FROM "dual"@CENTRALE_POSTGRES;
    I got this error :
    ORA-03135 : lost RPC connection.
    As you can see, i have activated the trace level (HS_FDS_TRACE_LEVEL = ON), but the directory "$ORACLE_HOME/NETWORK/trace" still empty.
    Any ideas ?
    Regards

    the tnsnames.ora alias PG is wrong - you need to have 2 closing brackets after the SERVICE_NAME so that HS=OK is outside of the CONNECT_DATA like:
    PG =
    <space>(DESCRIPTION =
    <space><space>(ADDRESS = (PROTOCOL = tcp)(HOST = Cédric-PC)(PORT = 1521))
    <space><space>(CONNECT_DATA =
    <space><space><space>(SERVICE_NAME = PG))
    <space><space>(HS = OK)
    <space>)
    Please be also aware HSODBC up to release 10.2 has been desupported since March 2008 and it was replaced by its follow up product DG4ODBC V11

  • Oracle profile and password limits

    Hi there, I don't understand what's limiting my password selection. It appears that the profile is default and doesn't have limitations.
    Any help would be appreciated.
    Thanks
    db2> alter user system identified by "xxxxx";
    alter user system identified by "xxxxx"
    ERROR at line 1:
    ORA-28003: password verification for the specified password failed
    ORA-20003: Password should contain at least one \
    digit, one character and one punctuation
    db2> select profile from dba_users where username='SYSTEM';
    PROFILE
    DEFAULT
    db2> select resource_name, resource_type, limit from dba_profiles where profile='DEFAULT';
    RESOURCE_NAME RESOURCE
    LIMIT
    COMPOSITE_LIMIT KERNEL
    UNLIMITED
    SESSIONS_PER_USER KERNEL
    UNLIMITED
    CPU_PER_SESSION KERNEL
    UNLIMITED
    RESOURCE_NAME RESOURCE
    LIMIT
    CPU_PER_CALL KERNEL
    UNLIMITED
    LOGICAL_READS_PER_SESSION KERNEL
    UNLIMITED
    LOGICAL_READS_PER_CALL KERNEL
    UNLIMITED
    RESOURCE_NAME RESOURCE
    LIMIT
    IDLE_TIME KERNEL
    UNLIMITED
    CONNECT_TIME KERNEL
    UNLIMITED
    PRIVATE_SGA KERNEL
    UNLIMITED
    RESOURCE_NAME RESOURCE
    LIMIT
    FAILED_LOGIN_ATTEMPTS PASSWORD
    UNLIMITED
    PASSWORD_LIFE_TIME PASSWORD
    UNLIMITED
    PASSWORD_REUSE_TIME PASSWORD
    UNLIMITED
    RESOURCE_NAME RESOURCE
    LIMIT
    PASSWORD_REUSE_MAX PASSWORD
    UNLIMITED
    PASSWORD_VERIFY_FUNCTION PASSWORD
    SFDC_VERIFY_PWD
    PASSWORD_LOCK_TIME PASSWORD
    UNLIMITED
    RESOURCE_NAME RESOURCE
    LIMIT
    PASSWORD_GRACE_TIME PASSWORD
    UNLIMITED
    16 rows selected.

    I found what the issue was. Does anyone know how to
    look at the Resource limits and there value?Other than the DBA_PROFILES view that you queried in the previous post? Or some other resource limits (i.e. Resource Manager limits?)
    Justin

  • Migrating Oracle forms and reports from 6i to 10g Application server on Uni

    HI Guys,
    We are migrating from Oracle forms and reports 6i to 10g.
    We will be having application server on Unix box.
    I understand following will be the changes i will have to do in this respect -
    1. Fonts are to be revisited only Java fonts are supported.
    2. Obsolete items, function calls, triggers are to be removed.
    My question is since this application can be cross platform application,
    Can anyone provide me with changes that I will have to do with configuration files like -
    1. Formsweb.cfg,
    2. forms.conf
    3. default.env
    4. registry.dat
    Keeping in mind that the application server will be on unix box.
    Thanks,
    Av.

    Java fonts are only supported for the Forms version.
    You can use your own fonts for Reports however, there is some legwork to do this. I know because I just went through it.
    If you will only being using the PDF output (which for me replaced the Preview mode that existed in 6i), then you have to install the TTF for the missing font, an AFM (use the ttf2pt1 utility to generate the AFM file, but make sure you remove the AFM extension when moving it to Unix). You'll want to use the PDF Subset in the uifont.ali (which exists under the ORACLE_HOME/guicommon/tk/admin directory and add the line underneath the PDF Subset "Font Family Name"="TTF Font Name" The font family name is found when you open the AFM file in textpad or wordpad for the font you generated. This is what you enter. The TTF Font Name is the name the TTF font. You'll have to restart Reports Server after this.
    If printing to the printer directly is an option you must have, I will tell you it does not work in Linux right now. You can print to the printer but if the font doesn't exist on the internal memory of the printer, it won't work. There are 3rd party utilities like ORARRP and PDFPrint that can take care of this but, each has its own limitations. The one thing I found with ORARRP is if you generate a Report with an RRPA file extension and open it on Windows, it works great, the printer dialog comes up asking you what printer you want to print too. However, if you call this in Linux/Unix with the filename, it brings it up in the web browser but doesn't prompt you for your printer to print too automatically. So, for me, it's a show stopper. My only other option is to install the fonts on the printer that are missing.
    As for the files you want to change, you'll obviously have to make changes to the formsweb.cfg, default.env, forms.conf. I have to modify the reports.sh for some PL/SQL attached libraries to make sure it picks them up. I did have to modify Registry.dat.
    There is alot of work but mainly forms wasn't too bad, unless you had fonts that weren't supported. Usually there is another font that you can use to replace the old one but you have to know which fonts exists on the server and try all the keys on the keyboard to find the corresponding keystroke.
    Hope this helps.
    Chris

  • Unicode in Oracle 8i and Oracle XE

    I’m developing a program to read database objects and data of Oracle Database from Oracle 8.1.7 and store everything as XML files and then read these XML file on different computer and built the same database on Oracle XE and import the data in to it.
    Everything worked fine so far, except that I’m facing an issue with some of the fields of type VARCHAR2, I’m getting this error when importing the data (ORA-12899: value too large for column … etc.)
    Data stored in these fields as Unicode in both Oracle 8i and XE, I don’t know why the some data do not fit in the new XE database.
    Any one has a clue why the same data require more bytes in Oracle XE than they were taking in oracle 8i?
    Note: I'm not using any of Oracle tools to import or export, I'm using a program that I developed.

    Could be related to nls_length_semantics problems similar as here NLS_LENGTH_SEMANTICS parameter...
    It seems that Oracle 8i did not have nls_length_smantics parameter and most probably it used only byte characteristics. To my mind Oracle8i had quite limited support for unicode, so might be that behavoir changed between versions.
    Gints Plivna
    http://www.gplivna.eu

  • JDeveloper IDE Tool - Thank you Oracle/Sun and Java community

    I am sure it has been done many times over within the JDeveloper community discussion but I felt compelled
    to stop, think and acknowledge the efforts here.
    To Oracle, Sun and others that have contributed to this software and resources a huge THANK YOU!
    I started in this business as a COBOL programmer on the mainframe where the only option for you to learn
    was to use a school or company mainframe to code. if you didn't have either your only
    option was reviewing code in textbooks.
    These tools are amazing for how much power they give those of us interested in furthering our skills but
    limited in financial resources. The effort is staggering to me. Just lookng at the release notes and bug
    fixes for the versions of this tool I am absolutely floored.
    Your efforts are greatly appreciated. I hope that the open source concept continues. I applaud and urge
    you to continue your efforts. You are all doing a wonderful thing really. In a time where the trend is to
    charge charge charge for anything we do on our Droids and Iphones it is good to see a humane effort
    flourish.
    Brian Quinn
    IT Application Developer
    Edited by: 814126 on Nov 21, 2010 8:40 AM

    Always bear in mind that there is no such thing in life, called a free lunch.
    I quote:
    "Even if something appears to be free, there is always a cost to the person or to society as a whole even though that cost may be hidden or distributed.
    For example, as Heinlein has one of his characters point out, a bar offering a free lunch will likely charge more for its drinks."
    http://en.wikipedia.org/wiki/There_ain%27t_no_such_thing_as_a_free_lunch
    NA
    http://nickaiva.blogspot.com

  • "why the Psoft oracle DB and SID names should be in all upper case

    Customer is having a Question like
    "why the Psoft oracle DB and SID names should be in all upper case (according to the PsoftTools 8.50 Installation for Oracle manual)
    why the Peopletools 8.5 install book states all Oracle SID and database names should be in UpperCase.
    If we use lower case database name, would encounter any problems, what sort of problems?
    i Observed that all the Installation manual for 8.49,50,51 States the Same for Creating of Data base !
    Task 1-6-1: Determining Databases and Database Names
    You should also determine the names of the
    databases at this point, using database names that:
    • Are limited to eight characters, all UPPERCASE.
    • Capture information about the PeopleSoft product line and the type of database
    Please suggest on this !
    Thanks
    Bala

    user13798675 wrote:
    Customer is having a Question like
    "why the Psoft oracle DB and SID names should be in all upper case (according to the PsoftTools 8.50 Installation for Oracle manual)
    why the Peopletools 8.5 install book states all Oracle SID and database names should be in UpperCase.
    If we use lower case database name, would encounter any problems, what sort of problems?
    i Observed that all the Installation manual for 8.49,50,51 States the Same for Creating of Data base !
    Task 1-6-1: Determining Databases and Database Names
    You should also determine the names of the
    databases at this point, using database names that:
    • Are limited to eight characters, all UPPERCASE.
    • Capture information about the PeopleSoft product line and the type of database
    Please suggest on this !
    Thanks
    Balabcm@bcm-laptop:~$ env | grep ORA
    ORACLE_SID=v112
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    bcm@bcm-laptop:~$

  • How to export Oracle tables and data to mySQL

    Hi,
    I am new to Oracle.. and would appreciate all help on the issues below.
    Currently, we have Oracle8i on HP-UX, and Oracle8i on IBM-AIX. We would like to be ble to browse the information on the web, thus, a decision to use mySQL as the web database was made. In order to achieve the above, we need to perform the following:
    1) Export Oracle tables to mySQL, from both the HP-UX and IBM-AIX machines.
    2) Include an additional column to the tables that need to be exported from Oracle to mySQL.
    3) Implement the export as a daily extraction that will run at a certain time of the day.
    How may I achieve the above?
    I have just installed the Oracle Enterprise Manager... will this have any help to the above???
    Appreciate all help given... greatly appreciated!
    Thanks and Brgds,
    Alicia

    I'd first make sure you really need to create a separate database just for making the data available to the web. The web application you create could just as well query the existing Oracle databases. You don't necessarily have to create a separate database just to display info over the web.
    Secondly, if you still want to create a separate database, I'd also question the use of mySQL. In my opinion, mySQL is not a relational database. It acts like a relational database; you can query it via SQL. But because of all the features which mySQL says it does not support yet, I don't consider it to be a true RDBMS. This may not be an issue in your case since you're using it just for read access. Still, I'd take a long look at the list of feature mySQL does not support and make sure you can live with those limitations.
    Also, if you create a separate database for the web app and use Oracle for that database instead of mySQL, you could use Oracle's built in data replication to automatically refresh the web db from the existing db
    If you conclude that you still want to create a separate database for the web app and use mySQL I think you'll have to write some code to support the interface between the dbs (but hey, I'm a developer). The reason I say this is because it sounds like you're merging data from two databases into one and you may even be merging data from two separate databases into a single table of the new web database. If this is the case, simple data extract utilities will not be sufficient. Also, it sounds like the new column added to the web database may not be able to be populated from existing data. And then there's the question of what you need to do with the existing web data each time you run the data extraction ? The easiest case is that you'll always add data to the web db from existing db. If you have to purge the web db first and then refresh it with existing data then there's another step in the process. Overall, writing code to support an interface like this gives you complete control over the process and provides a lot of flexibility in how it is run. In my experience, there are usually new requirements added to the interface as time goes on. The code based approach can deal with changing requirements. The tools approach eventually falls short.
    One other issue to keep in mind is how to protect your existing database while exposing your web database to the Net. Since you need to support an automated interface between the two systems, you'll need to provide a path between the two databases without letting Net users gain access to your internal database. Some serious network security issues to resolve here, but I'm not a network admin.
    hth,
    Frank
    Hi,
    I am new to Oracle.. and would appreciate all help on the issues below.
    Currently, we have Oracle8i on HP-UX, and Oracle8i on IBM-AIX. We would like to be ble to browse the information on the web, thus, a decision to use mySQL as the web database was made. In order to achieve the above, we need to perform the following:
    1) Export Oracle tables to mySQL, from both the HP-UX and IBM-AIX machines.
    2) Include an additional column to the tables that need to be exported from Oracle to mySQL.
    3) Implement the export as a daily extraction that will run at a certain time of the day.
    How may I achieve the above?
    I have just installed the Oracle Enterprise Manager... will this have any help to the above???
    Appreciate all help given... greatly appreciated!
    Thanks and Brgds,
    Alicia

  • Oracle 9i and Oracle 10g transaction log shipping

    Hi,
    We have Oracle 9i and we use the transaction log shipping mechanism to transport our transaction log files to our DR site. We then import these against the database at the remote site.
    Our telecomms infrastructure is pretty limited so this is a manual process.
    We are looking at upgrading to 10G. I believe that with 10g you have to use dataguard, or is there a way to mimic the behavior of 9i that would allow us to transport and apply the transaction logs manually?
    Thanks
    Andrew

    You can try setting the SGA to a low value and bring up both the databases. I don't think it should be too slow provided you are not running other windows programs.
    If you are really interested in trying out new products you can also explore the option of installing VMware, creating virtual machines & installing Linux, and then playing with the different Oracle products. Doing this will at least keep your main windows operating system clean.
    You may want to check out my blog post on Build your own oracle test lab
    Cheers !!!
    Ashish Agarwal
    http://www.asagarwal.com

  • DB link between Oracle 9i and MS SQL server2000

    Hi,
    Is it possible to create a DB link between Oracle 9i and MS SQL server 2000.
    If it is possible what are the different ways of creating it.
    Is it possible without purchasing any propietery drivers.
    Thanks,
    Rohit

    I've never seen any documents stating that the enterprise edition is a requirement for the heterogeneous connectivity ....
    There are 2 ways to set up the connection with MS SQL - using generic connectivity driver (OLE DB or ODBC) or using the Oracle Transparent Gateway.
    The generic connectivity is free and comes with Oracle DB - it has several limitations - for example you can't call MS SQL stored procedures from Oracle.
    The Oracle Transparent Gateways are packaged , the MS SQL gateway is part of the Open System Gateways package ($15,000.00 per CPU license cost) and i has less restrictions.
    Overview:
    http://www.oracle.com/technology/products/oracle9i/datasheets/gateways/gateway_rel2_ds.html
    http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96544/toc.htm
    Chapter 4 - the Oracle Transparent Gateway
    Chapter 7 - the free Generic connectivity.
    Mike

  • Is diadem the best solution to store test limits and parameters

    I understand that diadem is the best repository for test results for analysis and reporting. However can I make use of the database structure to store test limits and instrument setup values as a TDM file that I can call upon in a VI.
    If so, is it possible to extract from the TDM file only the values that I require.
    For example.
    Widget1 test requires min/max values A,B,C and instrument setup values for condition 1,2,3
    Widget2 test requires min/max values A,B,C and instrument setup for condition 4,5,6
    If this is the case would it make sense to have 1 single TDM with all values and parameters or seperate TDM for widget1 and widget2 etc etc..
    Regards
    Chris

    Hi Chris,
    This question has come up in one form or another many times over the last several years, actually predating the DataFinder.  I think the honest answer is that the jury is still out as to whether DIAdem and the DataFinder offer a good general-purpose data management and reporting combination for manufacturing test data.  Certainly I have created numerous proofs-of-concept to show prospective customers that it can work and what they can expect from DIAdem and the DataFinder with their data.  There are some cases where I think DIAdem and the DataFinder are hands-down the best tool on the market, and there are other situations where DIAdem and the DataFinder can still do the job but it's a bit of a stretch, and then there are high-end situations where other tools are the better fit.
    I'll try to keep this reasonably short, but I think this is a question many will be interested in reading about, so I want to go ahead and post a few points to clarify those "different situation" comments above.  DIAdem and the DataFinder become a much more compelling fit when you run lots of different types of tests, such that the number of results is variable from one test to another, or the result quantity names and units are different from test to test, or the analysis/reporting required is different from test to test.  High mix data plays to the strengths of DIAdem and the DataFinder, because the DataFinder is a self-configuring and expanding data base, and DIAdem is a general purpose analysis and reporting tool and is very flexible.  If your acquired data has a very static format, on the other hand, then it would take much less effort to set up and maintain your own relational data base and create one analysis and reporting solution that would never need to be expanded.
    DIAdem and the DataFinder also excel when the overall data amount is not astronomical and when the data consumers are all on the same LAN and are willing to install DIAdem to look at the data or create reports.  Many times in a manufacturing test setting a web interface is requested so that the data consumers can be anywhere in the world and need have only a web browser to interact with the data.  DIAdem and the DataFinder are fully compatible with Citrix and other Windows Terminal Services layers, but that does not come built-in with DIAdem 10.2 and the DataFinder Server Edition 1.1.  Both DIAdem and the DataFinder can handle VERY large data sets, but if you need high-end server options such as data base backups, triple-redundancy, complicated user-definable data access privileges, etc., then a conventional relational data base such as SQL Server or Oracle are going to have more to offer.
    Note that the DataFinder data base is an indexed compendium of information stored in flat files and is always tied to those flat files.  If you add or remove or edit a data file, the DataFinder will automatically update the corresponding records-- there is no way to sever this link and use the DataFinder in a file-less mode.  The best way to organize your manfacturing data in these data files is to expose your single value, named data results as properties on the file, group, or channel level.  This enables you to query on the values of those properties.  TDM files used for this purpose will index very quickly but will have a large footprint on disk, since you're storing this information in XML.  If file size is an issue, TDMS files index at least as fast and would have a smaller disk footprint.  ASCII files are actually surprisingly efficient for storing manufacturing data.  If you happen to be using TestStand, note that there is an ATML DataPlugin on www.ni.com/dataplugins which you can use which will automatically expose your measurements as properties in DIAdem and the DataFinder.
    Ask as you have additional questions,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    in environments higher volume your data is, on the other hand, the more we have to be careful to make sure that DIAdem and the DataFinder

  • Pre-configured Linux with Oracle DB and Applications

    Does anyone know if there is a pre-configured oracle-linux stack out there that would have all the components already configured. I have seen this for other products such as sugarCRM. Its really nice to have this, since it takes the complexity and installation time out of the equation, especially if you are just trying to test or demo the software. I imagine a PeopleSoft Oracle Linux Stack, as well as one for each of the Oracle Application and Software Suites. If not, i guess i will go the more fun route of downloading and installing each package individually.

    There is package, named oracle-validated. it verifies and sets system parameters based on Oracle validated configuration recommendations for Oracle Enterprise Linux Release 4.
    [root@jch-lnx etc]# rpm -qli oracle-validated-1.0.0-8.el4
    Name : oracle-validated Relocations: (not relocatable)
    Version : 1.0.0 Vendor: Oracle
    Release : 8.el4 Build Date: Wed 19 Sep 2007 05:46:22 AM CST
    Install Date: Wed 26 Sep 2007 12:03:06 PM CST Build Host: ca-build6.us.oracle.com
    Group : Test Environment/Libraries Source RPM: oracle-validated-1.0.0-8.el4.src.rpm
    Size : 39137 License: GPL
    Signature : DSA/SHA1, Wed 19 Sep 2007 05:46:24 AM CST, Key ID 2e2bcdbcb38a8516
    Summary : Verifies and sets system parameters based on Oracle validated configuration recommendations for OEL4
    Description :
    This package verifies and sets system parameters based on Oracle validated configuration recommendations for Oracle Enterprise Linux Release 4
    Files affected: /etc/sysctl.conf, /etc/security/limits.conf, /etc/modprobe.conf, /boot/grub/grub.conf
    For changes to modules, this package installation will modify module paramters and re-insert.
    /etc/sysconfig/oracle-validated/oracle-validated-verify
    /etc/sysconfig/oracle-validated/oracle-validated.params
    /usr/bin/oracle-validated-verify

  • Oracle limitation? function created using "or replace" clause

    How I can know if function is created using "or replace" clause?
    I mean we can use "create function xxx" or "create or replace function xxx" to create function.
    when we check all_source (select text from all_source) to get the function body. The "or replace" clause is missing. Both are like "Function xxx".
    We are asked to be able to identify if the function create using "create" or "create or replace".
    what we should do? Is this Oracle limitation?

    That only works if nothing other than create create/replace happens tot he function over time. consider:
    SQL> CREATE TABLE t AS
      2  SELECT rownum id, TO_CHAR(TO_DATE(rownum, 'J'), 'Jsp') descr
      3  FROM all_objects
      4  WHERE rownum < 10;
    Table created.
    SQL> CREATE FUNCTION f (p_num IN NUMBER) RETURN VARCHAR2 AS
      2     l_v VARCHAR2(30);
      3  BEGIN
      4     SELECT descr INTO l_v
      5     FROM t
      6     WHERE id = p_num;
      7     RETURN l_v;
      8  END;
      9  /
    Function created.
    SQL> SELECT object_name, created, last_ddl_time, timestamp
      2  FROM user_objects
      3  WHERE object_name = 'F';
    OBJECT_NAM CREATED              LAST_DDL_TIME        TIMESTAMP
    F          09-aug-2010 09:45:39 09-aug-2010 09:45:39 2010-08-09:09:45:39As a brand new function, all dates agree, as expected. But now, I want someone to actually be abl to use this function so:
    SQL> GRANT EXECUTE ON f TO john;
    Grant succeeded.
    SQL> SELECT object_name, created, last_ddl_time, timestamp
      2  FROM user_objects
      3  WHERE object_name = 'F';
    OBJECT_NAM CREATED              LAST_DDL_TIME        TIMESTAMP
    F          09-aug-2010 09:45:39 09-aug-2010 09:47:00 2010-08-09:09:45:39Note that grant is ddl and it was performed on this function, so last_ddl is different, but I have not done a create or replace. The timestamp is still the same, so maybe that is a possibility? But ...
    SQL> ALTER TABLE t ADD (descr2 VARCHAR2(30));
    Table altered.
    SQL> SELECT status
      2  FROM user_objects
      3  WHERE object_name = 'F';
    STATUS
    INVALID
    SQL> SELECT f(1) FROM dual; -- auto recompile
    F(1)
    One
    SQL> SELECT object_name, created, last_ddl_time, timestamp
      2  FROM user_objects
      3  WHERE object_name = 'F';
    OBJECT_NAM CREATED              LAST_DDL_TIME        TIMESTAMP
    F          09-aug-2010 09:45:39 09-aug-2010 09:49:03 2010-08-09:09:49:03So, I have still not explicitly done a create or replace, but timestamp is now different. Does this auto recompile count as create or replace?
    John

  • Why is oracle limited appropriate to save any kind of xml documents

    hey,
    currently i´m student of health informatics in dortmund (germany)
    our next test is about oracle database.
    i do now know a lot about it.
    but there is one open question and noone can give me an answare...
    why is oracle limited appropriate to save any kind of xml documents?
    the only thing i know is that you can save xml documents native als xmltype or you can use
    xml repository...
    but ??? please help me, i think for you its just a question like hows the weather...
    thank you very much.
    greetings from germany,
    mathias
    Edited by: user8643284 on 19.07.2009 06:20

    XML documents may be saved in Oracle database with the XDK or XML documents may be stored in Oracle XML DB.
    For storing an XML document in Oracle database with the XML SQL Utility pease refer
    http://www.devx.com/xml/Article/32046
    For storing an XML document in Oracle XML DB please refer
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb03usg.htm

  • Oracle Pipes and Forte

    Does anyone have any experience using the Oracle pipes facility from an Oracle
    stored procedure to talk to a Forte Service Object. We believe its possible, but
    would like to hear some war stories.
    Thanks,
    Ty
    [email protected]

    G'Day Tom
    FWIW, as of three days ago we have:
    OpenVMS v7.1
    Oracle v7.3.2.3.2
    Forte v30G2
    The local Forte apps are limited and small to date. Testing (including Y2K)
    failed to show any problems with Forte and Oracle.
    I'd be interested to know about any specific problem you have with Oracle
    v73232 and Forte (30G2).
    TIA
    Dirk Haben, Perth WA
    BTW: Absence of evidence is NOT evidence of absence ...
    -----Original Message-----
    From: Thomas R Wyant_III [mailto:[email protected]]
    Sent: Monday, 19 October 1998 20:55
    To: [email protected]
    Subject: Oracle, VMS, and Forte
    What is the most recent version of Oracle in use with Forte
    under VMS, and
    what version of Forte are you using with it? We're at Forte
    3.0.G.2, but
    still at Oracle 7.3.2.3.0, because when we tried 7.3.2.3.2 it
    wouldn't link
    (and no, I don't remember the version of Forte - sorry!).
    Forte support
    keeps telling us the current version "should work", but I'd
    like to know
    what "will work".
    Thanks,
    Tom Wyant
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Maybe you are looking for