New in oracle

hi friends,
i am new in oracle application.
i got training in oraacle application.
now i am going to trian up in dba.
could u give good advice for me?
and how to become a good dba?
sugges some books for dba?
w z future

If you are going to attend training from Oracle University then they will provide you Oracle Student Guide for Apps DBA.
You should review following from Oracle Apps Documentation Library. (you can download these from oracle.com online documentation library)
For Apps DBA
Oracle 11i Concepts
Oracle Application Maintanence Procedure
Oracle Application Maintanence Utilities
For Oracle Apps System Administration
Oracle Applications System Administrator's Guide - Configuration
Oracle Applications System Administrator's Guide - Maintenance
Oracle Applications System Administrator's Guide - Security
I am also new to Oracle Applications like you. Good Luck.

Similar Messages

  • How to do it? Need help in syntax - new to Oracle syntax

    create or replace
    PROCEDURE "SP_SAMPLE_data" (prodName in VARCHAR2) AS
    where_criteria char(100);
    BEGIN
    if prodName = 'A' then
    I want to build the where criteria string as “product_name in (‘iPod’,’iPad’)”
    else
    I want to build the where criteria string as “product_name = directly read from the passed variable(prodName)”
    end if;
    select *
    from “MySchema”.”MyTable”
    where where_criteria concatenated here – do not know how to concatenate;
    END SP_SAMPLE_data;
    New to Oracle PL/SQL syntax.
    Oracle 10gR2

    You could try someting like this
    create or replace procedure SP_SAMPLE_data (prodName in VARCHAR2) AS
       where_criteria char(100);
       sql_stmt varchar2(1000);
    BEGIN
       if prodName = 'A' then
          -- I want to build the where criteria string as "product_name in ('iPod','iPad')"
          where_criteria := 'product_name in (''iPod'',''iPad'')';
       else
          -- I want to build the where criteria string as
          -- "product_name = directly read from the passed variable(prodName)"
          where_criteria := 'product_name = '''||prodName||'''';
      end if;
      sql_stmt := 'select * from MySchema.MyTable'||where_criteria;
    END SP_SAMPLE_data;I added SQL_STMT variable as I am not sure what do you want to do with SQL statement once it is created. Do you plan to execute it in the procedure or pass it back to the calling environment? If you need to pass it back, then specify SQL_STMT as out parameter.

  • New to oracle report builder

    Dear all;
    Please pardon me. I am new to oracle report builder and I am trying to accomplish the following. First and foremost please find my pl/sql queries below. Kindly note, all the queries have been tested and I just need to be able to input those queries into the report builder. Thank you.
    create or replace package test1 is
    type r_cursor is ref cursor;
    function report(company_name in varchar2) return r_cursor;
    end test1;
    create or replace package body test1 is
    function report(company_name in varchar2) return r_cursor as
    my_r_cursor r_cursor;
    begin
    if(company_name = 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t;
    return my_r_cursor;
    elsif(company_name != 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t
    where t.t_id = company_name;
    return my_r_cursor;
    end if;
    end;
    end test1;
    create table t1
    t_id varchar2(200) not null,
    t_description varchar2(250),
    primary key(t_id)
    insert into t1
      (t_id, t_description)
    values
      ('CITI', 'PROFIT: 2.2Billion');
    insert into t1
      (t_id, t_description)
    values
      ('GE', 'PROFIT: 1Billion');
    insert into t1
      (t_id, t_description)
    values
      ('JPMORGAN','PROFIT: 0');Now, I am trying to create a simple report in oracle report builder. The interface for generating for this report is basically, there is a dropdownlist where by the user picks a company name from the dropdownlist and clicks on the go button, this should then generate a report with the above query shown in the package. How can this be achieved? All help will greatly be appreciated.

    Hi,
    first of all you need strong typed ref cursor, oracle reports need to detect witch are the columns returned by your cursor.
    so first you create your package
    create or replace package test1
    as
    TYPE t_record IS RECORD ( company_number PLS_INTEGER--TABLE_NAME.COLUMN_NAME%TYPE
    , company_desc VARCHAR2(150)--TABLE_NAME.COLUMN_NAME%TYPE
    TYPE T_REF_CURSOR IS REF CURSOR RETURN t_record;
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor) ;
    end test1;
    show errors
    create or replace package body test1
    is
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor)
    is
    my_r_cursor T_REF_CURSOR;
    begin
    if(company_name = '1')
    THEN
    open my_r_cursor for
    select 1 as t_id, 'description' ast_description from dual
    else
    open my_r_cursor for
    select 2 as t_id, 'description2' as t_description from dual
    end if;
    end;
    end test1;
    show errors
    then, in your report you create a ref cursor query :
    function QR_1RefCurDS
    return test1.t_ref_cursor
    is
    C_return test1.t_ref_cursor;
    begin
         test1.report(1,C_return);
    RETURN(C_return) ;
    end;
    hope this helps you !
    E

  • Forms installation problem - how do I create a new default Oracle home?

    I am new to Oracle so please forgive my utter ignorance. My impression of Oracle because of how an installation
    has to be done is taking a nosedive. I thought Microsoft was bad with all the re-booting but the explanation that I
    read in Anubhav Seth's post about installing Dev 6i before 8i and the suggestion (not a requirement) to format the
    harddisk and reinstall Windows just leaves me with my jaw hanging open. I'm having a little trouble swallowing that
    one.
    Here's my situation... I'm running 8i at home and I am using it for the Oracle courses that I am taking at a local
    university. So 8i with its SQL*Plus has been all I have needed to date. Now we have a project to do that involves forms.
    So I go to the OTN page for downloads and downloaded file 6irel2nt.exe which is 264 MB in size. This file, I assume,
    has forms in it -- what else I don't know because things are not explained all that well on the web site or I don't know
    where to look (which implies poor organization of the web pages).
    I run the 6irel2nt.exe file and end up with 11,128 new files on my computer. That's nice. I run the setup file and a step or
    two into it it complains that my 'Ora81' home is already being used and that I need to install it into another Oracle Home.
    Now I'm trying to find out how I create another Oracle Home. I perform a search in GOOGLE on "creat default Oracle
    home" and basically get nowhere. My $50+ "Oracle 8i A Beginner's Guide" from Oracle Press mentions Oracle Home
    on one page (pg. 170) but is completely useless in this case. My $184 worth of Oracle University manuals (which
    are really PowerPoint slides) is useless too. My next step will be to comb through the FAQs. All this because I cannot
    believe that I have to totally uninstall one product to get another to install and then reinstall the first one. That is INSANE!
    If I have gone way off track please feel free to blast me but if this is true then all I can say is that the folks at Oracle need
    a lesson in KISS (Keep It Simple Stupid)! Computers and computer software are supposed to make our lives simpler
    not complicate the holy hell out of them. I'll get off my soapbox now. Sorry about the whining.

    I ended up uninstalling 8i and then I installed Dev 6i (Forms) and then I reinstalled 8i. I had some problems
    installing Dev 6i because of this error "path.vrf(86): Unbound variable 'path_too_long_prompt'". Right after this error
    appears I get a dialog that states, "The Oracle Installer cannot update the system path variable to %new_path%
    because it is too long. Please restrict your system path to 127 characters and make sure D:\Oracle\OraWin95\bin
    is included in your path."
    The path D:\Oracle\OraWin95 was what I set up for this installation.
    What I did to work around this problem was this...
    (1) Go to Start - Accessories - System Tools - System Information.
    (2) Click on the Tools menu
    (3) Select System Configuration Utility
    (4) Select the Autoexec.bat tab
    (5) I added D:\Oracle\OraWin95\bin to my PATH variable and unchecked the checkbox next to one of the several
    lines that I have that build my PATH variable. (I have several PATH lines that simply add a path to the system
    variable %path%). After the installation is complete you can go back and turn back on the paths that you had disabled.
    After installing 8i I did have a problem connecting to the database. I got this error:
    Error: ORA-01034 Oracle not available
    I believe this happened because I had forgotten to turn back on some of my PATH information that I mentioned
    earlier. After checking one of my PATH variables and rebooting, this problem disappeared.
    When reinstalling 8i and when the installation asks for an SID and you enter the SID you had used in the original
    installation you may get a notice that says the SID already exists. I think this happens because the uninstall does not
    clean up the registry totally, so I entered a different one. Later on, after the installation has been completed and you
    are connecting to your database, you will be prompted to select an SID -- just make sure that you select the SID from
    the latest installation.
    I should've mentioned first that in preparing for this whole ridiculous exercise I created a directory under my Oracle
    directory that I was going to use as the new 'Oracle home.' So I guess that's all one has to do to create a new Oracle
    home -- just have another directory ready to install 'stuff' into.
    All in all, this a pretty asinine exercise. Oracle really needs to fix this mess. I honestly thought Microsoft was bad but
    this takes the cake. I wonder if SQL Server is this screwed up.

  • (V9I) ORACLE 9I NEW FEATURE : ORACLE FLASHBACK

    제품 : ORACLE SERVER
    작성날짜 : 2002-11-01
    (V9I) ORACLE 9I New Feature : ORACLE FLASHBACK
    ==============================================
    PURPOSE
    Oracle9i 새로운 기능인 Flashback 의 등장으로 Commit 된 Transaction 에 대해
    특정 시점의 과거 DATA를 Query가 가능함으로써 Self-service repair 기능이 향상되었다.
    다음 Flashback query 기능과 Setup 방법 및 실제 Data Recovery 에 관한 내용에 대해 알아보도록 한다.
    Explanation
    Flashback : 새로운 기능인 Flahback 은 과거 시점의 consistent view 를 볼 수있는
    기능으로 system time or systme change number(SCN) 기반 read-only view이다.
    다음은 Flashback 기능을 사용하기 위해 미리 설정해야할 부분에 대해 알아보도록 한다.
    1) 반드시 Automatic Undo Management 에서만 가능
    (initSID.ora file이나 spfile에 다음 파라미터가 auto로 설정)
    UNDO_MANAGEMENT = AUTO
    2) Rentention interval 을 두어 해당 time 동안은 inactive rollback 이라 하더라도
    overwrite 되지 않도록 유지(초단위)
    SQL> ALTER SYSTEM SET undo_retention = 1200;
    UNDO_RETENTION 을 지정한 다음 실제 적용을 위해 5분정도 기다려야 한다.
    3) DBMS_FLASHBACK package를 이용하여 Flashback 기능을 enable 시킨다.
    SQL> call dbms_flashback.enable_at_time('9-NOV-01:11:00:00');
    Example1. Flashback setup 과 date/time 설정
    1) Undo tablespace 생성
    SQL> create undo tablespace UNDOTBS datafile
    '/database/901/V901/undotbs01.dbf' size 100M;
    2) intiSID or spfile 에 다음 파라미터 적용
    undo_management=auto
    undo_retention=1200
    undo_tablespace=UNDOTBS
    3) dbms_flashback exeucte 권한 grant
    SQL> connect / as sysdba
    Connected.
    SQL> grant execute on dbms_flashback to testuser;
    Grant succeeded.
    4) test table 생성
    SQL> connect testuser/testuser;
    Connected.
    SQL> create table emp_flash as select * from scott.emp;
    Table created.
    SQL> select count(*) from emp_flash;
    COUNT(*)
    15
    5) table 생성후 5분 정도 waiting -> table delete
    SQL> delete from emp_flash;
    15 rows deleted.
    SQL> commit;
    Commit complete.
    SQL> select count(*) from emp_flash;
    COUNT(*)
    0
    6) flashback 활성화
    SQL> execute DBMS_FLASHBACK.ENABLE_AT_TIME(sysdate - 5/1440);
    PL/SQL procedure successfully completed.
    SQL> select count(*) from emp_flash;
    COUNT(*)
    15
    SQL> execute DBMS_FLASHBACK.DISABLE;
    PL/SQL procedure successfully completed.
    SQL> select count(*) from emp_flash;
    COUNT(*)
    0
    Example2. Flashback 으로 잃어버린 data recovery
    1) test user 생성
    SQL> connect testuser/testuser;
    Connected.
    SQL> create table emp_recover as select * from scott.emp;
    Table created.
    SQL> select count(*) from emp_recover;
    COUNT(*)
    15
    2) delete table
    SQL> VARIABLE SCN_SAVE NUMBER;
    SQL> EXECUTE :SCN_SAVE := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER;
    PL/SQL procedure successfully completed.
    SQL> PRINT SCN_SAVE
    SCN_SAVE
    6.4455E+12
    SQL> select count(*) from emp_recover;
    COUNT(*)
    15
    SQL> delete from emp_recover;
    15 rows deleted.
    SQL> commit;
    Commit complete.
    SQL> select count(*) from emp_recover;
    COUNT(*)
    0
    3) flashback 이용한 data recover
    SQL> DECLARE
    2 CURSOR FLASH_RECOVER IS
    3 select * from emp_recover;
    4 emp_recover_rec emp_recover%ROWTYPE;
    5 begin
    6 DBMS_FLASHBACK.ENABLE_AT_SYSTEM_CHANGE_NUMBER(:SCN_SAVE);
    7 open FLASH_RECOVER;
    8 DBMS_FLASHBACK.DISABLE;
    9 loop
    10 FETCH FLASH_RECOVER INTO emp_recover_rec;
    11 EXIT WHEN FLASH_RECOVER%NOTFOUND;
    12 insert into emp_recover
    13 values
    14 (emp_recover_rec.empno,
    15 emp_recover_rec.ename,
    16 emp_recover_rec.job,
    17 emp_recover_rec.mgr,
    18 emp_recover_rec.hiredate,
    19 emp_recover_rec.sal,
    20 emp_recover_rec.comm,
    21 emp_recover_rec.deptno);
    22 end loop;
    23 CLOSE FLASH_RECOVER;
    24 commit;
    25 end;
    26 /
    PL/SQL procedure successfully completed.
    SQL> select count(*) from emp_recover;
    COUNT(*)
    15
    Reference Document
    Note. 174425.1
    Note. 143217.1
    Note. 179851.1

    I 'm sorry I can not offer the correct figure since I'm an easy-to-forget guy.
    Below is extracted from other's post. wish it helps.
    Oracle Security Server ---> 2 questions
    High Availability Technology ---> 4 questions
    LogMiner Enhancements -> 1 question
    Backup & Recovery Enhancements ---> 3 questions
    Data Guard ---> 3 questions
    Resource Manager Enhancements ---> 2 questions
    Online Operations Enhancements ---> 3 questions
    Segment Management (Part I) ---> 4 questions
    Segment Management (Part II) ---> 3 questions
    Performance Improvements ---> 4 questions
    Scalable Session Management ---> 2 questions
    Real Application Clusters ---> 2 questions
    File Management ---> 4 questions
    Tablespace Management ---> 4 questions
    Memory Management ---> 3 questions
    Enterprise Manager Enhancements ---> 2 questions
    by the way, I just found an enthusiast (roxylo
    ) posted a book about the 9i new features. It surely will help

  • Please help me. I'm new to Oracle.

    Hello all
    I'm Sean and new to Oracle and wana purse learning Oracle Forms&Reports but to start I need to also learn Oracle DataBase as well.
    Please I know you're all busy but HELP me to fix this problem and start learning Oracle.
    I've installed oracle DB 10G. XE. without any problem and have been using it everyday BUT I just installed Oracle SQL Dev v. 1.2.1.... and can't creat a new connection. (it's all installed in my compaq laptop using Win XP SP 3).
    I've been reading all the comments in forums but I'm still stuck. PLEASE SOME ONE HELP ME.
    Learning from all you guys comment I looked at my Listener.ora and it looks like this:
    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)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Shawn_COMPAQ)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    and my sqlnet.ora looks like this:
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    The tnsnames.ora looks like this:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SHAWN_COMPAQ)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    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)
    from looks of it comparing to what I have seen in ppl's comments and copy&past of files in forums, my 3 files all looks weird and I guess it missing lot of things.
    when I try to create a new connection to see built-in schema (HR) all though it's unlocked but sql dev can't establishes a connection.
    In New \ Select database connection window for following fields iI put:
    Hostname = localhost:1521:orcl (I 've tried just putting localhost)
    Port = 1521
    SID = orcl
    In my browser when I am in home page of DB 10g XE the URL reads: http://127.0.0.1:8080/apex/f?p=4500:1000:4313426409493576
    When i put hostname = localhost (or either 127.0.0.1) and port = 1521 and SID = orcl, I'm getting error :
    status: failure-listener refused the connection with following error - ORA-12505, TNS: listener doesn't currently know of SID given in connect descriptor The connection descriptor used by client was: localhost:1521:orcl .
    When I just change the Port to 8080 I get the error:
    Status: failure-Io Exception: Got minus one from a read call.
    By default DB 10g XE installed in: C:\oraclexe\app\oracle\product\10.2.0\.............
    and all the mentioned files (3 files mentioned above) are in: C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN
    Please I know you're all busy but HELP me to fix this problem.
    God bless you.
    tnx
    Sean

    Thanks a lot.
    Yes. It works well now.
    In it's documentation it says put orcl for SID but never thought to try default xe.
    You're the man.
    tnx

  • Hi, i am new to oracle, SQL DEVELOPER:- ERROR:- ORA-01918

    Hi,
    I am new to oracle, and i have installed Oracle database 12c enterprise edition, and oracle jdeveloper 12c for adf web application development,
    I created a database and a new connection in it using sql developer, however while trying to create new user with the name db1 by right clicking on other users. by following the instructions in oracle documentation site. i get the error that new user db1 doesnt exist, and gives error:- ORA-01981. i even tried by changing the username as i thought may be it doesnt support alphanumeric name, but still i get the same error.
    So please tell me how to create a new user. is there any way to get out of this ora:-01918, as i googled and it says this is a bug.
    My os is win 7 x64(amd processor ).
    Thank you
    Baldwin

    A new user (called a schema in Oracle) is created using the CREATE USER SQL command. You need to be signed in as the SYS schema/user or as a schema that has been granted the rights to create schemas.
    12c database comes in two basic flavours. Container database (containing pluggable databases). Standard database. If connected to a container database, you cannot create standard user schemas - you need to be connected to a pluggable database.
    Also, your question has no relevance to either the SQL or PL/SQL languages - the subject matter of this forum. Please repost your question to a more appropriate forum dealing with SQL-Developer issues.

  • New in oracle webcenter

    Hi , i am new in oracle webcenter .I am quite confuse now .Can anyone tell me what software should i need to install to try the oracle webcenter? I has already download Oracle Jdeveloper, Weblogic , Database ,Webcenter suite and Oracle RCU. Is it compulsory to install all the software on my PC? So far I am using window 7 64 bit.
    In addition , can anyone give me some note which are best for the newbie to try the oracle webcenter?
    I know this question is quite stupid. Special thanks to anyone who help me :)

    You don't need to install all that software if you want to test the basic functionality of WebCenter.
    JDeveloper is the IDE that you will be using to develop the portal. When you have installed Jdev, go to Help, Check for updates and look for the WebCenter extensions. Download and install them.
    JDeveloper will than restart and when you create a new application you will see additional templates:
    WebCenter Portal application: this is the template that allows you to create a portal with webcenter
    Portlet producer: this template will create an application that allows you to create JSR 286 portlets that can be consumed in a webcenter portal or any other JEE portal with WSRP support.
    The webcenter extensions do not contain the webcenter services like document services, discussion forums, activity streams and so on. If you also want to test them out, than you will need to install weblogic + webcenter suite.
    A good start is the tutorial. I am currently in the procces of writing one. Currently i only have finished 2 parts but it's a start :)
    http://www.yonaweb.be/webcenter_tutorial/introduction
    You will also find lots of other examples and articles on my blog :)
    You can also download the prebuild VM from Oracle: http://www.oracle.com/technetwork/middleware/webcenter/downloads/owcs-portalfw-vbox-284132.html
    This VM does contain a full installation of the webcenter portal framework with the services (webcenter spaces is not installed on this VM).
    And this is the tutorial from Oracle: http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10273/toc.htm

  • New In Oracle Form

    Hi,
    I am new in oracle form and i need material for study and if possible someone have ready framework.
    Thanks,

    Well, there is certainly no shortage of reading material available. The question you need to ask yourself is "what do I already know". In other words, it would be helpful if you understood the basics of how a web server works (specifically Apache) and how web content is deployed. For example, just a simply web page. This information will help you to better understand how your Forms application will run.
    Then, to get an understand of the Oracle Forms product you can start by reviewed the documents found in the Overview section of this page:
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/techlisting11gr1-086315.html
    The product document library will cover deployment and installation:
    http://docs.oracle.com/cd/E24269_01/index.htm

  • New in Oracle Web form 9i : How to run fmx from web and login

    oracle form 9i from web.
    I am new in oracle form 9i (web form). Before I use oracle form client 6i. Just set icon with command (D:\ora6i\BIN\ifdbg60.EXE MYFORM.FMX). The login will be prompt out and user can log in to run many oracle 6i forms from oracle menu. In Oralce form 9i designer, I can open form designer and use run form from IE.
    1. How can I depoly these form with menu to other users.
    2. How can I define the url link to public (Application Server)?
    3. SHould there is any login prompt from web usage.
    Tks.

    solved.

  • New in Oracle need basic help

    Hello
    I'm new in Oracle (First day in oracle), in one company i have Oracle 11g (windows server 2003), but the problem is that I need to understand:
    1) Name an location in file sistem of instances created
    2) Name an location in file sistem of databases created
    3) What is the best full backup method and how to create backups using cmd ?
    google.com didnt help me.
    Can some one help me ?

    Hi there,
    in Oracle we have a schema concept - All objects with segments are within the schema
    Every schema can use one or more tablespaces
    Each tablespace should have at least one datafile associated.
    With that said, You can run this query to know where is your schemas:
    Select owner,tablespace_name,sum(bytes/1024/1024) MB from dba_segments group by owner,tablespace_name;
    And to check the location of each tablespace:
    select tablespace_name,file_name from dba_data_files order by 1,2;
    And to check all directories that have some file from the database
    http://heliodias.wordpress.com/2007/10/04/oracle-diretories-list/
    Regards,
    Helio Dias
    http://heliodias.wordpress.com

  • New To Oracle.. Needs Help:: Conversion from SQL Server to Oracle 11g

    I am new to Oracle 11g and badly need the conversion of SQL Server Functions to Oracle.. Sample Pasted Code not working .. end with error.. pls help
    Create Table TempT (ID1 Varchar (10),
    ID2 Varchar (10)
    CREATE OR REPLACE PACKAGE GLOBALPKG
    AS
    TYPE RCT1 IS REF CURSOR;
    TRANCOUNT INTEGER := 0;
    IDENTITY INTEGER;
    END;
    CREATE OR REPLACE FUNCTION fTempT
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT TT.*
    FROM TempT TT
    WHERE (fTempT.i = ''
    OR TT.ID1 = fTempT.i)
    RETURN REFCURSOR;
    END;
    CREATE OR REPLACE FUNCTION fTempTF
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT *
    FROM TABLE(fTempT(i))
    RETURN REFCURSOR;
    END;
    LAST FUNCTION ENDs WITH ERROR
    Error(13,7): PL/SQL: ORA-22905: cannot access rows from a non-nested table item

    2. The major purpose is to get a simplest way to create a parameterized function who can return a table like output. 2nd function has no use instead i was testing the result of First Function like thisIf you just want to select from a select, you should use a view not a function.
    1. which program is more help ful for writing and executing queries bcoz after using Query Analyzer of Microsoft It seems difficult to work on SQL Developer.
    sqlplus? If you are having difficulty learning new tools because of an old one you used, probably best to forget the old one and concentrate on learning the new one because it will be different. This goes for the database itself also.
    2. Can DMLs be used within a Function.Yes, you just can't execute the function in another SQL statement if it modifies data and this is a good thing.
    3. Can temporary tables be used within a function.Unfortunately yes, but they shouldn't be unless you are in a slowest application competition.
    5. Each Function which is a Table Function must be accompanied with Type Definitions?? its a bit longer way of doing the things than SQL ServerThat is why it is better to use views instead, is there any reason you want a select that you can select from inside a function?
    SQL Server for last 9 years thats why i refer this toolThat is not in itself a problem, if you try and do what you did in SQLServer in Oracle, that will be a problem though.

  • I am new to Oracle Hyperion Sytem 9.3 -Planning

    Hi,
    I have experience on Hyperion Planning 4.x version. But , I am completely new to Planning in System 9.3
    What are differences between Classic application and enterprise performance management architect application? when will we go for diffrent options?
    Please provide me key difference. Your help really appreciated.
    Thanks
    KK

    RIYA_JOSEPH wrote:
    i am using windows xp service pack 3  , what you means by "pre-built VM" ? can please tell me in detail since i am new to oracle also i installed oracle 11g from this link
    http://www.oracle.com/technetwork/products/express-edition/downloads/index.html
    so , please guide me step by step and make it simpler for me srini
    VirtualBox VMs for Developers</title><meta name="Title" content="VirtualBox VMs for Developers&q…

  • New to Oracle, Need to connect forms 9i with oraclient 10g schemas n tables

    Hi,
    I am very new to oracle applications and i am not even sure if the terminology i am using is right. I have trained on Oracle SQL/PL and Forms 9i recently and i am trying to create an oracle environment where i can practice.
    I have downloaded the Oraclient 10g and 9i Developer suite. I want to use the forms applications and even do coding for SQL/PL from the forms sql/pl editor.
    I am not able to connect the forms application to the database as it is asking for a username, pswd and a host string. During installation i have not given any id's or passwords.
    can someone help me on how i can start using the existing tables from the oraclient and build forms.
    thanks in advance for the help.

    thanks. i don't know what to read as the course i did was totally on a developer track, i have knowledge of DB only through PL/SQL and i have forms 9i. I understand that one needs to link up the forms to some sort of a database schemas n tables to be able to start working with it's pl/sql editor. and i know i have the database with the oraclient 10g. all i need to know now is how to connect this database to the forms client. cuz everytime i go into the pl/sql editor it is asking of me to provide a user name, password and a host string which i don't know where to get from. please guide

  • Am New To Oracle WorkFlow.

    Hi All,
    m new to oracle workflow,i have no idea about workflow software that should install before practise on my personnel computer.i already install oracle DB 10g,forms 10g,plz told me wut i should install for workflow so i can do practice of workflow.
    plz help me

    Pl see this thread
    WorkFlow Training
    HTH
    Srini

Maybe you are looking for

  • Error when logging to BPM Worklist

    Hi! When trying to login to the bpm workspace (http://localhost:7001/integration/worklistapp/), of course Oracle BPM 11g, few seconds after clicking the button "Conectar"(Connect in English I guess) it shows a message with the text: java.rmi.ServerEr

  • How do I downgrade to V. 18?

    I updated both Folio Builder and folio producer tools and now I have the Content viewer problem. How do I downgrade to V. 18? Thanks

  • Movie in Mpeg or AVI format

    Hello, I am a first time user of this forum. I made a small slideshow/movie in iMovie to be shown during an upcoming church service and burned it in iDVD. The fellow responsible for the presentation would like the movie in either Mpeg or AVI format.

  • AIX 6.1 - ECC 5.0 or ECC 6.0

    Hi,   We are currently having our ECC 5.0 running on AIX 5.3/Oracle 10g. We are also in the process of upgrading ECC 5.0 to ECC 6.0. Question: 1. If we go to AIX 6.1 on ECC 5.0 or ECC 6.0 what are the pre and post activities and issues to be aware of

  • Vf03 billing documents output types

    Hi friends, i want to assign output type in vf03 for perticular 'L2-debit memo'. So how can I do this? thanks in advance.