Database column alias problem

When you join the fields first name and last name in my initial SQL query of my IE interactive report

INITCAP (INDSNAME) | » '|| INITCAP (INDFNAME) AS FULLNAME,

When you click on through the Registration Details that I get the following error in the page element in the source I'm specifying FULLNAME under Source value or expression


FULLNAME column not found in the table MYTABLENAME


How can I get around this?

Thank you very much

You have me working for the kuddos

OK, in this case fixed the objective to the shape that you did earlier.

In the name field, create an element in the page on this page (or change the properties of the current which generates the error) and the properties of the item to:

Source: Source Type: PL/SQL Expression

Source: Source of value or Expression:

: P9_INDSNAME | : P9_INDFNAME

or an expression of function/pl-sql like this.

Make sure that P9_INDSNAME and P9_INDFNAME exist on this form and are normal database fields (which can be hidden if you don't show them)

Tags: Database

Similar Questions

  • Quotes in a column alias

    Possible to have double-quotes in a column alias in a projection of SQL? Long story involving Apex, Anychart v5 and how Apex appoints series of data in the XML generated for several Y axis.

    This problem can be solved easily if I can add a quotation mark in a column alias. For example
    select
      some_col as "COL1"" param1=123"
    from dual
    No comment on the Apex by using column labels to generate XML tag name values... {noformat} ;-) {noformat}

    Of course, the SQL parser like quite the format above.

    Had a look at the SQL reference guide and it does not say much in this regard. It seems that there is no work around - correct?

    Had a look at the SQL reference guide and it does not say much in this regard

    Column alias is also to respect the rules of naming of object databases? :

    »
    ...
    7 nonquoted identifiers can contain only your database character set alphanumeric characters and the underscore (_), dollar sign ($) and sign pound (#). Database links can also contain periods (.) and 'at' sign (@).
    Oracle strongly advise to use $ and # in nonquoted identifiers.

    Quoted identifiers can contain any characters and punctuation marks and spaces.
    However, or quoted or nonquoted identifiers can contain double quotes or the null (\0) character.
    ...
    «

  • There is no possibility of ambiguity in the SELECT clause because any identifier in the SELECT clause must be a database column name

    Hello

    Doc Oracle says the following on the identifiers in the SELECT in PL/SQL clause: there is no possibility of ambiguity in the SELECT clause because any identifier in the SELECT clause must be a database column name.

    If we assume that only valid column identifier are allowed in the SELECT clause.

    But I tried the following:

    DECLARE
    toto NUMBER := 10;
    tata NUMBER := 0;
    BEGIN
    SELECT toto INTO tata FROM employees WHERE employee_id = 101;
    DBMS_OUTPUT.PUT_LINE(tata);
    END;
    /
    

    And there is no error telling me that toto is not a column in the employees table and the result is the same as: toto: = aunt;

    Won't the doc or did I just miss something?

    Thanks for your response!

    Hello

    rep0ne wrote:

    Hello

    Doc Oracle says the following on the identifiers in the SELECT in PL/SQL clause: there is no possibility of ambiguity in the SELECT clause because any identifier in the SELECT clause must be a database column name.

    If we assume that only valid column identifier are allowed in the SELECT clause.

    Post a link to this Oracle doc.

    But I tried the following:

    1. DECLARE
    2. Toto NUMBER: = 10;
    3. Auntie NUMBER: = 0;
    4. BEGIN
    5. SELECT toto IN Auntie FROM Employees WHERE employee_id = 101;
    6. DBMS_OUTPUT. Put_line (Auntie);
    7. END;
    8. /

    And there is no error telling me that toto is not a column in the employees table and the result is the same as: toto: = aunt;

    ...

    You're right that toto is an identifier, but this isn't a column name.  (Of a subquery) column alias are not database of the names of columns either, nor are the names of the user-defined function.

    Also, there is a possibility for ambiguity even if all the names are the database column names.

    Won't the doc or did I just miss something?

    I can't say until I see the doc you're talking about.

    Oracle documentation is sometimes misleading and sometimes just plain wrong.  For each mistake outright example that I saw in the docs of Oracle, there might be 20 cases where the meaning is unclear or misleading and maybe 200 where I just read it wrong.

  • Column alias error in one query views

    Hello
    I was trying to drive this query

    Create view dept_sal as
    Select d.department_name, sum (e.salary)
    departments d left outer join employee e
    on e.department_id = d.department_id
    D.department_name group;

    and I received this error message...


    Error in the command line: 2 column: 25
    Error report:
    SQL error: ORA-00998: must appoint this expression with a column alias
    00998 00000 - 'must appoint this expression with a column alias.
    * Cause:
    * Action:


    I tried to put an alias to the function sum (e.salary) and it worked, but I do not understand why it is necessary or is the problem somewhere else and why an alias is needed here?

    In fact the book has not specified the need for an alias to this place... .so I wanted to know why I get this error...

    create or replace view dept_sal as
    Select d.department_name, sum (e.salary) as d_sal
    departments d left outer join employee e
    on e.department_id = d.department_id
    D.department_name group;


    view DEPT_SAL created.



    I also wanted to know if I can start a thread whenever I want to have a problem or if I can add my questions to someone
    otherwise a wire...

    Thank you
    Jayshree

    Also, I wanted to know if I can start a thread everytime I want to have a problem or I can add my questions to someone in another thread...

    Best thing you can do is to start a new thread.
    This is after you have completed :
    -Documentation
    -forums
    and found nothing.
    Do not start new threads that are FAQ...

    Adding questions to existing threads is called 'diversion' a thread and is not appreciated. Especially when you're digging up old threads.

  • How to select data using the same remote database column name 3

    Hello


    Can anyone help me on how to get the data with the same remote database column names 3 and a unique nickname.

    E.g.

    SELECT *.
    B.SID, b.status, SUM (b.qty) qantity MAX (b.) date_as_of
    Of
    * ((table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3) has, *)
    (* (table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3) b). *
    WHERE b.dept = 'finance '.
    AND a.position = "admin".
    AND a.latest = 'Y' AND (b.status <>"MLT") AND b.qty > 0;
    B.SID GROUP, b.status;

    NOTE: the instructions "BOLD" is just an example of what I want to do but I always get an error beacause of ambiguous column.

    Thanks to advnce. :)

    Published by: user12994685 on 4 January 2011 21:42

    user12994685 wrote:

    Can anyone help me on how to get the data with the same remote database column names 3 and a unique nickname.

    Not valid. This makes no sense and breaks all the rules of scope-resolution. And if it is in a single database, or uses tables in databases, is not relevant.

    Each object must be particularly well identified. If you cannot do this:

    select * from (table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3) a
    

    3 objects cannot share the same alias. Example:

    SQL> select * from (dual, dual) d;
    select * from (dual, dual) d
                       *
    ERROR at line 1:
    ORA-00907: missing right parenthesis
    

    You need to combine objects - by using a join union or similar. He will have to be done as follows:

    SQL> select * from (select * from dual d1, dual d2) d;
    select * from (select * from dual d1, dual d2) d
           *
    ERROR at line 1:
    ORA-00918: column ambiguously defined
    

    However, we need to have unique column in a projection of SQL names - so the join of the need to project a unique set of columns. So:

    SQL> select * from (select d1.dummy as dummy1, d2.dummy as dummy2 from dual d1, dual d2) d;
    
    DUM DUM
    --- ---
    X   X
    
    SQL> 
    

    I suggest that you look carefully at what opportunities are and how it applies in SQL - and ignore if the referenced objects are local or remote, because it has no effect on the basic principles of scope-resolution.

  • How to display the database column value in a component of choice selected?

    Hello everyone;

    I use Jdeveloper 11.1.1.4 and right now I have the .jspx UI page that includes < af:selectonechoice / > components and according to the requirment I have to fill one of the column in the table in this drop-down list.

    can someone tell me how to fill the database column value in this drop-down list. I know I need to create the VO for the same thing, but I'm new to this technology. Then please suggest.

    Thanks in advance.,

    This will help u

    https://blogs.Oracle.com/prajkumar/entry/create_lov_in_adf_application

    How to create LOV in ADF 11 g | Techartifact

    Oracle Fusion Middleware Technologies: 11G: how to create a list of Values (LOV)?

    http://www.baigzeeshan.com/2010/03/creating-lov-in-ADF-application.html

    http://husaindalal.blogspot.de/2010/05/How-to-default-lov-with-its-first-value.html

  • Is it possible to refine "Item as database column" in the mail...

    Hello
    Is it possible to refine "Item as database column" in post reclassification calculation that it is not made by the update process
    number of items is more that I use the query, so I'd rather use the database column.


    concerning

    Published by: sak on July 5, 2010 12:00

    Published by: sak on July 5, 2010 12:01

    Published by: sak on July 5, 2010 12:05

    If you perform any calculation of post on a database "column", which is equivalent to a 'change' in value and therefore is detected as a change in the ApplyMRU process.

    You may need to write SRM custom for this when you manage the 'meaning' to update as you wish.

    Kind regards

  • How to remove the extra space of oracle database column

    How to remove the extra space of oracle database column. I would like to clean up the column in the database by deleting the extra space is entered by the dataentery people.

    When I run the query:
    SELECT
    ROWID, C.CODETABLE_ID, C.CODEVALUE_ID, C.DESCR, LENGTH (C.CODEVALUE_ID).
    C.OBSOLETE_DT, C.RECORDSOURCE, C.CREATED_DT,
    C.CREATEDBY, C.LASTUPDATED_DT, C.LASTUPDATEDBY
    OF CODEVALUE C
    Where LENGTH (C.CODEVALUE_ID) > 6

    the data type is varchar2 and I would get rid of the any extra blank space added to the column. in my case, if the length is greater than 6

    Hello

    user452051 wrote:
    Thanks for the reply. Why should I have this line?

    AND codevlaue_id! = TRIM (codevalue_id) - see note below
    ;

    I just changed my post when you posted this. The explanation is there now:

    Frank Kulash wrote:
    ...
    The condition "codevlaue_id!" = TRIM (codevalue_id)"does not change the results of everything, but it can make the most effective statement if there are lines where codevalue_id is on 6 characters long, but contains no additional space. It will prevent the triggers from firing and redo the data generated.

  • ORA-00998: must appoint this expression with a column alias

    Hi all

    Creates a table as below:

    create the table analytics_Sq.tmp_incalls_mar1 as
    SELECT TRUNC (transdate) AS hour, calltype c... result of the query.


    When will execute get error: ORA-00998: must appoint this expression with a column alias

    What should I do

    Hello

    AJAX name for these columns

    'PREP' ALIAS1, TRUNC (upddate) ALIAS2,SUM(CALLDURATION)   ALIAS3
    

    Kind regards
    Prazy

  • database column name gt is a obvious problem

    Hi all

    an existing database uses a column gt name.
    is there a way I can use this name in a cfif structure?
    ColdFusion automaticly recognizes as superior then, even when it is used between #.
    the problem is that I can not change the name of the column, because it is used in many parts of the application.

    is there a way to get around this?

    Thanks for any help!

    Alias column name. Something along the lines of:

    GT SELECT AS aliased_name
    TABLENAME

  • ORA-16772: shift to a backup database has no problem

    Hi all

    Can someone please help me with this situation, because I'm stuck. I already look at metalink but no post doesn't solve my problem.

    Here is some information on my problem.

    I have 2 servers via Vmware - oraclenode1 with primary database TEST1 and oraclenode2 with database ensures TEST2.

    Transfer journal successfully, but when I try to switch to the "TEST2" it throws me an error - ORA-16772: switching to a backup database failed

    DGMGRL > see Configuring

    Configuration - DGConfig1

    Protection mode: MaxPerformance

    Databases:

    Test1 - primary

    Test2 - Physical standby database

    Fast-Start Failover: DISABLED

    The configuration status:

    SUCCESS

    my listeners

    PRIMARY

    Oracle@oraclenode1 trace] $ lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 2 November 2015 06:55:24

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=oraclenode1) (PORT = 1521))

    STATUS of the LISTENER

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

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date 2 November 2015 03:56:41

    Uptime 0 days 2 h 58 min 42 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/oraclenode1/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.0.151) (PORT = 1521)))

    Summary of services...

    Service 'TEST1' has 1 instance (s).

    Instance "TEST1", status UNKNOWN, has 1 operation for this service...

    Service 'TEST1_DGMGRL' has 1 instance (s).

    Instance "TEST1", status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    [oracle@oraclenode1 path] $ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    LISTENER =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = tcp)(HOST=oraclenode1) (PORT = 1521))

    (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1571))

    )

    # What's new

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = TEST1)

    (SID_NAME = TEST1)

    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = TEST1_DGMGRL)

    (SID_NAME = TEST1)

    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)

    )

    )

    STANDBY

    [oracle@oraclenode2 path] $ lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 2 November 2015 06:55:02

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=oraclenode2) (PORT = 1521)))

    STATUS of the LISTENER

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

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date 2 November 2015 06:49:19

    Uptime 0 days 0 h 5 min 43 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/oraclenode2/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=oraclenode2) (PORT = 1521)))

    Summary of services...

    Service 'TEST2' has 2 occurrences.

    Instance "TEST2", status UNKNOWN, has 1 operation for this service...

    Instance "TEST2", State LOAN, has 1 operation for this service...

    Service 'TEST2_DGB' has 1 instance (s).

    Instance "TEST2", State LOAN, has 1 operation for this service...

    Service 'TEST2_DGMGRL' has 1 instance (s).

    Instance "TEST2", status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    [oracle@oraclenode2 path] $ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    # What's new

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = TEST2)

    (SID_NAME = TEST2)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = TEST2_DGMGRL)

    (SID_NAME = TEST2)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oraclenode2) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    IAM able to connect from standby and watch primary elementary school

    Here is the configuration each databases dgmgrl

    DGMGRL > see the database 'TEST1' verbose;

    Database - TEST1

    Role: PRIMARY

    State of destination: TRANSPORT-WE

    Occurrence (s):

    TEST1

    Properties:

    DGConnectIdentifier = "test1".

    ObserverConnectIdentifier = "

    LogXptMode = "ASYNC".

    DelayMins = '0'

    Binding = "optional."

    MaxFailure = '0'

    MaxConnections = '1'

    ReopenSecs = "300"

    NetTimeout = "30"

    RedoCompression = "DISABLE."

    LogShipping = 'ON '.

    PreferredApplyInstance = "

    ApplyInstanceTimeout = '0'

    ApplyParallel = 'AUTO '.

    StandbyFileManagement = 'AUTO '.

    ArchiveLagTarget = '0'

    LogArchiveMaxProcesses = "4"

    LogArchiveMinSucceedDest = '1'

    DbFileNameConvert = "

    LogFileNameConvert = "

    FastStartFailoverTarget = "

    StatusReport = "(monitor).

    InconsistentProperties = "(monitor).

    InconsistentLogXptProps = "(monitor).

    SendQEntries = "(monitor).

    LogXptStatus = "(monitor).

    RecvQEntries = "(monitor).

    HostName = "oraclenode1.localdomain."

    Nom_sid = "TEST1".

    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=oraclenode1.localdomain) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = TEST1_DGMGRL) (INSTANCE_NAME = TEST1)(SERVER=DEDICATED)))'

    StandbyArchiveLocation = ' / u01/app/oracle/flash_recovery_area /'

    AlternateLocation = "

    LogArchiveTrace = '0'

    LogArchiveFormat = '% t_%s_%r.dbf '.

    TopWaitEvents = "(monitor).

    State of the database:

    SUCCESS

    DGMGRL > see the detailed database "TEST2."

    Database - TEST2

    Role: STANDBY PHYSICS

    State of destination: apply

    Transport Lag: 0 seconds

    Apply the Lag: 10 minutes 24 seconds

    Real-time query: OFF

    Occurrence (s):

    TEST2

    Properties:

    DGConnectIdentifier = 'test2 '.

    ObserverConnectIdentifier = "

    LogXptMode = 'ARCH '.

    DelayMins = '0'

    Binding = "OPTIONAL."

    MaxFailure = '0'

    MaxConnections = '1'

    ReopenSecs = "300"

    NetTimeout = "30"

    RedoCompression = "DISABLE."

    LogShipping = 'ON '.

    PreferredApplyInstance = "

    ApplyInstanceTimeout = '0'

    ApplyParallel = 'AUTO '.

    StandbyFileManagement = 'AUTO '.

    ArchiveLagTarget = '0'

    LogArchiveMaxProcesses = "30"

    LogArchiveMinSucceedDest = '1'

    DbFileNameConvert = "/ TEST1 /, / TEST2 /.

    LogFileNameConvert = "/ TEST1 /, / TEST2 /.

    FastStartFailoverTarget = "

    StatusReport = "(monitor).

    InconsistentProperties = "(monitor).

    InconsistentLogXptProps = "(monitor).

    SendQEntries = "(monitor).

    LogXptStatus = "(monitor).

    RecvQEntries = "(monitor).

    HostName = "oraclenode2.localdomain."

    Nom_sid = 'TEST2 '.

    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=oraclenode2.localdomain) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = TEST2_DGMGRL) (INSTANCE_NAME = TEST2)(SERVER=DEDICATED)))'

    StandbyArchiveLocation = ' / u01/app/oracle/flash_recovery_area /'

    AlternateLocation = "

    LogArchiveTrace = '0'

    LogArchiveFormat = '% t_%s_%r.dbf '.

    TopWaitEvents = "(monitor).

    State of the database:

    SUCCESS

    and here are the logs at the time of the digital switchover

    primary

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.362: CRS to notify the primary database of disassembly of the passage to the

    2015-11-02 06:52:28.362 ACLS: not configured CRS, config = 2

    .

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.362: display primary instances for PASSAGE of phase 1

    2015-11-02 06:52:28.362 INSV: message received for publication of inter - the instance

    2015-11-02 06:52:28.362 req ID 1.1.516864462, CTL_SWITCH opcode, phase BEGIN, 5 flags

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.362: State of rfi_post_instances() for CTL_SWITCH = ORA-00000

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.363: dispersants message to STANDBY for TRANSITION phase BEGIN

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.363: entered rfmsoexinst for phase 1

    2015-11-02 06:52:28.363 INSV: response for message with

    2015-11-02 06:52:28.363 req ID 1.1.516864462, CTL_SWITCH opcode, phase BEGIN

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.365: primary instances display for transition to THE phase 2

    2015-11-02 06:52:28.365 INSV: message received for publication of inter - the instance

    2015-11-02 06:52:28.366 req ID 1.1.516864462, opcode CTL_SWITCH, disassembling, 5 flags

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.366: State of rfi_post_instances() for CTL_SWITCH = ORA-00000

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.366: dispersants message to STANDBY for transition to THE phase of DISMANTLING

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.366: entered rfmsoexinst for phase 2

    2015-11-02 06:52:28.366 RSM0: received the State value ask: rid = 0 x 01041001, sid = 0, phid = 1, econd = 2, sitehndl = 0 x 02001000

    2015-11-02 06:52:28.366 Log transport resources: SetState OFFLINE, DISASSEMBLY phase, external Cond SWITCH-OVER-PHYS_STBY

    2015-11-02 06:52:28.367 RSM0: received the State value ask: rid = 0 x 01011001, sid = 4, phid = 1, econd = 2, sitehndl = 0 x 02001000

    2015-11-02 06:52:28.367 [IAM = PRIMARY] Resource database: 0 x 02001000 SetState PHYSICAL-APPLY-ON, DISASSEMBLY phase, external Cond SWITCH-OVER-PHYS_STBY, handful of Site target

    2015-11-02 06:52:28.367 to execute SQL [ALTER DATABASE COMMIT to SWITCH STANDBY mode PHYSICS WITH the STOP of the SESSION]

    2015-11-02 06:57:50.523 runtime error SQL = 604, sql = [ALTER DATABASE COMMETTRE through to PHYSICAL STANDBY WITH the CLOSING of SESSION]. See the below error stack.

    2015-11-02 06:57:50.524 ORA-00604: error occurred at the SQL level 1 recursive

    2015-11-02 06:57:50.524 ORA-01093: ALTER DATABASE CLOSE allowed only with no connected sessions

    2015-11-02 06:57:50.524 ERROR: has no failover of the database to a database of physical intelligence.

    2015-11-02 06:57:50.524 RSM: compensation IncarnationTable internal property of the site 0 x 01010000

    2015-11-02 error 06:57:50.524 database resource SetState (16772)

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.526: resource guard returned the error: operation = status = ORA-16772

    2015-11-02 02001000 516864462 06:57:50.526 resources: TEST1 (01011001) State: PHYSICAL-APPLY-ON

    2015-11-02 06:57:50.526 02001000 516864462 CTL_SWITCH operation cancelled during phase 2, error = ORA-16772

    2015-11-02 06:57:50.526 INSV: response for message with

    2015-11-02 06:57:50.527 req ID 1.1.516864462, CTL_SWITCH, disassembling opcode

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.527: Instance ID 1 returned ORA-16772

    2015-11-02 06:57:50.527 02001000 516864462 for disassembling of op CTL_SWITCH.

    2015-11-02 06:57:50.527 02001000 516864462 CTL_SWITCH operation cancelled during phase 2, error = ORA-16772

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.527: display primary instances for PASSAGE of phase 5

    2015-11-02 06:57:50.527 INSV: message received for publication of inter - the instance

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.527: State of rfi_post_instances() for CTL_SWITCH = ORA-00000

    2015-11-02 06:57:50.528 req ID 1.1.516864462, CTL_SWITCH opcode, phase END, 5 flags

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.528: passage to the aborted due to errors

    2015-11-02 02001000 516864462 named Site 06:57:50.528: TEST1 is always primary

    2015-11-02 02001000 516864462 error 06:57:50.528 = ORA-16772

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.528: dispersants message to STANDBY for PASSING phase END

    2015-11-02 06:57:50.528 INSV: response for message with

    2015-11-02 06:57:50.528 req ID 1.1.516864462, CTL_SWITCH opcode, phase END

    2015-11-02 06:58:18.647 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:58:33.642 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:58:48.648 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:59:03.653 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:59:18.658 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:59:33.665 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:59:48.670 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 07:00:03.676 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 07:00:18.680 NSV1: Site TEST2 returned ORA-16664.

    2015-11-02 02001000 516864462 MICHAEL 07:00:18.680: TEST2 database returned ORA-16664

    2015-11-02 07:00:18.682 02001000 516864462 opcode = CTL_SWITCH, phase = END, req_id = 1.1.516864462

    2015-11-02 07:00:18.682 02001000 516864462 CTL_SWITCH operation cancelled during phase 5, error = ORA-16664

    2015-11-02 02001000 516864462 MICHAEL 07:00:18.682: entered rfm_release_chief_lock() for CTL_SWITCH

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.693: entered rfm_get_chief_lock() for EDIT_RES_PROP, reason 0

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.751: entered rfm_get_chief_lock() for EDIT_RES_PROP, reason 0

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.752: lock head convert to writing op EDIT_RES_PROP

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.752: EDIT_RES_PROP: success

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.752: critical state of STANDBY in configuration assessment

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.752: the critical condition of 0 x 02010000

    2015-11-02 01010000 516864464 ChangeCritical value 07:00:18.752 is FALSE

    2015-11-02 01010000 516864464 IsCritical 07:00:18.752 is FALSE

    2015-11-02 07:00:18.752 MICHAEL: update Seq.MIV to 0.17, write metadata in ' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/dr2TEST1.dat '.

    2015-11-02 07:00:18.760 INSV: message received for publication of inter - the instance

    2015-11-02 07:00:18.760 req ID 1.1.516864464, EDIT_RES_PROP opcode, RESYNCHRONIZATION, flags 8005

    2015-11-02 07:00:18.760 INSV: response for message with

    2015-11-02 07:00:18.760 req ID 1.1.516864464, opcode EDIT_RES_PROP, phase of RESYNCHRONIZATION

    2015-11-02 07:00:18.761 NSV1: (Seq.MIV = 0.17) start to send the metadata file: "/ u01/app/oracle/product/11.2.0/dbhome_1/dbs/dr2TEST1.dat".

    2015-11-02 07:00:18.765 NSV1: block sending #1 (containing Seq.MIV = 0.17), 3 blocks

    2015-11-02 07:00:18.767 NSV1: (Seq.MIV = 0.17) end of transmission of metadata files: opcode EDIT_RES_PROP (1.1.516864464)

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.771: IncarnationTable the value 1,1,894614568,0 property * for database TEST1

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.771: entered rfm_release_chief_lock() for EDIT_RES_PROP

    2015-11-02 07:03:45.002 516864468 00001000 MICHAEL: entered rfm_get_chief_lock() for MON_VERIFY, reason 0

    2015-11-02 07:03:45.002 516864468 00001000 MICHAEL: lock head convert to customer healthcheck

    2015-11-02 07:03:45.003 INSV: message received for publication of inter - the instance

    2015-11-02 07:03:45.003 req ID 1.1.516864468, MON_VERIFY opcode, phase BEGIN, 5 flags

    2015-11-02 07:03:45.070 INSV: response for message with

    2015-11-02 07:03:45.071 req ID 1.1.516864468, MON_VERIFY opcode, phase BEGIN

    2015-11-02 07:03:45.075 00000000 516864468 MICHAEL: entered rfm_release_chief_lock() for MON_VERIFY

    2015-11-02 07:03:59.377 RSM0: receipt get Request property: rid = 0 x 01010000, pid = 47

    2015-11-02 07:03:59.378 of database Resource: get the StatusReport property

    2015-11-02 07:03:59.435 database Resource successful GetProperty

    2015-11-02 01010000 516864469 MICHAEL 07:03:59.435: MON_PROPERTY finished

    2015-11-02 01010000 516864470 MICHAEL 07:03:59.440: GET_RES: success. (len = 9846)

    2015-11-02 01010000 516864470 MICHAEL 07:03:59.441: GET_RES finished

    2015-11-02 02010000 516864471 MICHAEL 07:04:23.258: MON_PROPERTY sent the TEST2 for treatment

    2015-11-02 02010000 516864471 MICHAEL 07:04:23.326: MON_PROPERTY finished

    2015-11-02 02010000 516864472 MICHAEL 07:04:23.330: MON_PROPERTY sent the TEST2 for treatment

    2015-11-02 02010000 516864472 MICHAEL 07:04:23.337: MON_PROPERTY finished

    2015-11-02 02010000 516864473 MICHAEL 07:04:23.339: MON_PROPERTY sent the TEST2 for treatment

    2015-11-02 02010000 516864473 MICHAEL 07:04:23.346: MON_PROPERTY finished

    2015-11-02 02010000 516864474 MICHAEL 07:04:23.351: GET_RES: success. (len = 9911)

    2015-11-02 02010000 516864474 MICHAEL 07:04:23.352: GET_RES finished

    Journal of primary education alerts

    My 02 Nov 06:52:28 2015

    ALTER DATABASE COMMIT TO SWITCH STANDBY MODE PHYSICS WITH THE STOP OF THE SESSION

    ALTER DATABASE COMMIT to SWITCH STANDBY mode PHYSICS [process Id: 5160] (TEST1)

    My 02 Nov 06:52:30 2015

    Thread 1 Advanced to record the sequence 80 (switch LGWR)

    Currently Journal # 2 seq # 80 mem # 0: /u01/app/oracle/TEST1/redo02.log

    Waiting for all non-current archive ORLs...

    Waiting for thread 1 sequence 79 ORL to archive...

    My 02 Nov 06:52:30 2015

    Arc0: Standby redo log file selected for thread 1 sequence 79 for destination LOG_ARCHIVE_DEST_2

    Archived journal 61 additional for each sequence 1 79 0x4bcbdbe8 dest ID thread entry 1:

    My 02 Nov 06:52:40 2015

    ENT for thread 1 sequence 79 have been archived...

    All non-current ORLs have been archived.

    Waiting for all FAL entries to archive...

    All FAL entries were archived.

    Waiting for dest_id 2 can be synchronized...

    My 02 Nov 06:52:50 2015

    Physical passage target Active, synchronized sleep has been identified

    My 02 Nov 06:52:50 2015

    SMON: disabling recovery tx

    All dispatchers/dispatchers and shared servers stop

    CLOSING: kill the server sessions.

    My 02 Nov 06:57:50 2015

    CLOSED: do not kill all active sessions

    CLOSURE: Close error 1093 in the database

    My 02 Nov 06:57:50 2015

    SMON: enabling the recovery of tx

    ORA-1093 marked during: ALTER DATABASE COMMETTRE through to PHYSICAL STANDBY WITH STOP SESSION...

    My 02 Nov 06:57:50 2015

    idle dispatcher "D000" completed, pid = (18: 13)

    From OCMS background process

    My 02 Nov 06:57:50 2015

    OCMS started with pid = 20, OS id = 14104

    STANDBY

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.549: display of bodies sleep for transition to THE phase 1

    2015-11-02 06:52:28.549 INSV: message received for publication of inter - the instance

    2015-11-02 06:52:28.549 req ID 1.1.516864462, CTL_SWITCH opcode, phase BEGIN, 5 flags

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.549: entered rfmsoexinst for phase 1

    2015-11-02 06:52:28.549 INSV: response for message with

    2015-11-02 06:52:28.549 req ID 1.1.516864462, CTL_SWITCH opcode, phase BEGIN

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.550: entered rfm_release_chief_lock() for CTL_SWITCH

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.713: entered rfm_get_chief_lock() for CTL_SWITCH, reason 0

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.713: lock head convert for passage to the

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.714: display of bodies sleep for transition to THE phase 5

    2015-11-02 06:57:50.714 INSV: message received for publication of inter - the instance

    2015-11-02 06:57:50.714 req ID 1.1.516864462, CTL_SWITCH opcode, phase END, 5 flags

    2015-11-02 06:57:50.714 INSV: response for message with

    2015-11-02 06:57:50.714 req ID 1.1.516864462, CTL_SWITCH opcode, phase END

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.714: entered rfm_release_chief_lock() for CTL_SWITCH

    2015-11-02 06:58:18.831 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:58:33.827 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:58:48.832 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:59:03.837 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:59:18.843 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:59:33.849 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:59:48.855 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 07:00:03.860 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 07:00:11.992 NSV0: unable to connect to the remote database TEST1. Error is ORA-12514

    2015-11-02 07:00:11.993 NSV0: could not send message to site TEST1. Error code is ORA-12514.

    2015-11-02 07:00:11.993 MICHAEL: database TEST1 returned ORA-12514

    2015-11-02 07:00:11.993 of opcode = CTL_SWITCH, phase = END, req_id = 1.1.516864462

    2015-11-02 07:00:18.864 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 07:00:18.946 DRCX: begin to receive the metadata file: "/ u01/app/oracle/product/11.2.0/dbhome_1/dbs/dr2TEST2.dat".

    2015-11-02 07:00:18.950 DRCX: received block #1 (containing Seq.MIV = 0.17), 3 blocks

    2015-11-02 07:00:18.952 DRCX: end of receiver metadata file: opcode EDIT_RES_PROP (1.1.516864464)

    2015-11-02 07:00:18.952 MICHAEL: entered rfm_get_chief_lock() for EDIT_RES_PROP, reason no. 1

    2015-11-02 07:00:18.952 00000000 516864464 MICHAEL: lock head convert for resynchronization of the metadata

    2015-11-02 07:00:18.953 00000000 516864464 MICHAEL: status of published instances of sleep for RESYNCHRONIZATION = ORA-00000

    2015-11-02 07:00:18.953 INSV: message received for publication of inter - the instance

    2015-11-02 07:00:18.953 req ID 1.1.516864464, EDIT_RES_PROP opcode, RESYNCHRONIZATION, flags 8005

    2015-11-02 07:00:18.953 MICHAEL: metadata available (1.1.516864464), loading of ' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/dr2TEST2.dat '.

    2015-11-02 07:00:18.953 to execute SQL [ALTER SYSTEM to REGISTER]

    2015-11-02 07:00:18.953 SQL [ALTER SYSTEM REGISTRY] executed successfully

    2015-11-02 07:00:18.955 MICHAEL:... .committing load memory, Seq.MIV = 0.17

    2015-11-02 07:00:18.955 MICHAEL: check the critical status of this database.

    2015-11-02 07:00:18.955 INSV: response for message with

    2015-11-02 07:00:18.955 req ID 1.1.516864464, opcode EDIT_RES_PROP, phase of RESYNCHRONIZATION

    2015-11-02 07:00:18.956 00000000 516864464 MICHAEL: entered rfm_release_chief_lock() for EDIT_RES_PROP

    2015-11-02 07:03:45.188 516864468 00001000 MICHAEL: entered rfm_get_chief_lock() for MON_VERIFY, reason 0

    2015-11-02 07:03:45.188 516864468 00001000 MICHAEL: lock head convert to customer healthcheck

    2015-11-02 07:03:45.189 INSV: message received for publication of inter - the instance

    2015-11-02 07:03:45.189 req ID 1.1.516864468, MON_VERIFY opcode, phase BEGIN, 5 flags

    2015-11-02 07:03:45.258 INSV: response for message with

    2015-11-02 07:03:45.259 req ID 1.1.516864468, MON_VERIFY opcode, phase BEGIN

    2015-11-02 07:03:45.259 00000000 516864468 MICHAEL: entered rfm_release_chief_lock() for MON_VERIFY

    2015-11-02 07:04:23.445 RSM0: receipt get Request property: rid = 0 x 02010000, pid = 47

    2015-11-02 07:04:23.445 of database Resource: get the StatusReport property

    2015-11-02 07:04:23.509 database Resource successful GetProperty

    2015-11-02 02010000 516864471 MICHAEL 07:04:23.510: MON_PROPERTY finished

    2015-11-02 07:04:23.516 RSM0: receipt get Request property: rid = 0 x 02010000, pid = 58

    2015-11-02 07:04:23.516 of database Resource: get the TransportLag property

    2015-11-02 07:04:23.518 database Resource successful GetProperty

    2015-11-02 02010000 516864472 MICHAEL 07:04:23.519: MON_PROPERTY finished

    2015-11-02 07:04:23.525 RSM0: receipt get Request property: rid = 0 x 02010000, pid = 59

    2015-11-02 07:04:23.525 of database Resource: get the ApplyLag property

    2015-11-02 07:04:23.529 database Resource successful GetProperty

    2015-11-02 02010000 516864473 MICHAEL 07:04:23.530: MON_PROPERTY finished

    Suspend alerts log

    Fatal OR connect 12514 error, connect to:

    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=oraclenode1) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TEST1_DGB) (CID = (PROGRAM = oracle) (HOST = oraclenode2.localdomain)(USER=oracle)))

    VERSION INFORMATION:

    AMT for Linux: Version 11.2.0.1.0 - Production

    Protocol TCP/IP NT to Linux adapter: Version 11.2.0.1.0 - Production

    Time: 2 November 2015 07:18:40

    Tracing not lit.

    AMT error struct:

    NS main err in code: 12564

    AMT-12564: TNS:connection refused

    NS secondary err code: 0

    NT main err in code: 0

    NT secondary err code: 0

    NT OS err code: 0

    Mon 02 Nov 07:19:25 2015

    RFS [5]: Journal selected 4 for thread 1 81 dbid 1271656936 branch of the 894614568 sequence

    Mon 02 Nov 07:19:25 2015

    Archived journal 34 extra for each sequence 1 81 0x4bcbdbe8 dest ID thread entry 1:

    Mon 02 Nov 07:19:25 2015

    RFS [6]: assigned to the RFS 5215 process

    RFS [6]: identified the type of database such as 'physical' standby: customer is ARCH pid 4933

    Mon 02 Nov 07:19:25 2015

    Recovery Media Log /u01/app/oracle/flash_recovery_area/1_81_894614568.dbf

    Media, recovery waiting for thread 1 sequence 82

    I guess that there something wrong with the configuration of the listener but no mater what im not able to find what.

    Thanks for all your answers

    One thing is sure to have active sessions that does not make the transition to digital. Query the session$ v, identify sessions and try to kill them at the DB level. Please refer to my previous post.

    If it is still a problem, then I think you might be hitting the bug.

    -Jonathan Rolland

  • Column alias

    Hello

    I'm using Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0.
    I would like to have an Alias for my columns in a query.
    The value of the main column is a date like 201204 Alias that should appear as column header during the execution of the query should be like Apr-2012


    So I want my output as

    April-12 May-12 June-12

    201204 201205 2012 - 06


    I use a query such as
    Select "2001204". " "'|| TO_CHAR (to_date('201204','yyyymm'), 'Mon-yy') | » » »
    Double;

    This does not give me the correct results. I'm doing something wrong?


    Thank you
    FM

    IQ says:
    Hello

    I'm using Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0.
    I would like to have an Alias for my columns in a query.
    The value of the main column is a date like 201204 Alias that should appear as column header during the execution of the query should be like Apr-2012

    So I want my output as

    April-12 May-12 June-12

    201204 201205 2012 - 06

    I use a query such as
    Select "2001204". " "'|| TO_CHAR (to_date('201204','yyyymm'), 'Mon-yy') | » » »
    Double;

    This does not give me the correct results. I'm doing something wrong?

    Thank you
    FM

    The datatypes/names/sizes and the number of columns in a query is called the 'projection' and is determined at the time of the analysis. This is why he cannot be determined by data without using 2 passes data (to determine what should look like the projection and a dynamic to query the data again with that dynamically generated projection).

    What you're trying to do is basically abuses the SQL engine and it's really something that is the best reporting tools that data from the request and then treat for formatting the output based on the data itself.

    {: identifier of the thread = 2309172}

  • Cut straight shape database columns

    I'm under Apex 4.0.2.00.8 with OracleXE 11.2 on SP3 of XP - Pro.

    I have a form to update several rows of simple database with columns that exceed the width of my screen.

    On I.e. 7.0.5730.13, when I use horizontal scrolling to see the right-hand columns. The columns on the Board are cut and the rest are not displayed. If I refresh the screen, he backs up on the left side. CANCEL, DELETE, and SUBMIT buttons display correctly.

    I have used several models of different region, all with the same problem.

    On Firefox and Chrome 13.0.782.112 6.0, it is not a horizontal bar available.

    Is there a setting that will allow the right to update or signals to Firefox or Chrome that the form is greater than the width of the page?

    Thanks - JR

    Hello

    Try below in your header and footer area

    * Please remove the spaces between the s t y l e. If I wrote it without spaces forums was not able to reproduce.

    ----
    Lavenu
    MaxApex accommodation
    http://www.maxapex.com

  • Yosemite postfix alias - problems

    I have always used the postfix aliases in older versions of the OS X server without any problem

    It seems problematic to after moving to Yoesmite...

    I learned that they are by default not enabled. and so I uncommented the following main.cf lines in/Library/Server/Mail/Config/postfix

    local_recipient_maps = proxy:unix:passwd.byname $alias_maps

    alias_database = hash: / etc/aliases

    alias_maps = hash: / etc/aliases

    And I also learned that the installation includes standard postfix versions changed by Apple to executables (which came as a bit of a surprise!)

    So after editing main.cf and alias that I did:

    newaliases

    postmap - c/Library/Server/Mail/Config/postfix/Library/Server/Mail/Config/postfix/access

    Postfix - c/Library/Server/Mail/Config/postfix reload

    , but no joy.  The client cannot send the message, then we can assume that the server rejects the user (with an alias).

    Annoyingly, I had it worked briefly but managed to break it again.

    I would be very grateful for any advice, thanks

    Are you sure that you meant:

    / Library/Server/Mail/Config/postfix/access

    and is not

    / Library/Server/Mail/Config/postfix/aliases

    In all cases, you must use postalias and postmap not for the alias local

    for example:

    sudo newaliases

    sudo postalias alias

    sudo postfix reload

    postmap is used for virtual aliases inside e.g./Library/Server/Mail/Config/postfix/virtual_users

    To avoid having to specify the path every time, you can add

    Tents/ServerRoot/usr/sbin Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Con

    to your PATH variable.

    See here:

    Ed-output-on-OS-x-Server-5/ https://topicdesk.com/FAQs/Why-do-postconf-n-and-postfix-Reload-Produce-Unexpect

    Also, make sure that you put your alias file in/Library/Server/Mail/Config/postfix and not/etc to ensure consistency

    HTH,

    Alex

  • pair of value/label for control dynamicallly ring populated from database column

    Hi all

    I have a control of the ring in my UI that I need to dynamically fill columns from the MS SQL database. I can get the result of the database and line-by-line reading. So to create a table with the pairs value/label and pouplate control of the ring using InsertListItem? or is there a better way to do it?

    Thank you

    Kanu

    I'm not aware of a method to populate one control ring other than a loop in your table and by calling InsterListItem for each element of the array.

Maybe you are looking for

  • HP SlateBook x 2

    Hi all! I buy HP SlateBook 10-h001er x 2, and after that connection to the Internet, it has been updated its firmware on 4.3 Android. Is everything ok? Not so... after the restart, Tablet began to lose touch screen. It seemed like a gel, but this isn

  • controller driver Ethernet HP computers laptop 8460p

    My apologies if this is the wrong Board. I'm trying to gather the drivers for the OSD. Having a little trouble with the p 8460. I build x 64 Windows 7 and I can't find the right driver. Everything I've tried on the download page has not worked. Anyon

  • area local dosen't have a valid ip config

    My dosent area get a valid ip config

  • product keys for office 2010

    I need product keys for office 2010, activate. someone please asist me how to get. I tried, but all in vain...

  • Troubled Smartphone blackBerry desktop software 4.7

    Hey buddies IM install one on a cd I got the vodafone bb pack. The installation works fine until the end where this error pops up "Error 1935.an error occurred during the installation of Assembly component {97f81af1-0e47-dc99-a01f-c8b3b9a1e18e}. HRES