Oracle admin question

Please help me.
I need to revoke user rights for creation packages and stored function in Oracle but in same time user should be able to execute the same package and stored function/procedure.
Thank's a lot.

revoke connect,resource from user_name;
grant create session,create table to user_name;
ALTER USER user_name QUOTA 1 M ON tablespace_name;
grant execute usernaem.procedures to user_name;
You have to connect as sys or system or any other user who has dba previleges to run this.
Note :
"user_name" is the user name which from whom you want to revoke prermission.

Similar Messages

  • Errors in file /u01/app/oracle/admin/bdump/orcl_lgwr_413700.tr

    why i have this error?
    Errors in file /u01/app/oracle/admin/bdump/orcl_lgwr_413700.trc:
    ORA-00321: log 1 of thread 1, cannot update log file header
    ORA-00312: online log 1 thread 1: 'oradata/redo01a.log'
    give solution?

    would you please paste the result here for the following query
    SQL> select a.group#,a.thread#,a.sequence#,a.members,a.status,b.member
      2    from v$log a,v$logfile b
      3   where a.group# = b.group#
      4  /Khurram

  • Need oracle practice question for OCA

    Need oracle practice question for OCA.
    Edited by: 823938 on Dec 27, 2010 10:21 PM

    It's illegal to use dumps.
    Read the following link:
    http://www.certguard.com/braindumps.asp

  • System State dumped to trace file e:\oracle\admin\udump\rbidev_ora_2864.trc

    System State dumped to trace file e:\oracle\admin\udump\rbidev_ora_2864.trc
    What should i do to resolve this issue?
    Database : 10.2.0.2.0
    OS version : Microsoft Windows 2003 Enterprise Server Service Pack 2 ( 32-bit)

    Ankit,
    These errors come from multiple reasons.Most of them areeither due to some bugs which are in Oracle code.Now I am sure you would agree that Oraclewont publish the details of the code so that dbas can do something about the errors.Moreover,just because Oracle wants dbas to work upon these errors and troubleshoot them,oracle has made lookup tools in Metalink specifically so that dbas can look there and work upon these errors.
    You are sayig that Oracle has not published error information.There is so much about working of Oracle which we don't know and chances are very less that will ever come to know.
    Just my 2 cents to make the point clear.
    Aman....

  • Oracle CPU question with 11.5.10 CU2

    Just a general question. First time trying to apply an Oracle CPU and in this case applying the July 2010 CPU to our Test E-biz 11.5.10 CU2 RUP7 install.
    My configuration is RH Linux ES 4.8 with a 10.2.0.4 database server running admin, db and CCM services and then an app server running forms and web services.
    I'm referring to "Oracle E-Business Suite Releases 11i and 12 Critical Patch Update Knowledge Document (July 2010) [ID 986534.1]" and then the subsequent articles that follow that.
    My questions are:
    Q1. My database level is currently 10.2.0.4. It would appear my steps are first update Opatch (no problem there).
    Then apply 9032412.
    Then it looks like I apply either CPU Patch 9655017, or PSU Patch 9654991.
    But PSU 9654991 REQUIRES PRE-REQUISITE 10.2.0.4.4 so I can't apply that right?
    I will apply 9655017 instead and will that get me to 10.2.0.4.5?
    Q2. My configuration is DB Tier with CCM and an app Tier running forms, reports as mentioned.
    Do I have to worry about the Fusion Middle-ware stuff?
    Q3. Patches to apply to E-Business Suite.
    Looks like 9578142 applies to my environment.
    Check the pre-reqs to ensure I have anything that needs to be applied first.
    Then depending on what modules we use or have installed (does it make a difference) I'll apply subsequent patches say for 'Financials'.
    Q3. Anything else I need to consider? We are patching Test first and when done if it's all good we'll schedule Prod.
    I realize this is a pretty generic question. My main uncertainty is on the db 10.2.0.4 patch and if the 965517 will get me to 102045 or not.
    Update - My first patch is giving me the OUI-67620 superset error which I believe is telling me the new patch contains all the fixes from the existing patch so ok to proceed. Right?
    ApplySession adding interim patch '9032412' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 9032412 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 9032412 are present in Oracle Home.
    The local system has been patched and can be restarted.
    The following warnings have occurred during OPatch execution:
    1) OUI-67620:Interim patch 9032412 is a superset of the patch(es) [  6600051 ] in the Oracle Home
    OPatch Session completed with warnings.
    OPatch completed with warnings.
    Edited by: user6445925 on Sep 23, 2010 3:31 PM

    Hi,
    Q1. My database level is currently 10.2.0.4. It would appear my steps are first update Opatch (no problem there).
    Then apply 9032412.
    Then it looks like I apply either CPU Patch 9655017, or PSU Patch 9654991.
    But PSU 9654991 REQUIRES PRE-REQUISITE 10.2.0.4.4 so I can't apply that right?You can apply this patch -- In the download page, select the patch for 10.2.0.4 database.
    I will apply 9655017 instead and will that get me to 10.2.0.4.5?This is a CPU patch and it will not move you to 10.2.0.4.5 -- Apply either PSU or CPU
    Can E-Business Users Apply Database Patch Set Updates?
    http://blogs.oracle.com/stevenChan/2009/08/can_ebs_users_apply_database_patch_set_updates.html
    Q2. My configuration is DB Tier with CCM and an app Tier running forms, reports as mentioned.
    Do I have to worry about the Fusion Middle-ware stuff?If you do not have Fusion installed, skip the part about its patches.
    Q3. Patches to apply to E-Business Suite.
    Looks like 9578142 applies to my environment.
    Check the pre-reqs to ensure I have anything that needs to be applied first.
    Then depending on what modules we use or have installed (does it make a difference) I'll apply subsequent patches say for 'Financials'.
    Q3. Anything else I need to consider? We are patching Test first and when done if it's all good we'll schedule Prod.Make sure you apply the patches in these docs.
    About Oracle Applications Technology 11i.ATG_PF.H.delta.7 (RUP 7) [ID 783600.1]
    Known Issues On Top of 11i.ATG_PF.H.delta.7 (RUP7) - 6241631 [ID 858801.1]
    I realize this is a pretty generic question. My main uncertainty is on the db 10.2.0.4 patch and if the 965517 will get me to 102045 or not.No (already answered above) -- See these docs.
    Oracle Database Patch Set Update 10.2.0.4.5 Known Issues [ID 1089052.1]
    Changes in the PSU 10.2.0.4.5 release for July 2010 [Video] [ID 1162085.1]
    Critical Patch Update July 2010 Patch Availability Document for Oracle Products [ID 1089044.1]
    Update - My first patch is giving me the OUI-67620 superset error which I believe is telling me the new patch contains all the fixes from the existing patch so ok to proceed. Right?
    ApplySession adding interim patch '9032412' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 9032412 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 9032412 are present in Oracle Home.
    The local system has been patched and can be restarted.
    The following warnings have occurred during OPatch execution:
    1) OUI-67620:Interim patch 9032412 is a superset of the patch(es) [  6600051 ] in the Oracle Home
    OPatch Session completed with warnings.
    OPatch completed with warnings.See (WARNING MESSAGE "OUI-67078" and "OUI-67620" FROM OPATCH WHEN APPLYING 10.2.X PATCHES [ID 553244.1]). If opatch complete with code = 0 then you can ignore this warning.
    Thanks,
    Hussein

  • Oracle OS Question: SolarisX86 or RH Linux?

    I could pose this question on either RH or Sun site, but I am unsure whether or not I would get an unbiased answer.
    I have a choice of running RH or SolarisX86 with Oracle (Sparc is not debatable - Vendor Relationship issue)
    I am interested in hearing from DBAs who handle/maintain/administer large DB/mission critical/hi-volume transactions and what your comfort level would be with respect to Oracle/Solaris X86 vs Oracle/Linux in the area of
    1. OS patch maintenance/sys admin (drivers, kernels, etc..)
    2. OS compatibilities (hardware drivers)
    3. Oracle performance on each OS
    4. OS specific issues (both pros and cons) (related to Oracle only please)
    5 Commercial Support Programs (Sun or RH) : cost/ responsiveness etc..
    6. and lastly, if you were in this seat, would you bet your job on Solaris86 or RH Linux?
    Thanks in advance.
    PS: Please keep Sparc vs. X86 off this thread.

    You should not only consider using RH,but also Enterprise Linux Ref. http://www.oracle.com/technology/tech/linux/index.html.
    RedHat is a very good Operating system, but I would not consider it to be ready for mission critical systems. Ref. http://www.ecommercetimes.com/story/31586.html, http://weblog.infoworld.com/dickerson/000691.html, http://searchopensource.techtarget.com/originalContent/0,289142,sid39_gci1068311,00.html

  • Unix admin question - file system is filling up

    Oracle 9.2.0.1.0
    UNIX AIX 5.2
    The oracli3 filesystem was hitting the upper 90%s and I informaed the DBA. Learning from him is just leaning over his shoulder scribbling down as much as I can see while he thrashes through it.
    I gleaned some things today that I wanted to check with tthe UNIX pros out there.
    As I explained, that particular filesystem was filling up, and so he made some searches, first in the /patches directory. There were not too many there (in size), so he next went to /oracli1/oracle/iAS and did a search for logs like this:
    sudo find . -name '*.log' -ls
    He found one huge log file, and so had me do the cat /dev/null > command to send it to the black hole.
    My question is this - when I next see that we are filling up as it were, should I automatically look for logs? Are they the culprits some of the time? Can offending logs be dealt with in this way (cat /dev/null >) ?
    Is there something else I should be looking for ? (The oracli3 is now at 93% so I think we still have things to look at)
    Many thanks.
    DA
    Sorry - one other thing - when I use the
    find . -name '*.log' -ls command, how can I change it so that the output is more like that of the "more" suffix? The problem is that I would like to scroll through the output of .log files that this command throws back at me.
    Message was edited by:
    Dan A

    It all depends.
    When you assume there's nothing useful in those log files, you hire an Unix admin with zero knowledge of Oracle and have hem wipe those files away, 'because the file system fills up'. In the past we had similar administrators throwing away archived redo log files for exactly the same reason.
    YOU on the other hand should set up proper administration procedures to move them away, tar them, and compress the tar file, so they take less space. After another 30 days you throw away the compressed tars.
    What you have now is a very unprofessional method to 'administrate' a server.
    Actually you are not administrating it all, because when disaster strikes, or disaster stroke in the past, and you need to explain and find out what happened and especially WHY, you will be yelling at the Unix 'admin' because he just has thrown away all log files, 'because the disk was getting full'
    As to the second question:
    There are a few fundamental concepts in Unix
    1 ALL output can be redirected using > < and |, The latter symbol is called the pipe symbol and feeds the output into a filter. The filter is a command which reads the output from a previous command and processes. More, pg, and sort are filters, even sqlplus can be a filter
    2 NO special switches should be implemented in any command if you can accomplish it using redirection or filters. So you won't find
    TYPE/PAGE (VMS, Dos), but you will find cat <filename> | more
    So the answer is you need to add | more to the command line
    find . -name '*.log' -ls | more
    You would also be advised to try to follow an Unix course, as your question is very fundamental. Alternatively buy the book Classic Shell scripting
    Sybrand Bakker
    Senior Oracle DBA

  • Need help with ORACLE ADMIN, NETWORKING CONCEPTS and SQL, ASAP!

    Hey everyone. Basically my major is going to be computer science, however I haven't started the course yet. However I got a job offering to the position as a SEO. A friend told me as long as I can answer the questions, the job will be no problem, I mainly just google oracle commands to put in all day. So I'm really needing someone who knows about this stuff, that could help me with some of these questions. If you can help, and have the time, my skype ID is drakkarnc
    I greatly appreciate this, thank you. :)

    841784 wrote:
    Hey everyone. Basically my major is going to be computer science, however I haven't started the course yet. However I got a job offering to the position as a SEO. What is "SEO"?
    A friend told me as long as I can answer the questions, the job will be no problem, I mainly just google oracle commands to put in all day. So I'm really needing someone who knows about this stuff, that could help me with some of these questions. If you can help, and have the time, my skype ID is drakkarnc
    I greatly appreciate this, thank you. :)YOu think you can learn this stuff in a few days? Think again.
    Re: What to learn first for DBA/DEV?

  • Multiple Oracle Configuration Question

    We have a typical environment setup. I will explain it below:
    Our application works in Online and Offline Mode. For Online mode we connect to Oracle 10g enterprise server and a Local instance of Access and In offline application totally works in Access.
    Now we want to move away from Access and have Oracle PE instead just because we want to use stored procedure and same set of code for offline and online processing.
    So a typical user machine will have a PE instance and a Oracle Client. Currently we use LDAP.ora for Configuring connections. Now i have few questions
    1. How do we ensure that Oracle PE will work when we don't have network connection. Can we have like PE setup with Tnsnames.ORA
    2. What can be the smallest possible package for PE.
    3. Can I use one client to access both PE and Server databases.
    Any help will be highly appreciated.
    Thanks in advance.

    Assuming the "Xcopy installation" refers to using the Windows xcopy command, can you clarify what, exactly, you are installing via xcopy? Are you just using xcopy to copy the ODP.Net bits? Or are you trying to install the Oracle client via that approach?
    If you are concerned about support, you would generally want to install everything via the Oracle Universal Installer (barring those very occasional components that don't use the OUI). Oracle generally only supports software installed via the installer because particularly on Windows, there are a number of registry entries that need to get created.
    You can certainly do a custom install of the personal edition on the end user machines. There are a few required components that I believe have to be installed (that the installer will take care of). I assume your customization will take the form of a response file to the OUI in order to do a silent install?
    Justin

  • Oracle RAC Question

    Question about oracle rac. lets say we have a 3 node RAC database and our tnsnames.ora file is configured to point to node 1. If an application is connected to the database using the database connection information that is on the tnsnames.ora file (pointing to node1), and node 1 is down, how does the application know to point to node 2 or node 3 to connect to the database?

    If you didn't configure node2 and node3 as failover nodes, only the currently connected sessions would failover by the other nodes.
    New connections are no longer possible.
    Sybrand Bakker
    Senior Oracle DBA
    Oracle is not about rocket science. It is about being able and willing to read documentation.

  • Connecting to an oracle database questions

    <p>Our current solution to connecting to our oracle database uses the following code:</p><p>    ReportClientDocument clientDoc = new ReportClientDocument;</p><p>    java.sql.ResultSet rs =  fetchResultSet(driverName, connectStr, userName, password, <u>query</u>);</p><p>    clientDoc.getDatabaseController().setDataSource(rs, <u>tableName</u>,tableName+"_ResultSet"); </p><p>The code for subreports is very similar, but isn&#39;t necessary for my question. The problem w/ this approach is we have to define the SQL query and the table name in the JSP, which we shouldn&#39;t have to do considering both of these are stored in the report. Any changes to the reports&#39; sql would then require someone to edit the jsp, which is just bad.  </p><p>I have been reading up on the ConnectionInfo and ConnectionInfos classes (nice naming convention btw) and the CrystalReportViewer.setDataBaseLogonInfos() method, and I believe a solution may lie here. The problem is the tutorials on using the ConnectionInfo class assume the database name is stored in the report, and we do not want to assume this. We are developing our reports to be used by our customers, who may name their database whatever they want so long as the tables inside it are what we specify. Because of this assumption, I have yet to find a good explanation of how to use the setAttributes(PropertyBag) method which is the only I have seen to specify the database name (within a connection string). I have examples of it, but nothing that defines the key/value pairs required in the PropertyBag to create a connection to an oracle database. </p><p>Is there some documentation on the key/value pairs needed by the PropertyBag? Also, if there is another (easier) solution I am overlooking then please let me know, thanks.</p><p>-Sam Morehouse</p><p>HBF Group, Inc </p><p> </p>

    <p>got it working, here&#39;s some sample code.  </p><p> </p><p><%<br />    try{<br />        ReportClientDocument clientDoc = new ReportClientDocument();<br />        clientDoc.open(reportName, 0);<br />    <br />        ConnectionInfos connInfos = new ConnectionInfos();<br />        IConnectionInfo iConnInfo = new ConnectionInfo();<br /><br />        PropertyBag bag = new PropertyBag();<br />        bag.put("Database Class Name",driverName);    // "oracle.jdbc.driver.OracleDriver"<br />        bag.put("Connection URL",connectStr);        // "jdbc:oracle:thin:@dbName:1521:sid"<br />                            <br />        PropertyBag pb = new PropertyBag();<br />        pb.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES ,bag);<br />        pb.put(PropertyBagHelper.CONNINFO_DATABASE_DLL ,"crdb_jdbc.dll");<br />        iConnInfo.setAttributes(bag);<br />        <br />        iConnInfo.setUserName(userName);<br />        iConnInfo.setPassword(password); <br />                <br />        iConnInfo.setAttributes(pb);<br />            <br />        connInfos.add(iConnInfo);<br />        session.setAttribute(reportName, clientDoc);<br />        session.setAttribute("reportSource", clientDoc.getReportSource());<br /><br />        //Setup viewer. Only going to include the relevant line, the rest can be found</p><p>        //elsewhere.<br /></p><p>        CrystalReportViewer oCrystalReportViewer = new CrystalReportViewer();                   oCrystalReportViewer.setDatabaseLogonInfos(connInfos);                                      }    </p><p>catch(ReportSDKExceptionBase exc)%></p>

  • Oracle Multitenant Questions

    Hi,
    I'm studying about Oracle Multitenant and I'm hoping anyone can help me.
    We have a 86 TB database, with no compression and we're struggling to backup this database.
    So, here is what we thought.
    Compress the whole database (since it's only inserted data on the database, no updates at all) on the current version - 11.2.0.3. We're hoping to compress at a ratio of 60%, so, it would be at 36 TB, but still a huge database to backup and recover.
    The next step would be migrate to 12c and setup Oracle Multitenant and divide this database into 5 instances (we can do it, because the database is divided in several mobile technologies). Let's suppose this division is equal, so, it would be around 6 TB each database, so, it would be manageable.
    Questions:
    - Do you think we could benefit using Oracle Multitenant?
    - This would be transparent to the application? No major changes?
    - How the backup would work? Can we backup each plugable database and restore it individually?
    Thanks in advance

    We have a 86 TB database, with no compression and we're struggling to backup this database.
    Ok - so give us information about the DB:
    1. How is it used
    2. Is it partitioned?
    3. How is it being backed up now? Are you doing complete backups or incremental ones?
    We need details - not just a statement that you are 'struggling'.
    Compress the whole database (since it's only inserted data on the database, no updates at all) on the current version - 11.2.0.3. We're hoping to compress at a ratio of 60%, so, it would be at 36 TB, but still a huge database to backup and recover.
    We need details:
    1. How is data being inserted?
    2. One row at a time by multiple users?
    3. Bulk inserts once a day?
    Less data means there is less to backup. But incremental backups don't backup the entire database anyway so we still need to know HOW the DB is being backed up now: how often and what kind of backups.
    You do NOT need to keep backing up old data that has NOT changed. Are you doing that? If so, why?
    The simplest solution to solve a 'database too big to backup' problem is to change the architecture so you don't have to keep backing up data that has NOT changed. Oracle's incremental backups already do that so maybe you are NOT using them.
    The next step would be migrate to 12c and setup Oracle Multitenant and divide this database into 5 instances (we can do it, because the database is divided in several mobile technologies). Let's suppose this division is equal, so, it would be around 6 TB each database, so, it would be manageable.
    I disagree - the NEXT STEP should be to find the cause of your performance issue.
    Based ONLY on what you posted the most likely problem is the types and frequency of the backups you are taking.
    Have you licensed the partitioning option? If so you can just put each of those 'mobile technologies' into its own partition.
    Again - how is data being inserted? If the new data is based on a value (e.g. a date) that distinguishes it from old data you can EASILY just put the newly inserted data into its own new partijtion by using a DAILY partitioned table.
    Then you don't need to backup the old data at all. And each day you would only back up ONE partition for the previous days data.
    That would be be EASIEST and MOST PERFORMANT solution to your problem.
    Questions:
    - Do you think we could benefit using Oracle Multitenant?
    - This would be transparent to the application? No major changes?
    - How the backup would work? Can we backup each plugable database and restore it individually?
    #1 - impossible to say until you provide the DETAILS ask for above about
    1. HOW you are performing the backups now,
    2. HOW often the data changes
    3. HOW the data changes (e.g. new data for today that distiguishes today's data from yesterday's data)
    4. Why you are performing the backups the way you are
    Multitenant isn't going to help if your data loads and architecture are such that you now have FIVE DBs to backup and they all need to be backed-up/restored together
    #2 - No - multitenant is NOT 'transparent'. You will now have FIVE DBs with data in FIVE places. Your current app is written to use ONE DB. The changes could be minor or could be MAJOR.. Querying data across database links is NOT as efficient as querying data that resides on the same server.
    On the other hand if a typical query only queries data from ONE of those five areas then you might get some significant performance improvements.
    But you might get those same improvements simply by properly partitioning the data or using better indexes.
    #3 - yes - you can backup and restore the PDBs individually. They are separate databases. However there is only ONE set of REDO log files. Those redo logs will contain changes from ALL of the PDBs,
    Also there is only ONE SET of memory management to be done. In multitenant memory is managed for the entire multitenant DB.
    There can be a steep learning curve to learn how to do that properly.
    Multitenant is NOT a magic solution for partitioning data - that is what partitioning is for.
    I suggest you find, and fix, you backup/performance/architecture issues with your current DB. If you need help doing that repost your question (and provide the DETAIL needed) in the General DB forum, the SQL and PL./SQL forum or the Backup/Recovery forums as appropriate..
    General Database Discussions
    PL/SQL
    Recovery Manager (RMAN)

  • Oracle 11i questions

    I had a few questions and would appreciate any help
    A.Is there a Document Warehousing feature/module available within the Oracle CRM suite that can link to various documents ( eg word, ppt etc ) for viewing and changing the data?
    B. Is there a link available to data stored in Lotus Notes database and accessible with the CRM application? Also can we relate data in a specific field to Lotus Notes information eg. Employee name to an Org Chart
    C.Is the interest classification with primary and secondary groups that was available in earlier versions still available in 11i to track clients contact preferences, sectors etc?
    D.Capability to integrate with Data from a SQL Server system that would track
    transactions and have a view from the CRM Sales application?
    Thanks you
    null

    A. In CRM Foundation their is a module called MES (Marketing Encyclopedia System) is a storehouse for Marketing collateral. Not all aplications expose this functionality in the UI but it comes with any CRM app anyway. In addition there are various functions for attachmnets scattered through the apps.
    B. No direct link to Notes per se. However, CRM Foundation has various public API's that might be used to load the information into CRM 11i tables.
    C. I think so but not 100% sure.

  • Oracle + Unix question , Error validation for SQL statements in co process

    Hi,
    If I use co process in a shell script , what is the best way to do the error validation of the execution of any sql statements . I was trying to change the following code to make use of co process concept. When I tried echo $? after the execution of a "wrong statements"
    it is still giving Zero output ( meaning success)
    <<<<<<<<<<<<<<<<<<<<<<<<<<<
    cat ${CFG_DIR}/srs_indx.lst | egrep -v '^#' | egrep -v '^[    ]*$' | while read x
    do
    echo " Processing values :: pre $pre tbl $tbl indx $indx tblspc $tblspc cols $cols param $param" >> ${LOGS_DIR}/srs_indx.log
    sqlplus ${BIZSTG} << EOT >> ${LOGS_DIR}/srs_indx.log
    set verify on timing on term on echo on feedback on serveroutput on
    WHENEVER SQLERROR CONTINUE
    drop index $indx;
    WHENEVER SQLERROR EXIT FAILURE
    alter session set query_rewrite_enabled = true;
    create $pre index $indx on $tbl ($cols)
    tablespace $tblspc
    $param;
    exit
    EOT
    RC=$?
    if ( test $RC -ne 0 )
    then
         ERR_MSG="ERROR in creating index $indx for table $tbl from srs_indx.ksh of $ENVIR : $APP by `whoami`@`hostname` on `date` "
         echo $ERR_MSG >> ${LOGS_DIR}/srs_indx.log
         process_warning ${LOGS_DIR}/srs_indx.log
         exitstat=1
    else
         echo "$indx created at `date`" >> ${LOGS_DIR}/srs_indx.log
    fi
    done
    >>>>>>>>>>>>>>>>>>>>
    Any help will be appreciated .
    with thanks and regards
    Ranjeesh K R

    Hi,
    Thanks for the response, I guess people misunderstood my question .
    My question was about "error handling in case of CO PROCESS". For those who don't know about this, in case CO PROCESS you just need to login once to Oracle. In my above code It is logging in & out for each entry in the list. CO process statements may look Similar to SQL statements in pro*C. In PRO*C we use EXEC, but here print -p statements..
    a sample is given for those who are new to co process.
    sqlplus -s /nolog |& # Open a pipe to SQL*Plus
    print -p -- 'connect user/password@instance'
    print -p -- 'set feed off pause off pages 0 head off veri off line 500'
    print -p -- 'set term off time off'
    print -p -- "set sqlprompt ''"
    print -p -- "select sysdate from dual;"
    read -p SYSDATE
    print -p -- "select user from dual;"
    read -p USER
    print -p -- "select global_name from global_name;"
    read -p GLOBAL_NAME
    print -p -- exit
    echo SYSDATE: $SYSDATE
    echo USER: $USER
    echo GLOBAL_NAME: $GLOBAL_NAME
    But I got stuck during error handling of these SQL statements, especially the $? / $* returns 0 even after an erroneus execution.
    Regards

  • My apologies in advance for Oracle 7 question

    Let me thank you all in advance for your help. I am running Oracle 7.34 on Unix. I keep finding the temp tablespace 99.86% filled. How can I find out who is filling up the Temp tablespace.
    Thanks

    Are you running with the tablespace as "Temporary" ?
    Are you seeing errors in the alert log re: processes failing because of temp space ?
    If yes and no there may not be a problem. Oracle will allocate and manage based on need. It does NOT return the space (to free), but will reuse it.
    Otherwise, I was never able to get a good answer to the question myself.
    Ken

Maybe you are looking for