not recommended value

Hi all

I use the oracle 11g rel 2(test machine) on windows 7.i messed with spfile and get the following warning

ORA-32004: outdated or obsolete parameters specified for the instance of RDBMS
ORACLE instance started.

When I checked the alerts log, I found I have activated SQL_TRACE. Then I put the value for SQL_TRACE false with scope = both.

When I rebooted the instance I get the same error. Please find the journal of alerts.

Please let me know where I am going wrong:

Sun Nov 07 19:09:36 2010
Closure of proceedings (immediate)
OCMS background process stop
Closure of proceedings: in addition to logons disabled
Stop background QMNC process
Sun Nov 07 19:09:38 2010
Stop background CJQ0 process
Stop background MMNL process
MMON background process stop
License of the high waters = 15
All dispatchers/dispatchers and shared servers stop
ALTER DATABASE CLOSE NORMAL
Sun Nov 07 19:09:46 2010
SMON: disabling recovery tx
SMON: disabling of cache recovery
Sun Nov 07 19:09:47 2010
Stop process to archive
Archiving is disabled
Sun Nov 07 19:09:47 2010
ARK of closing
Sun Nov 07 19:09:47 2010
ARK of closing
Sun Nov 07 19:09:47 2010
ARK of closing
Arc1: Order archiving
Sun Nov 07 19:09:47 2010
ARK of closing
Arc0: Order archiving
ARC2: Order archiving
ARC3: Order archiving
Thread 1 is thrown to the sequence of journal 40
Closing of redo thread 1
Sun Nov 07 19:09:49 2010
Completed: ALTER DATABASE CLOSE NORMAL
ALTER DATABASE TO REMOVE
Completed: ALTER DATABASE DISMOUNT
ARCH: Disabled archives due to the stop: 1089
Stop process to archive
Archiving is disabled
Stopping the process Archive avoided: active 0
ARCH: Disabled archives due to the stop: 1089
Stop process to archive
Archiving is disabled
Stopping the process Archive avoided: active 0
Sun Nov 07 19:09:50 2010
To stop background VKTM process:
Sun Nov 07 19:09:52 2010
Instance shutdown complete
Sun Nov 07 19:09:59 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SNA system picked latch-free 3
With the help of LOG_ARCHIVE_DEST_1 parameter value by default as USE_DB_RECOVERY_FILE_DEST
Autotune undo retention is enabled.
IMODE = BR
ILAT = 27
LICENSE_MAX_USERS = 0
SYS audit is disabled
Commissioning:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With the options of partitioning, OLAP, Data Mining and Real Application Testing.
Using parameters in spfile C:\APP\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEORCL server-side. ORA
Parameters of the system with default values:
process = 150
SGA_MAX_SIZE = 1504M
shared_pool_size = 288 M
LARGE_POOL_SIZE = 16 M
JAVA_POOL_SIZE = 16 M
STREAMS_POOL_SIZE = 16 M
SGA_TARGET = 0
memory_target = 0
control_files = 'C:\APP\ORADATA\ORCL\CONTROL01. CTL.
control_files = 'C:\APP\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL.
DB_BLOCK_SIZE = 8192
db_cache_size = 1152M
io_pool_size shared= 0
compatible = "11.2.0.0.0."
db_recovery_file_dest = 'C:\app\flash_recovery_area. '
db_recovery_file_dest_size = 3912M
undo_tablespace = 'UNDOTBS1.
db_block_checking = 'TRUE '.
Remote_login_passwordfile = "EXCLUSIVE."
db_domain = «»
dispatchers = "(PROTOCOL=TCP) (SERVICE = orclXDB)" "
LOCAL_LISTENER = "LISTENER_ORCL."
audit_file_dest = "C:\APP\ADMIN\ORCL\ADUMP".
AUDIT_TRAIL = 'DB '.
db_name = "orcl".
open_cursors = 300
SQL_Trace = FALSE
pga_aggregate_target = 560 M
statistics_level = "TYPICAL."
diagnostic_dest = "directory".
Parameters of the obsolete system with the specified values:
SQL_Trace
End of the list of obsolete system setting
Sun Nov 07 19:09:59 2010
PMON started with pid = 2, OS id = 3824
Sun Nov 07 19:09:59 2010
VKTM started with pid = 3, OS id = 3636 high priority
VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms
Sun Nov 07 19:09:59 2010
GEN0 started with pid = 4, OS id = 2032
Sun Nov 07 19:09:59 2010
DIAG started with pid = 5, OS id = 4572
Sun Nov 07 19:09:59 2010
DBRM started with pid = 6, OS id = 3308
Sun Nov 07 19:09:59 2010
PSP0 started with pid = 7, OS id = 1032
Sun Nov 07 19:09:59 2010
DIA0 started with pid = 8, OS id = 1988
Sun Nov 07 19:09:59 2010
MA started with pid = 9, OS id = 3980
Sun Nov 07 19:09:59 2010
DBW0 started with pid = 10, OS id = 5892
Sun Nov 07 19:09:59 2010
LGWR started with pid = 11, OS id = 3732
Sun Nov 07 19:09:59 2010
CKPT started with pid = 12, OS id = 5468
Sun Nov 07 19:09:59 2010
SMON started with pid = 13, OS id = 3200
Sun Nov 07 19:09:59 2010
RECCE has started with pid = 14, OS id = 5612
Sun Nov 07 19:09:59 2010
MMON started with pid = 15, OS id = 3292
Sun Nov 07 19:09:59 2010
MMNL started with pid = 16, OS id = 2416
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
commissioning or shared server 1...
Environment ORACLE_BASE = directory
Sun Nov 07 19:09:59 2010
ALTER DATABASE MOUNT
Mount of redo thread 1, with mount id 1262265351
Bytes allocated of 15937344 in the shared pool for the generation of flashback buffer
From RVWR background process
Sun Nov 07 19:10:03 2010
RVWR started with pid = 20, OS id = 1260
Database mounted in exclusive Mode
Disabled lost write protect
Completed: ALTER DATABASE MOUNT
Sun Nov 07 19:10:04 2010
ALTER DATABASE OPEN
LGWR: FROM PROCESS ARCH
Sun Nov 07 19:10:04 2010
Arc0 started with pid = 21, OS id = 5088
Arc0: Started archiving
LGWR: FROM PROCESS ARCH COMPLETE
ARC0: FROM PROCESS ARCH
Sun Nov 07 19:10:05 2010
Arc1 started with pid = 22, id = 6044 OS
Sun Nov 07 19:10:05 2010
ARC2 started with pid = 23, OS id = 3920
Arc1: Started archiving
ARC2: Started archiving
ARC2: become the "no FAL' ARCH
ARC2: become the "no SRL" ARCH
Arc1: Become the heartbeat ARCH
Thread 1 is open to the sequence of journal 40
Currently journal # 1, seq # 40 mem # 0: C:\APP\ORADATA\ORCL\REDO01. JOURNAL
Opening of redo thread 1
View MTTR is disabled, because FAST_START_MTTR_TARGET is not defined
SMON: enabling cache recovery
Successfully online 2 undo Tablespace.
Check the compatibility of the header files for tablespace 11g encryption...
Compatibility check header files 11g for tablespace encryption completed
SMON: enabling the recovery of tx
Database character set is WE8MSWIN1252
Sun Nov 07 19:10:05 2010
ARC3 started with pid = 24, OS id = 5472
No Resource Manager plan active
ARC3: Started archiving
ARC0: FROM PROCESS ARCH COMPLETE
From QMNC background process
Sun Nov 07 19:10:10 2010
QMNC started with pid = 25, OS id = 1228
Completed: ALTER DATABASE OPEN
Sun Nov 07 19:10:20 2010
From CJQ0 background process
Sun Nov 07 19:10:20 2010
CJQ0 started with pid = 30, OS = 880 id
Sun Nov 07 19:10:21 2010
3912 MB db_recovery_file_dest_size is 33.81% used. It is a
user-specified limit on the amount of space that will be used by the present
for the files related to the recovery of databases and does not reflect the amount of
space available in the underlying file system or ASM diskgroup.
Resource Manager of drawing [0 x 3009] SCHEDULER: DEFAULT_MAINTENANCE_PLAN via the Scheduler window
Resource Manager implementation plan DEFAULT_MAINTENANCE_PLAN via the parameter
Sun Nov 07 19:10:23 2010
From VKRM background process
Sun Nov 07 19:10:23 2010
VKRM started with pid = 31, OS id = 5944

