NEW FEATURE:AUTOTRACE IN SQL*PLUS 3.3(EXECUTION PLAN)

제품 : SQL*PLUS
작성날짜 : 2003-10-07
NEW FEATURE:AUTOTRACE IN SQL*PLUS 3.3
======================================
Autotrace는 SQL*Plus 3.3부터 지원하는 New feature로서 기존에는 init.ora에
SQL_TRACE=TRUE를 setting 후 얻어진 trace file을 TKPROF란 utility를
이용하여 SQL 문의 수행 경로, 각종 통계 정보를 얻었다.
그러나, SQL*Plus 3.3부터는 이것을 간단히 처리할 수 있는 방법을 제공한다.
1. SQL*Plus를 실행하여 scott user로 접속한 후, plan table을 생성한다.
#sqlplus scott/tiger
SQL>@$ORACLE_HOME/rdbms/admin/utlxplan
2. 다음에 sys user에서 PLUSTRACE란 ROLE을 만든다.
SVRMGR>connect internal;
SVRMGR>create role plustrace;
SVRMGR>grant select on v_$sesstat to plustrace;
SVRMGR>grant select on v_$statname to plustrace;
SVRMGR>grant select on v_$session to plustrace;
SVRMGR>grant plustrace to dba with admin option;
SVRMGR>grant plustrace to scott;
비고) 위의 grant 문은 client에 SQL*Plus 3.3이 install되어 있는 경우
C:ORAWIN95\PLUS33\PLUSTRCE.SQL이라는 script에 기록되어 있다.
다음과 같이 실행해 주면 된다.
1> connect sys/manager
2> @$ORACLE_HOME/sqlplus/admin/plustrce.sql
3> grant plustrace to scott;
3. 다음에는 scott user로 connect하여 작업한다.
#sqlplus scott/tiger
SQL>set autotrace on
SQL>select * from emp;
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE
1 0 TABLE ACCESS (FULL) OF 'EMP'
Statistics
389 recursive calls
5 db block gets
53 consistent gets
12 physical reads
0 redo size
1049 bytes sent via SQL*Net to client
239 bytes received via SQL*Net from client
4 SQL*Net round-trips to/from client
0 sorts (memory)
0 sorts (disk)
13 rows processed
4. 참고로 set autotrace에는 여러가지 option을 부여해 작업할 수도 있다.
예)set autotrace on => Explain plan and statistics.
set autotrace on explain => Explain plan only.
set autotrace traceonly => select된 결과는 빼고 trace만 display
시킴.
set autotrace on statistics=> sql statement execution statistics.
5. 서버 버젼과 상관없다.
Server가 7.2 version 이하일지라도 clinet에 SQL*Plus 3.3이 install되어
있으면 client에서 sqlplus 3.3을 구동시켜 server에 접속하여 위와 같이
작업하면 무리없이 작업이 가능하다.
Reference Documents
<Note:43214.1>

Hi Roman,
I don't have an Oracle 9.2 database readily available, but it works fine on 10g XE. Please note 3.1 is not certified with 9i:
http://www.oracle.com/technetwork/developer-tools/sql-developer/certification-096745.html
Regards,
Gary
SQL Developer Team