To remove it from your spfile, try:
Change scope of system reset sql_trace = spfile sid ='* ';

and check at the bottom of the query:
SQL > select name, ISDEFAULT parameter $ v where name = 'sql_trace. "

Tags: Database

Similar Questions

  • Level security line with session variables, not recommended?

    Hello

    We are on the point of implement security level line in our project of BI using OBIEE, and the solution that we found more convenient to our requirement was to use session with blocks of initialization variables.

    The problem is that this method is listed as "not recommended" in the Oracle documentation.

    Administration of alternative security options - 11g Release 1 (11.1.1)

    (This appendix describes alternative security administration options included for backward compatibility with improved systems and are not considered a best practice.)

    The Session Variables management

    Session system variables get their values of initialization blocks and are used to authenticate Oracle Business Intelligence users against external sources such as LDAP servers or database tables. Each active session of BI server generates session variables and initializes them. Each instance of session variable can be initialized to a different value. For more information on the use of variables and blocks of Oracle Business Intelligence session initialization, see 'Use of Variables in Oracle's BI repository' in Oracle Fusion Middleware metadata repository Builder of Guide for Oracle Business Intelligence Enterprise Edition.

    How confused... What is the best practice then?

    Thank you for your help.

    Joao Moreira

    authentication / authorizing the part is dealing with weblogic and then initialized the variable USER and you can use it for any initblocks for safety.

    Block of init to authenticate / variable session and authorization are different, I guess that you mix the two.

  • Recommended value for the BAM data expiration time

    Hello

    Can someone tell me what is the recommended value for the BAM data expiration time?

    Enterprise Server default is 24 hours, but I would like to be able to raise the average runtime instance after several months. Is it reasonable to the value of the time-out value a high value? Or it will have an impact on the performance of BPM/BAM?

    Thanks in advance.

    Best regards
    CA

    Normally, we keep the BAM data expiration time at halfway with 24 to 72 hours. For historical reports that you are looking for the Data Mart / Data Warehouse DB are more logical. This database stores the data forever and takes pictures at longer intervals, normally 24 hours. These data are not in time real normally then because a capture instant is only taken once per day but will give you historical reports that you are looking for. The data from this database structure is almost identical to the BAM DB.

  • is it possible to print the formulas (and not the values) in numbers

    is it possible to print the tables with formulas (not with values)?

    N °

  • win xp pro Re: why does search in my doc > downloads search not numeric values

    GI production of labels for specimens of plants of a model in excellent and storing labels in my doc... search does very well with the words/phrases

    (as indicated in the search pane) but why he can't find the dates, number of collection, lat/lon?

    Are you referring to research within the Excel or your operating system?

    If I think correctly, Windows will not numeric values look. It will search only a file or a folder.

    See: http://support.microsoft.com/kb/308895

  • ORA-00947: not enough values error collect in bulk

    Hi guys,.

    I'm trying to COLLECT in a PL/SQL table, but I get ORA-00947: not enough values error message, even if the table has 4 values and select 4 values. Am I missing something?

    I have to add something to this?

    I've included the types of database objects that I created on the database.

    I have commented on the Original code and used the table DOUBLE just to make simple workout.

    /*

    CREATE or REPLACE TYPE Usage_Groups_for_coda_rec as

    object

    (Usage_Group_ID NUMBER (10),)

    Coda_comment VARCHAR2 (45).

    Amount NUMBER,

    Deduction_amount NUMBER);

    CREATE OR REPLACE

    TYPE USAGE_GROUPS_FOR_CODA_TAB AS

    TABLE OF Usage_Groups_for_coda_rec;

    */

    declare

    -CURSOR c_adj_roy_trans

    -EAST

    -SELECT DISTINCT rotr.on_behalf_of_soc_nbr, rotr.right_type

    -OF royalty_transaction rumble

    -WHERE rotr.ps_adjust_royalty_flg = cm_default.get_yes;

    CURSOR c_adj_roy_trans

    IS

    SELECT '052', 'P '.

    DOUBLE;

    t_uge_Grp_for_coda_tab USAGE_GROUPS_FOR_CODA_TAB; -the type of table was created on the database

    Start

    FOR r_adj_roy_trans IN c_adj_roy_trans LOOP

    -SELECT rotr.usage_group_id as Usage_Group_ID,

    -cm_coda_account_default.get_canc_adj_coda_comment | '- CAE' as Coda_comment,

    -SUM (NVL (rotr.gross_amt, 0) + NVL (rotr.reciprocal_deduction_amt, 0)) as an amount

    -SUM (rotr.reciprocal_deduction_amt) as Deduction_amount

    -COLLECT LOOSE t_uge_Grp_for_coda_tab

    -OF royalty_transaction rumble

    -WHERE rotr.ps_adjust_royalty_flg = cm_default.get_yes

    - AND rotr.on_behalf_of_soc_nbr = r_adj_roy_trans.on_behalf_of_soc_nbr

    - AND rotr.right_type = r_adj_roy_trans.right_type

    -Rotr.usage_group_id group;

    SELECT 6874534 as Usage_Group_ID,

    "This is a test - CAE" as Coda_comment.

    100 as an amount

    50 as Deduction_amount

    LOOSE COLLECTION t_uge_Grp_for_coda_tab

    DOUBLE;

    /*

    IF l_uge_Grp_for_coda_tab. COUNT > 0 THEN

    cm002p.std_coda_post_cashing_out_bulk (p_on_behalf_of_society_number = > r_adj_roy_trans.on_behalf_of_soc_nbr,)

    p_right_type = > r_adj_roy_trans.right_type,

    p_Usage_Groups_for_coda_tab = > t_uge_Grp_for_coda_tab,

    p_reverse_posting_direction = > FALSE,

    p_posting_override_direction = > NULL,

    p_cohi_id = > NULL

    );

    END IF;

    */

    END LOOP;

    end;



    Here's what you need to do:


    SELECT Usage_Groups_for_coda_rec(6874534, "It is a test - CAE", 100, 50)

    LOOSE COLLECTION t_uge_Grp_for_coda_tab

    DOUBLE;

    You try bulk collect into a collection of Usage_Groups_for_coda_recs, then you will need to make type compatible using the implicit of the type constructor.

  • Get 'not enough values error' in bulk collect

    I want to insert all the rows in the employees table in the tmp table which has the structure.

    Purpose: Try just feature fired block to create a return to the top of a table.

    Problem: My code is to not "enough of values" error please report if mistaken.

    structure of the employees table:

    SQL > desc employee;

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    EMPLOYEE_ID NOT NULL NUMBER (6)

    FIRST NAME VARCHAR2 (20)

    LAST_NAME NOT NULL VARCHAR2 (25)

    EMAIL NOT NULL VARCHAR2 (25)

    PHONE_NUMBER VARCHAR2 (20)

    HIRE_DATE NOT NULL DATE

    JOB_ID NOT NULL VARCHAR2 (10)

    SALARY NUMBER (8.2)

    COMMISSION_PCT NUMBER (2.2)

    MANAGER_ID NUMBER (6)

    DEPARTMENT_ID NUMBER 4

    tmp table structure:

    SQL > tmp desc;

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    EMPLOYE_ID NUMBER (6)

    FIRST NAME VARCHAR2 (20)

    LAST_NAME NOT NULL VARCHAR2 (25)

    EMAIL NOT NULL VARCHAR2 (25)

    PHONE_NUMBER VARCHAR2 (20)

    HIRE_DATE NOT NULL DATE

    JOB_ID NOT NULL VARCHAR2 (10)

    SALARY NUMBER (8.2)

    COMMISSION_PCT NUMBER (2.2)

    MANAGER_ID NUMBER (6)

    DEPARTMENT_ID NUMBER 4

    SQL > select * from tmp;

    no selected line

    Code:

    declare

    type rec is the employee table % rowtype

    index by pls_integer;

    a rec;

    Start

    Select * bulk collect in a

    employees;

    ForAll i in a.first... a.Last

    Insert into tmp values (a (i));

    end;

    /

    Result:

    SQL > declare

    2

    3 type rec is the employee table % rowtype

    4 index of pls_integer;

    5 a rec;

    6

    7. start

    8 remove tmp;

    9 select * bulk collect in a

    10 employees;

    11 ForAll i in a.first... a.Last

    12 insert into tmp values (a (i));

    13 end;

    14.

    Insert into tmp values (a (i));

    *

    ERROR on line 12:

    ORA-06550: line 12, column 13:

    PL/SQL: ORA-00947: not enough values

    ORA-06550: line 12, column 1:

    PL/SQL: SQL statement ignored

    Remove parentheses

    insert into tmp values a(i);
    

    or call the individual columns

    insert into tmp( employee_id, first_name, ... )
     values( a(i).employee_id, a(i).first_name, ... );
    

    Justin

  • ORA-00947: not enough values to choose from

    Hi all

    I created the type object and its type of nested table to hold the values.

    But am getting error as follows:

    Connected to Personal Oracle Database 10g Release 10.2.0.1.0 
    Connected as hr
    
    SQL> 
    SQL> create or replace type t_obj as object
      2  ( id number,
      3    dt date
      4   );
      5  /
    
    Type created
    
    SQL> create or replace type t_obj_nt is table of t_obj; 
      2  /
    
    Type created
    
    SQL> set serveroutput on
    SQL> 
    SQL>  declare
      2   l_tab t_obj_nt;
      3  
      4   begin
      5  
      6    select level,(sysdate+ level) into l_tab
      7    from dual connect by level < 5;
      8  
      9   dbms_output.put_line(l_tab.count);
     10   end;
     11  /
    
    declare
     l_tab t_obj_nt;
    
    
     begin
    
    
      select level,(sysdate+ level) into l_tab
      from dual connect by level < 5;
    
    
     dbms_output.put_line(l_tab.count);
     end;
    
    ORA-06550: line 8, column 3:
    PL/SQL: ORA-00947: not enough values
    ORA-06550: line 7, column 3:
    PL/SQL: SQL Statement ignored
    
    SQL> 
    

    Concerning

    SID

    CREATE or REPLACE type t_obj

    AS

    object

    (

    ID NUMBER,

    DT DATE);

    CREATE or REPLACE type t_obj_nt

    IS

    TABLE OF t_obj;

    -Option 1

    DECLARE

    l_tab t_obj_nt;

    BEGIN

    -You get several lines.

    SELECT t_obj (level, (sysdate + level)) in BULK COLLECT INTO l_tab FROM dual CONNECT BY level<>

    dbms_output.put_line (l_tab. (Count);

    END;

  • Fill with the previous 'not null' value ' Null' known values

    Hi all

    I have the following requirement to fill in missing values (null values) with the "Not null" values known previously available.

    Source of the example:

    Emp_Id Start_Dt LOC Comm Grade

    A101

    01/01/2013

    NJ4000B

    A101

    15/03/2013

    CA4800

    A101

    15/05/2013

    3500C

    A101

    25/07/2013

    2500

    A101

    20/12/2013

    NY5800A

    A101

    14/02/2013

    5000

    A101

    20/05/2014

    DC6000A

    A101

    03/06/2014

    3600C

    A102

    24/05/2013

    THE5000A

    A102

    15/12/20134300

    Expected results values in columns LOC and grades:

    Emp_Id Start_Dt LOC Comm Grade
    A101

    01/01/2013

    NJ4000BA101

    15/03/2013

    CA4800BA101

    15/05/2013

    CA3500CA101

    25/07/2013

    CA2500CA101

    20/12/2013

    NY5800AA101

    14/02/2013

    NY5000AA101

    20/05/2014

    DC6000AA101

    03/06/2014

    DC3600CA102

    24/05/2013

    THE5000AA102

    15/12/2013

    THE4300A

    Any suggestions would be helpful.

    Kind regards

    Arun

    Also, I think that this is a case of analytics. Last_value is perhaps the most appropriate function for the given task:

    Select emp_id

    start_dt

    last_value(loc ignore nulls) over (partition by emp_id arrested by start_dt) loc

    comm

    last_value(grade ignore nulls) about category (partition by emp_id arrested by start_dt)

    t

  • Installation of VMWare Workstation 11.1.0 on Win 8.1 is THAT MSI will fail with the error "could not write value vmware - tray.exe for \software\microsoft\windows'currentversion\run-cles.

    Hi all

    The MSI failed with the error message as "could not write value vmware - tray.exe in \SOFTWARE\Microsoft\Windows'CurrentVersion\Run key.  Make sure you have fufficient access to that key, or contact your support staff' while trying to install vmware workstation 11.1.0 in windows 8.1.
    I tried to call the installer with run as administrator but it does not help, please suggest me overcome this error.

    Hi Vincentand welcome to the VMware communities!

    This error indicates that you have some security software (antivirus or antimalware software) that protects the part of the registry.  Can you try to temporarily disable all security software on your host computer and see if the installation can move forward?

    See you soon,.

    --

    Darius

  • Starting from two data tables, how do you get the values in two columns using values in a column (values get col. If col. A is not null values and get the pass. B if col. A is null)?

    Two tables provided, how you retrieve the values in two columns using values in a column (the pass get values. If col. A is not null values and get the pass. B if col. A is null)?

    Guessing

    Select nvl (x.col_a, y.col_b) the_column

    from table_1 x,.

    table_2 y

    where x.pk = y.pk

    Concerning

    Etbin

  • ORA-00947 not enough values, why?

    In this code, why do I get "ORA-00947 not enough of values, it has the same number of columns, just a select statement."

    Help, please.
    type list_employee_type is table of employee_tmp%rowtype;
    
     procedure search_by_jobId (jobId IN varchar2,  list_employee_rtn OUT list_employee_type,
            success OUT boolean, exception_msg OUT varchar2)
            is        
         begin    
           select * into list_employee_rtn from employee_tmp where job_id = jobId ;       
        end search_by_jobId;

    >
    still do not understand, can you please give me more details?
    >
    SQL does NOT include PL/SQL types. This is a PL/SQL type:

    type list_employee_type is table of employee_tmp%rowtype;
    

    You can use in SQL:

    select * into list_employee_rtn from employee_tmp where job_id = jobId 
    

    You must use a SQL type

    And the full exception you was probably one like this:
    >
    ORA-06550: line 7, column 22:
    PLS-00642: types of local collections not allowed in SQL queries
    ORA-06550: line 7, column 40:
    PL/SQL: ORA-00947: not enough values
    ORA-06550: line 7, column 8:
    PL/SQL: SQL statement ignored
    >
    PLS-00642 is the exception that said you that you used the wrong type.

    Here are the types SQL based on the SCOTT. EMP table

    -- type to match emp record
    create or replace type emp_scalar_type as object
      (EMPNO NUMBER(4) ,
       ENAME VARCHAR2(10),
       JOB VARCHAR2(9),
       MGR NUMBER(4),
       HIREDATE DATE,
       SAL NUMBER(7, 2),
       COMM NUMBER(7, 2),
       DEPTNO NUMBER(2)
      )
      /
    
    -- table of emp records
    create or replace type emp_table_type as table of emp_scalar_type
      /
    

    Now you can use "emp_table_type" in a PL/SQL procedure, and in the select statement.

  • Script error: property not valid value operation

    (in FormCalc)

    I have a form with multiple pages.  The first two are a graph and the other 8 diagrams.  Diagrams have fields of number to the entry measures taken from an inspection process.  The graphic form I have a button to fill in the chart with information from diagrams.

    The click event of the button first retrieves the information from the diagrams and transfer them to the chart.  He is then supposed to change the font color depending on whether the readings are within limits (black for good, red for the worse).

    However, when I go in the preview PDF tab, enter test data in diagrams and click populate, I get an error that I don't know how to fix.  I was not able to find something on the Internet about it.

    Any help would be greatly appreciated.  Here's what's on the screen of the error:

    Script failed (language formcalc; context is)

    XFA [0] form [0] .topmostSubform [0]. LHChart [0]. Button1 [0])

    script =...

    Error: The property not valid value operation; Police is not a default property

    I found the solution to my problem.

    I had the code in the target fields as well as the button trying to change color of font, based on imported figures.  I deleted the code in the target areas and leave the code in the button field and everything worked right.

    Thanks again for everyone's help.

  • Parallel logic LSI, LSI logic SAS, parallel Buslogic (not recommended for the guest operating system), vmware paravirtual

    Infrastructure:

    vSphere

    ESX 4

    Reference Dell R710 Server

    I install WIN 2003 x 64 as a virtual server on ESX 4, when I select LSI logic SAS & LSI logic parallel it does not detect the hard drive, do I need driver if so where can I download?

    For parallel bus logic (not recommended for the guest operating system) & Vmware paravirtual, do I have to select this option for my win 2003 R2 x 64 edition?

    Please help on this issue.

    ~ Rashid

    If you really want to use it for installation, you will need to extract the driver from the VMware Tools ISO and add it to a disk image.

    Dave

    VMware communities user moderator

    New book in town - Start Guide quick vSphere -http://www.yellow-bricks.com/2009/08/12/new-book-in-town-vsphere-quick-start-guide/.

    You have a system or a PCI with VMDirectPath?  Submit your specifications to the unofficial VMDirectPath HCL - http://www.vm-help.com/forum/viewforum.php?f=21.

  • Fresh fired for FORALL does not not enough values error

    Hello

    I am trying to copy data from one table to the other which have a different number of columns. I do the following. But he threw not enough values error.

    Table A has more than 10 million records. So I use bulk collect instead of using insert into select from.

    TABLE A (has the more columns - 25)
    Number of C1
    number of C2
    VARCHAR2 C3
    C4 varchar2
    ...
    ...
    ...
    C25 varchar2

    TABLE B (less than columns - like 7)
    Number of C1
    number of C2
    VARCHAR2 C3
    C4 varchar2
    number of C5
    date of C7
    C10 varchar2

    declare

    TYPE c IS REF CURSOR;

    c V_c;

    v_Sql VARCHAR2 (2000);
    Table TYPE is table B % ROWTYPE;
    L_data table;


    Start

    v_Sql: = 'SELECT c1, c2, c3, c4, c5, c7, c10 OF A ORDER BY c1;

    V_c OPEN FOR v_Sql;

    LOOP
    Fetch the v_c COLLECT LOOSE ldata LIMIT 100000;

    FORALL i in 1... lData. Count
    INSERT
    B
    VALUES ldata (i);

    END LOOP;
    COMMIT;

    exception
    WHILE OTHERS THEN
    ROLLBACK;
    dbms_output.put_line ('Exception occurred' |) SQLERRM);
    END;


    When I run this, I get
    PL/SQL: ORA-00947: not enough values

    Any suggestions please. Thanks in advance.

    Table A has more than 10 million records. So I use bulk collect instead of using insert into select from.

    That makes sense to me. An INSERT... SELECT will be more effective, easier to manage, easier to write and easier to understand.

    INSERT INTO b( c1, c2, c3, c4, c5, c7, c10 )
      SELECT c1, c2, c3, c4, c5, c7, c10
        FROM a;
    

    will be faster, use fewer resources, much less error-prone and have a more obvious use when a maintenance programmer coming that any PL/SQL block that does the same thing.

    If you insist on the use of PL/SQL, what version of Oracle are you using? You should be able to do something like

    DECLARE
      TYPE b_tbl IS TABLE OF b%rowtype;
      l_array b_tbl;
    
      CURSOR a_cursor
          IS SELECT c1, c2, c3, c4, c5, c7, c10 FROM A;
    BEGIN
      OPEN a_cursor;
      LOOP
        FETCH a_cursor
         BULK COLLECT INTO l_array
        LIMIT 10000;
    
        EXIT WHEN l_array.COUNT = 0;
    
        FORALL i IN l_array.FIRST .. l_array.LAST
          INSERT INTO b
            VALUES l_array(i);
      END LOOP;
      COMMIT;
    END;
    

    At least, that eliminates the infinite loop and the unnecessary dynamic SQL. If you are using older versions of Oracle (it is always useful to display this information at the front), the code may need to be a little more complex.

    Justin

    Published by: Justin cave on January 19, 2011 17:46

Maybe you are looking for