Similar Messages

  • Partitioned views in SQL 2014 have incorrect execution plans

    I've been using partitioned views in the past
    and used the check constraint in the source tables to make sure the only the table with the condition in the where clause on the view was used. In SQL Server 2012 this was working just fine (I had to do some tricks to suppress parameter sniffing, but it was
    working correct after doing that). Now I've been installing SQL Server 2014 Developer and used exactly the same logic and in the actual query plan it is still using the other tables. I've tried the following things to avoid this:
    - OPTION (RECOMPILE)
    - Using dynamic SQL to pass the parameter values as a static string.
    - Set the lazy schema validation option to true on the linked servers
    To explain wat I'm doing is this:
    1. I have 3 servers with the same source tables, the only difference in the tables is one column with the server name.
    2. I've created a CHECK CONSTRAINT on the server name column on each server.
    3. On one of the three server (in my case server 3) I've setup linked server connections to Server 1 and 2.
    4. On Server 3 I've created a partioned view that is build up like this:
    SELECT * FROM [server1].[database].[dbo].[table]
    UNION ALL SELECT * FROM [server2].[database].[dbo].[table]
    UNION ALL SELECT * FROM [server3].[database].[dbo].[table]
    5. To query the partioned view I use a query like this:
    SELECT *
    FROM [database].[dbo].[partioned_view_name]
    WHERE [server_name] = 'Server2'
    Now when I look at the execution plan on the 2014 environment it is still using all the servers instead of just Server2 like it should be. The strange thing is that SQL 2008 and 2012 are working just fine but 2014 seems not to use the correct plan. Maybe I
    forgot something, or something is changed in 2014 and a new approach is needed but I'm a little stuck here. 
    Did someone experience the same thing and if so, how did you fix this? 

    Hi Jos,
    Glad to hear that you have found a solution for your problem. Thank you for your sharing which will help other forum members who have the similar issue.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SQL Query C# Using Execution Plan Cache Without SP

    I have a situation where i am executing an SQL query thru c# code. I cannot use a stored procedure because the database is hosted by another company and i'm not allowed to create any new procedures. If i run my query on the sql mgmt studio the first time
    is approx 3 secs then every query after that is instant. My query is looking for date ranges and accounts. So if i loop thru accounts each one takes approx 3 secs in my code. If i close the program and run it again the accounts that originally took 3 secs
    now are instant in my code. So my conclusion was that it is using an execution plan that is cached. I cannot find how to make the execution plan run on non-stored procedure code. I have created a sqlcommand object with my queary and 3 params. I loop thru each
    one keeping the same command object and only changing the 3 params. It seems that each version with the different params are getting cached in the execution plans so they are now fast for that particular query. My question is how can i get sql to not do this
    by either loading the execution plan or by making sql think that my query is the same execution plan as the previous? I have found multiple questions on this that pertain to stored procedures but nothing i can find with direct text query code.
    Bob;
     

    I did the query running different accounts and different dates with instant results AFTER the very first query that took the expected 3 secs. I changed all 3 fields that i've got code for parameters for and it still remains instant in the mgmt studio but
    still remains slow in my code. I'm providing a sample of the base query i'm using.
    select i.Field1, i.Field2, 
    d.Field3  'Field3',
    ip.Field4 'Field4', 
    k.Field5 'Field5'
    from SampleDataTable1 i, 
    SampleDataTable2 k, 
    SampleDataTable3 ip,
    SampleDataTable4 d 
    where i.Field1 = k.Field1 and i.Field4 = ip.Field4 
    i.FieldDate between '<fromdate>' and  '<thrudate>' 
    and k.Field6 = <Account>
    Obviously the field names have been altered because the database is not mine but other then the actual names it is accurate. It works it just takes too long in code as described in the initial post. 
    My params setup during the init for the connection and the command.
    sqlCmd.Parameters.Add("@FromDate", SqlDbType.DateTime);
            sqlCmd.Parameters.Add("@ThruDate", SqlDbType.DateTime);
            sqlCmd.Parameters.Add("@Account", SqlDbType.Decimal);
    Each loop thru the code changes these 3 fields.
        sqlCommand.Parameters["@FromDate"].Value = dtFrom;
        sqlCommand.Parameters["@ThruDate"].Value = dtThru;
        sqlCommand.Parameters["@Account"].Value = sAccountNumber;
    SqlDataReader reader = sqlCommand.ExecuteReader();
            while (reader.Read())
                reader.Close();
    One thing i have noticed is that the account field is decimal(20,0) and by default the init i'm using defaults to decimal(10) so i'm going to change the init to 
       sqlCmd.Parameters["@Account"].Precision = 20;
       sqlCmd.Parameters["@Account"].Scale = 0;
    I don't believe this would change anything but at this point i'm ready to try anything to get the query running faster. 
    Bob;

  • Newer version of SQL*Plus for Linux

    Is there a newer, more featured version of SQL*Plus for Linux than 8.1.6.0.0? Where would I get it?
    Thanks.

    I have problems installing the oracle 8i client.
    i ordered the oracle servers 8i CD kit for linux .am using the standard edition to install the client.
    but am facing problems.
    the net8 configuration fails.
    what can i do?
    which CD should i look at?
    what do i need to install a client.?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Boris Mironov ([email protected]):
    Hello,
    I had some problem (mixed OS environment). I solved it by ordering Linux version from Oracle. Oracle send me Linux CD Pack (All software for Linux) with free license for SQL-client only. It means that I have no licenses for products (eg. Oracle8i EE, Oracle8i SE, WebDB, ...). Anyway, I have access to my DB-server from my Linux box and I do not need to pay extra money for licensing because we have enough user licenses for our server.
    Good luck,
    Boris<HR></BLOCKQUOTE>
    null

  • PL/SQL New Features for Oracle 10g

    Hi,
    If anybody asks what are the new features in PL/SQL for Oracle 10g version, what would be the answer?
    Thanks,
    Mrinmoy

    user3001930 wrote:
    Hi,
    If anybody asks what are the new features in PL/SQL for Oracle 10g version, what would be the answer?
    Thanks,
    MrinmoyI would say: Who cares about 10g features nowadays. And they I would tell them about the new 11g features (that I remember).

  • Can I use username = system when I log into SQL plus?

    I am new to Oracle and SQL plus and I have some questions to ask?
    I managed to get SQLPlus working using  sqlplus system/password
    When I installed Oracle I created a database called ORCL and set a  password.  My question is when I am using SQL Plus is it OK
    to use username= system.  The problem is that I created 3 tables in this database but when I list the tables I get about 181 tables returned.
    It seems that I have  logged into the master database.
    In fact I just used the password I set when I  installed Oracle (not the @asi past)
    from:
    http://docs.oracle.com/cd/E13212_01/wles/docs42/installadmin/database.html
    Configuring an Oracle Policy Database
    To configure an Oracle policy database, you must create the policy database, create a security role and a user, and grant the security role and user access.
    To configure a policy database, perform the following steps:
    Open a command window, run the Oracle SQLPlus utility, and login as user SYSTEM with the password you set for that user account when you installed the Oracle database software.
    sqlplus system/password@asi
    where: password is the password you set for the system account when you installed the database software and asi is the database instance name.
    The name of the database I set up when I installed Oracle was ORCL.
    I can set up a data source using WebLogic Server Administration Console using  the following data:
    Database name:             ORCL
    Host name:                      localhost
    Port:                                 1521
    Database USer Name:   System
    Password:                        the password I set when I installed Oracle
    This is different form the book I am using where the writer used the database name XE as in the following:
    Database name:             XE
    Host name:                      localhost
    Port:                                 1521
    Database USer Name:   OE
    Password:                        .......
    Confirm Password:        .......
    Anyways I managed to create some tables  using SQL script.  I assume these are in the ORCL database. 
    SELECT TABLE_NAME FROM USER_TABLES  will list all the tables in the database.
    Apparently there are a lot more tables in this database (181 tables) than I thought.  I have only created  3 tables.
    Article
    Section
    Edition
    Is this how it should be?
    Also I am trying to create another table Catalog  but SQLPlus is not allowing me to do this!
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    Next I create an EJB project using Eclipse (Oracle Enterprise Pack for Eclipse).   Then
    I add a JPA (Java Persistence API) project facet.  In this I  specify the following:
    SID:                         ORCL
    Host:                       localhost
    Port Number:       1521
    User name:            System
    Password:               The password I set when I installed Oracle.
    Here there is a GUI called Select tables which gives a list of tables I assume the same list of table
    I had listed in DOS however there appears to be more tables here. 
    Anyways,  I am just wondering am I on the correct path and would this Database I am using be the
    ORCL database.  Would all these tables be tables that are in the ORCL database?
    Thank you in advance for your help.
    Brian.

    Hi Shannon,
    Thanks for visiting Apple Support Communities.
    You can sign in to another iTunes Store account on your Nan's iPad by following the steps in this article:
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Best,
    Jeremy

  • Control-C in SQL*Plus on Windows

    Hi,
    I use the "command-line-looking" sqlplus.exe (not sqplplusw.exe) Client version 10.2.0.1.0 on my Win-XP PC.
    An annoying "feature" of this SQL*Plus, is that it closes when I press ctrl-c.
    For example, when a multiple-lines output is running in the window and I want to stop it (there is no "Cancel" button in this SQL*Plus),
    I have to be carefull not to press ctrl-c too many times.
    Or when I start an Anonymous PL/SQL block - I have no way to end editing without executing it, but to enter some nonsense text and execute to failure.
    Anyone knows how to avoid the window closure, or perform these 2 actions without using control-c ?
    Thanks a lot,
    S.

    instead of starting sqlplus.exe, start a CMD window, and then start sqlplus. if you ctrl-c too many times (or if it registers after the last of the output has been displayed) it will close the sqlplus executable. if you start in a cmd window, and sqlplus.exe closes, you're back to the cmd prompt, and all of you previous output/sql is still there.
    make a shortcut for sqlplus, and for it's "target", use the following:
    cmd.exe /k sqlplus

  • Different execution plan in ApEx and SQL/PLUS

    Hi
    I have weird problem with sql query exectuion plans.
    DB version: 10.2.0.1
    ApEx version: 3.1.2
    I have workspace parsed as SCHEMA1.
    I have a view under different schema - SCHEMA2.view1 and a function SCHEMA2.func1.
    I have a query like SELECT * from SCHEMA2.view1 WHERE col1 = SCHEMA2.func1(:bind1)
    "col1" is a indexed column.
    When I execute this query in SQL/PLUS under user SCHEMA1 with the same bind value, then index is used perfectly.
    When I execute this query in ApEx report then index is not used, full scan is performed and hash join is done between the tables used in the view and explain plan shows that a view is formed during execution.
    What can be the reason for such a different behaviour.
    Statistics are freshly calculated, FIRST_ROWS hint doesn't help, using the INDEX hint results only index full scan.
    This happens only if I use a view and pl/sql function together in the query. If I use view with Oracle built in function like NVL instead then it works perfectly. Also when I access directly the same tabels with the same PL/SQL function then the execution plan is perfect. Only if the view and pl/sql function is used together in the query then execution plan is bad.
    It is not a problem of this specific query but, many different other queries with same pattern also. I have tried ApEx versions 3.0, 3.1.1 and 3.1.2.
    At the same time the exectuion plan is good in SQL/PLUS and TOAD.
    Any ideas?
    Best regards,
    jan

    I didn't help. But I rewrote the queries so that there is no database view and PL/SQL function used in the same query. I still don't know the reason for such different behavior, but I just try to accept it and keep in mind for future :)
    Thanks anyway!
    jan

  • Multiple Executions Plans for the same SQL statement

    Dear experts,
    awrsqrpt.sql is showing multiple executions plans for a single SQL statement. How is it possible that one SQL statement will have multiple Executions Plans within the same AWR report.
    Below is the awrsqrpt's output for your reference.
    WORKLOAD REPOSITORY SQL Report
    Snapshot Period Summary
    DB Name         DB Id    Instance     Inst Num Release     RAC Host
    TESTDB          2157605839 TESTDB1               1 10.2.0.3.0  YES testhost1
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:     32541 11-Oct-08 21:00:13       248     141.1
      End Snap:     32542 11-Oct-08 21:15:06       245     143.4
       Elapsed:               14.88 (mins)
       DB Time:               12.18 (mins)
    SQL Summary                            DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
                    Elapsed
       SQL Id      Time (ms)
    51szt7b736bmg     25,131
    Module: SQL*Plus
    UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL,0) + NVL(ACCT_DR_BAL,
    0)) FROM ACCT WHERE ACCT_TRN_DT = (:B1 ) AND TEST_ACC_NB = ACCT_ACC_NB(+)) WHERE
    TEST_BATCH_DT = (:B1 )
    SQL ID: 51szt7b736bmg                  DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> 1st Capture and Last Capture Snap IDs
       refer to Snapshot IDs witin the snapshot range
    -> UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL,0) + NVL(AC...
        Plan Hash           Total Elapsed                 1st Capture   Last Capture
    #   Value                    Time(ms)    Executions       Snap ID        Snap ID
    1   2960830398                 25,131             1         32542          32542
    2   3834848140                      0             0         32542          32542
    Plan 1(PHV: 2960830398)
    Plan Statistics                        DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    Stat Name                                Statement   Per Execution % Snap
    Elapsed Time (ms)                            25,131       25,130.7     3.4
    CPU Time (ms)                                23,270       23,270.2     3.9
    Executions                                        1            N/A     N/A
    Buffer Gets                               2,626,166    2,626,166.0    14.6
    Disk Reads                                      305          305.0     0.3
    Parse Calls                                       1            1.0     0.0
    Rows                                        371,735      371,735.0     N/A
    User I/O Wait Time (ms)                         564            N/A     N/A
    Cluster Wait Time (ms)                            0            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        0            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     2            N/A     N/A
    Sharable Mem(KB)                                 26            N/A     N/A
    Execution Plan
    | Id  | Operation                    | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | UPDATE STATEMENT             |                 |       |       |  1110 (100)|          |
    |   1 |  UPDATE                      | TEST            |       |       |            |          |
    |   2 |   TABLE ACCESS FULL          | TEST            |   116K|  2740K|  1110   (2)| 00:00:14 |
    |   3 |   TABLE ACCESS BY INDEX ROWID| ACCT            |     1 |    26 |     5   (0)| 00:00:01 |
    |   4 |    INDEX RANGE SCAN          | ACCT_DT_ACC_IDX |     1 |       |     4   (0)| 00:00:01 |
    Plan 2(PHV: 3834848140)
    Plan Statistics                        DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    Stat Name                                Statement   Per Execution % Snap
    Elapsed Time (ms)                                 0            N/A     0.0
    CPU Time (ms)                                     0            N/A     0.0
    Executions                                        0            N/A     N/A
    Buffer Gets                                       0            N/A     0.0
    Disk Reads                                        0            N/A     0.0
    Parse Calls                                       0            N/A     0.0
    Rows                                              0            N/A     N/A
    User I/O Wait Time (ms)                           0            N/A     N/A
    Cluster Wait Time (ms)                            0            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        0            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     2            N/A     N/A
    Sharable Mem(KB)                                 26            N/A     N/A
    Execution Plan
    | Id  | Operation                    | Name         | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | UPDATE STATEMENT             |              |       |       |     2 (100)|          |
    |   1 |  UPDATE                      | TEST         |       |       |            |          |
    |   2 |   TABLE ACCESS BY INDEX ROWID| TEST         |     1 |    28 |     2   (0)| 00:00:01 |
    |   3 |    INDEX RANGE SCAN          | TEST_DT_IND  |     1 |       |     1   (0)| 00:00:01 |
    |   4 |   TABLE ACCESS BY INDEX ROWID| ACCT         |     1 |    26 |     4   (0)| 00:00:01 |
    |   5 |    INDEX RANGE SCAN          | INDX_ACCT_DT |     1 |       |     3   (0)| 00:00:01 |
    Full SQL Text
    SQL ID       SQL Text
    51szt7b736bm UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL, 0) +
                  NVL(ACCT_DR_BAL, 0)) FROM ACCT WHERE ACCT_TRN_DT = (:B1 ) AND PB
                 RN_ACC_NB = ACCT_ACC_NB(+)) WHERE TEST_BATCH_DT = (:B1 )Your input is highly appreciated.
    Thanks for taking your time in answering my question.
    Regards

    Oracle Lover3 wrote:
    Dear experts,
    awrsqrpt.sql is showing multiple executions plans for a single SQL statement. How is it possible that one SQL statement will have multiple Executions Plans within the same AWR report.If you're using bind variables and you've histograms on your columns which can be created by default in 10g due to the "SIZE AUTO" default "method_opt" parameter of DBMS_STATS.GATHER__STATS it is quite normal that you get different execution plans for the same SQL statement. Depending on the values passed when the statement is hard parsed (this feature is called "bind variable peeking" and enabled by default since 9i) an execution plan is determined and re-used for all further executions of the same "shared" SQL statement.
    If now your statement ages out of the shared pool or is invalidated due to some DDL or statistics gathering activity it will be re-parsed and again the values passed in that particular moment will determine the execution plan. If you have skewed data distribution and a histogram in place that reflects that skewness you might get different execution plans depending on the actual values used.
    Since this "flip-flop" behaviour can sometimes be counter-productive if you're unlucky and the values used to hard parse the statement leading to a plan that is unsuitable for the majority of values used afterwards, 11g introduced the "adaptive" cursor sharing that attempts to detect such a situation and can automatically re-evaluate the execution plan of the statement.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • How to write SQL in crystal report that can reuse SQL execution plan cache?

    I write the following SQL with crystal report parameter fields, and it is connecting to SQL 2005
    Select Name from Customer where CustID = '{?CustID}'
    The SQL profiler show that It is an ad-hoc query, how to write parameterized SQL which can reuse Execution Plan.
    Edited by: Chan Yue Wah on May 14, 2009 3:17 AM

    Since there are too many report, it is not possible rewrite all. Is that crystal report do not have option to change how it query the database ?

  • AUTOTRACE stats different in SQL Developer vs SQL Plus

    Using SQL Developer 3.2.20.09, database is 11.2 on Linux. I'd like to know why I get different stats when using AUTOTRACE in SQL Developer vs SQL Plus. If I do the following in SQL Developer and in SQL Plus I get a very different set of stats:
    set autotrace on
    select * from emp;
    set autotrace off
    I run this with "run worksheet" in SQL Developer and I see this set of stats:
    Statistics
    4 user calls
    0 physical read total multi block requests
    0 physical read total bytes
    0 cell physical IO interconnect bytes
    0 commit cleanout failures: block lost
    0 IMU commits
    0 IMU Flushes
    0 IMU contention
    0 IMU bind flushes
    0 IMU mbu flush
    I do the same in SQL Plus and I see these stats:
    Statistics
    0 recursive calls
    0 db block gets
    7 consistent gets
    0 physical reads
    0 redo size
    1722 bytes sent via SQL*Net to client
    519 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    14 rows processed
    A very different set of stats. The stats in shown in SQL Plus seem to be much more useful to performance optimization over the one shown in SQL Developer. Why the different set of stats for each? Thanks.

    Cross-referencing to another recent thread on this topic:
    Re: set autotrace on statistics in sqldeveloper (oracle 11g) is wrong

  • Hide new/old value of bind variable in SQL*Plus

    Hi,
    I have a SQL*Plus script to create a new user. It asks for username & password and then passes these values to a SP to do some checks and finally create the user.
    The output is currently the following :
    New user will be created in ORCL LAB
    Enter the requested username : fleet2
    Enter the password for fleet2 : *****
    Re-enter the password for fleet2 : *****
    old 2: labadmin_cr_user('&username', '&pswd', '&pswd2');
    new 2: labadmin_cr_user('fleet2', 'fleet', 'fleet');
    The requested username is already in use in the database. Please choose another username.
    As you can see the passwords are now exposed when the procedure is called. This is not what I want off course. I cannot do termout off as the serveroutput is not shown as well in that case. I use dbms_output to show error messages to users. (see example above in case of an existing user).
    Can anybody tell me how to hide these 2 lines (old 2, new 2) without hiding my dbms_output.
    Thanks!
    Kris

    set verify offhttp://download-uk.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm#1013382

  • New White Paper: "Oracle 9i PL/SQL New Features"

    The July issue of the Pipeline Newsletter includes an 8-page feature article entitled "Oracle 9i PL/SQL New Features", written by Sandeepan Banerjee, of Oracle's PL/SQL Development Team. Click on the URL below for the newsletter:
    http://www.revealnet.com/newsletter-v2/newsletter_0701.htm
    In this article, you will read about:
    - Native Compilation of PL/SQL
    - Bulk Binds and Bulk Dynamic SQL
    - Common SQL Parser
    - Pipelined, Parallelized Table Functions
    - Transparent Performance Improvements
    - PL/SQL and XML
    - DBMS_XMLGEN
    - URI_References
    - HTTP "Cookie" Support in PL/SQL
    Visit www.revealnet.com and subscribe to the Pipeline Newsletter for monthly articles tips and code utilities for Oracle professionals.
    Best wishes,
    Cam White
    RevealNet

    I have some questions to the opdx.
    [list]
    [*] What do I need to use the opdx. There is a link on the ifs page to a demopage with download but it is broken. SO PLEASE list up everything I need.
    [*] are there some samples how to use the opdx, OR is there a fully functional OPDX with which I can play?
    [list]
    Thank you very much

  • New features of SQL & PLSQL

    Hi
    Could anyone please guide me to the oracle documentation where I can find the new features of SQL and PLSQL?
    Thanks

    What Oracle calls new features is not necessarily everything that is a new feature.
    Here are my personal lists:
    http://www.morganslibrary.org/reference/new_in_11gR1.html
    http://www.morganslibrary.org/reference/new_in_11gR2.html
    http://www.morganslibrary.org/reference/new_11_2_0_2.html
    http://www.morganslibrary.org/reference/new_11_2_0_3.html <-- still being built
    These lists include undocumented unsupported features as well as supported ones so review for a better understanding of the Oracle database but only implement those you find in the online Oracle docs and which are supported. You, the user, assume all risks for making bad choices.

  • OBE SQL Dev 1.5 New Features has broken link to file sqldevmngdb.zip

    Hi there,
    It appears that one of the file download links (*sqldevmngdb.zip*) in the Prerequisites for OBE Tutorial Oracle SQL Developer 1.5 New Features is broken.
    [http://www.oracle.com/technology/obe/hol08/sqldev_mngdb/sqldev15nf/files/sqldevmngdb.zip]
    Can you please repair this and update me when that has been done.
    Have a great day.
    Kind Regards,
    Gary.

    Gary,
    Thanks, I'll get that sorted, but until we do, (don't laugh), the second half of the link actually works.
    Sue

Maybe you are looking for

  • Can't print from Network

    I have an iMac 24" 2.8 GHz Intel Core 2 Duo running 10.5.5 and my wife has a Tangerine iMac running 10.3.9. We are connected via built in ethernet I have the printer (HP 960c) attached to my computer. We can access each other's computers fine but she

  • Custom Encryption

    I created an encryption program that is one-way and I would like to convert it to an algorithm. I have been looking for someone that would like to take this callenge but I can't find anyone. It is simple but powerful. Please help. Thank you, Andrew A

  • Podcasting

    I've posted a podcast and received an approval from iTunes. http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=179235600 However, when I click on that link or on my .rss file http://djdavematthias.com/Podcasts/Music.rss My artwork does

  • Mac os x and Sony Ericsson are they compatible

    I have a Cellphone Sony Ericsson W41S, I plugged to iMac 20" PPC and tried to sync it, no luck. How can they communicate with each other? Any solution? Thank you Luis 20 iMac G5 PPC 1GB Ram   Mac OS X (10.4.5)   iBook 500, 784 Ram

  • Can't play video on TV

    Hi, I've got a 3G iphone, with the latest firmware, and a set of Component AV cables (http://store.apple.com/us/product/MB128LL/B). I plug them into the TV, goto the right video mode and try to play a TV show on my iphone. The sound from the show pla