Error ORA-17503 at the start of the instance data in the CARS

Hello!

I installed Oracle 11 g SE (11.2.0.4) with CARS with 2 nodes on RedHat 7.1 with separation of roles (grid and oracle db run under different users)

Just after installation it worked, I was able to connect to the database, create a table and see it on the two nodes of the RAC.

But after restarting the servers, I can not make it works again

Maybe someone could help me understand what I am doing wrong?

When I'm trying to start a database on the vm-ora-05 node instance, I get this:

sqlplus/nolog

01:35:22 @: > connect / as sysdba

Connect to an instance is idle.

01:35:28 SYS @ racdba1: > start

ORA-01078: failure in the treatment of system settings

ORA-01565: error in the identification of file "+ DATA/racdba/spfileracdba.ora".

ORA-17503: ksfdopn:2 could not open the file +DATA/racdba/spfileracdba.ora

ORA-12547: TNS: lost contact

01:35:32 SYS @ racdba1: >

**********************************

Environment variables for GRID

ORACLE_HOME=/U01/app/11.2.0.4/grid

ORACLE_SID = + ASM1

Environment variables for Oracle DB

ORACLE_HOME=/U01/app/Oracle/11.2.0.4/rachome1

ORACLE_SID = racdba1

**********************************

If I check the status of the disk groups and +DATA/racdba/spfileracdba.ora asmcmd file it seems to be Ok (for me at least)

[grid of grid@+ASM1] $asmcmd

ORACLE_SID = [+ ASM1]?

The Oracle base remains unchanged with the value/u01/app/oracle

[+] ASMCMD > lsdg

State Type sector Rebal to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files name of the block

EXTERN MOUNTED N 512 4096 1048576 5121 4725 0 4725 0 SRC /.

EXTERN MOUNTED N 512 4096 4194304 153596 151240 0 151240 0 N DATA.

EXTERN MOUNTED N 512 4096 4194304 153596 153020 0 153020 0 N FRA.

ASMCMD [+] > ls-l +DATA/racdba/spfileracdba.ora

Name of type Redund time scratched Sys

N spfileracdba.ora = > +DATA/RACDBA/PARAMETERFILE/spfile.267.894291829

ASMCMD [+] > ls-l +DATA/RACDBA/PARAMETERFILE/spfile.267.894291829

Name of type Redund time scratched Sys

Fichier_parametres UNPROT COARSE NOV 03 01:00 Y spfile.267.894291829

**********************************

At the same time, do not know why oracleasm scandisks/listdisks appear not all discs...

[root@vm-ora-05 Diba] # / usr/sbin/oracleasm scandisks

Reload from disk partitions: fact

Cleaning up stale ASM disks...

ASM disks scanning system...

[root@vm-ora-05 Diba] # / usr/sbin/oracleasm listdisks

[root@vm-ora-05 Diba] #.

**********************************

Here is the result of the res stat-[NULL] crsctl you and crsctl check cluster

[grid@+ASM1 grid] $crsctl res stat - you

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

TARGET STATE SERVER STATE_DETAILS NAME

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

Local resources

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

ORA. CRS.dg

Vm-ora-05 online

ORA. DATA.dg

Vm-ora-05 online

ORA. FRA.dg

Vm-ora-05 online

ORA. LISTENER.lsnr

Vm-ora-05 online

ORA.asm

LINE Started vm-ora-05 online

ORA. GSD

In offline mode offline vm-ora-05

ORA.net1.Network

Vm-ora-05 online

ORA.ons

Vm-ora-05 online

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

Cluster resources

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

ORA. LISTENER_SCAN1. LSNR

1 vm-ora-05 online

ORA. CVU

1 vm-ora-05 online

ORA. OC4J

1 vm-ora-05 online

ORA.racdba.db

1 stop an Instance offline online

Terminating the Instance offline in LINE 2

ORA.scan1.VIP

1 vm-ora-05 online

Ora - ora. VM - 05.vip

1 vm-ora-05 online

Ora - ora. VM - 06.vip

1 in LINE THROUGH MORE out of vm-ora-05

[grid@+ASM1 grid] $crsctl check cluster

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

[grid@+ASM1 grid] $

Please help, this problem makes me crazy)

-rwxr-x---x 1 grid 209854149 28 Oct 02:10 /u01/app/11.2.0.4/grid/bin/oracle oinstall

^ ^ This x must do for setuid/setguid not x for execute

Check the docs on setuid/setguid and this note:

ASM login fails with ORA-12547: TNS: lost contact (Doc ID 1942740.1)
https://docs.Oracle.com/CD/E19683-01/816-4883/secfile-69/index.html

This should solve the problem:

/U01/app/11.2.0.4/grid/bin/Oracle chmod 6751

Concerning

Thomas

Tags: Database

Similar Questions

  • Error ORA-600 on the Production Oracle Applications Instance

    Hello

    We get the error ORA-600 on the Instance of the Production Oracle Applications.

    Can any body suggest how to solve this problem.


    We got the error on 30 - Mar below... but the instance is up & running.

    Error as follows:
    ==========

    error occurred at the SQL level 1 recursive
    to "DMSYS. OLAPIHISTORYRETENTION', line 1
    [internal error code, arguments: [16206], [4294951254], [] [] [], [], []]
    internal error code, arguments: [16206], [4294951254]



    Thanks in advance for your help.

    Thank you
    Mudunuri Billon.

    What version of Oracle?

  • error ORA-20001: in the window of the geolocation

    When to access addresses, in packed geolocation application, I receive the following error message:

    ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist

    Is this a bug in the application packed?

    I use apex.oracle.com to test this packaged application...

    Also not able to save an area of interest with a polygon

    1 error has occurred

    Hello

    In general, it should work - I have also tested the app on apex.oracle.com.

    First question:

    from your description, it seems that the packaged application installation did not create all or part required correctly tables.

    Can you check (via SQL Workshop) that the tables EBA_SPATIAL_ADDRESSES, EBA_SPATIAL_IMAGES and EBA_SPATIAL_AOI exist...?

    If this is not the case, try to remove and reinstall the application. One reason might be that your workspace quota is already maxed out and who

    There is simply no space left for the required tables...

    Question 2: the steps are:

    1) click the icon 'blue' polygon on the map

    2) click on the points of the polygon you want to draw

    3) click 'Finish' in the lower corner of the map

    (4) specify a name for the 'area of interest '.

    5) click "Save".

    Of course, this also requires the tables to be present...

    Hope this helps

    Best regards

    Carsten-

  • Error ORA-27418 creating the calendar for DBMS_SCHEDULER

    Hello world

    Im trying to set up a schedule for dbms_scheduler on Oracle 11 g 2 test user sys like this server:

    run DBMS_SCHEDULER. () CREATE_SCHEDULE
    repeat_interval = > ' FREQ = DAILY; BYHOUR = 10:30 '.
    start_date = > to_timestamp_tz ('2013-03-11 Europe/Berlin ',' YYYY-MM-DD TZR').
    schedule_name = > 'FULLBACKUP_DAILY');


    But I get an error ORA-27418 and ORA-06512:

    DBMS_SCHEDULER BEGIN. CREATE_SCHEDULE (repeat_interval = > ' FREQ = DAILY;) BYHOUR = 10:30 ', start_date = > to_timestamp_tz ('2013-03-11 Europe/Berlin ',' YYYY-MM-DD TZR'), schedule_name = > 'FULLBACKUP_DAILY'); END;

    *
    FEHLER in line 1:
    ORA-27418: Syntaxfehler in Wiederholungsintervall oder Kalender
    ORA-06512: in 'SYS. DBMS_ISCHED ', line 997 '.
    ORA-06512: in 'SYS. DBMS_SCHEDULER', line 1486
    ORA-06512: In line 1

    I had no right as sys to configure a scheduler or forgot to activate something?

    Thanks for the help!

    Kind regards
    David

    Hello

    Could you try following interval?

    repeat_interval => 'FREQ=DAILY;BYHOUR=10;BYMINUTE=30'
    

    Kind regards

  • raise errors ora-01426 truncating the table

    Hello

    We have a process that runs in the following process for some tabls game
    1 disable constraints
    2. the truncating tables
    3. activation of the constraints

    but after treatment for 5 tables, truncating up error

    BEGIN < process name >; END;



    *

    ERROR on line 1:

    ORA-01426: digital overflow

    ORA-06512: at the "< procedurename >", line 33

    ORA-06512: at line 1


    This line 33 point to run immeidate ' truncate table < table name >

    Can I know what is the reason for throwing "digital overflow" error truncating the table...

    Thanks in advance

    user9080289 wrote:
    Thank you.

    Is my verision of oracle 11g

    Then, you could have the described bug. Follow the instructions how to bypass (flush with low-value stats monitoring) or apply the #8226471 patch.

    Nicolas.

  • SQL error: ORA-31038: invalid number '420,05' when extracting data from XML

    Hello everyone ,

    J’ai créé dieting

    DBMS_XMLSCHEMA. REGISTERSCHEMA (SCHEMAURL = > 'OrdenDetalle.xsd', SCHEMADOC = > ' <? xml version = "1.0" encoding = "UTF?) 8 "? >

    " < xs: schema xmlns: XS =" http://www.w3.org/2001/XMLSchema ">

    < xs: element name = "Monsigniore" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "Quantity" type = "Integer" / >

    < xs: element name = "FechaCreacion" type = "xs: DateTime" / >

    < xs: element name = "Version" type = "xs: String" / >

    < xs: ELEMENT ref = "News" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < xs: element name = "News" >

    < xs: complexType >

    < xs: Choice >

    < xs: element name = "OrdenCompra" type = "T_OrdenCompra" / >

    < / xs: Choice >

    < / xs: complexType >

    < / xs: element >

    < name XS: complexType = "T_OrdenCompra" >

    < xs: SEQUENCE >

    < xs: element name = "Code" type = "xs: String" / >

    < xs: element name = "Number" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoEstado" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoLicitacion" type = "xs: String" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Description" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoTipo" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Type" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TipoMoneda" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "State" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoEstadoProveedor" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "EstadoProveedor" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: ELEMENT ref = "Fechas" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TieneItems" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "PromedioCalificacion" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CantidadEvaluacion" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Well" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Freighters" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TotalNeto" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "PorcentajeIva" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Impuestos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Total" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Financing" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Country" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TipoDespacho" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FormaPago" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: ELEMENT ref = "Comprador" minOccurs = "0" maxOccurs = "1" / >

    < xs: ELEMENT ref = "Proveedor" minOccurs = "0" maxOccurs = "1" / >

    < xs: ELEMENT ref = "Items" minOccurs = "0" maxOccurs = "1" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < xs: element name = "Items" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "Quantity" type = "Integer" / >

    < xs: element name = "News" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: ELEMENT ref = "Item" minOccurs = "0" maxOccurs = "unbounded" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < name XS: complexType = "OrdenCompraBusqueda" >

    < xs:complexContent >

    < xs:extension base = "T_OrdenCompra" >

    < / xs:extension >

    < / xs:complexContent >

    < / xs: complexType >

    < xs: element name = "Item" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "Correlativo" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoCategoria" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Category" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoProducto" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Product" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "EspecificacionComprador" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "EspecificacionProveedor" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Quantity" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Moneda" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    "< xs: element name ="PrecioNeto"type ="XS: Decimal"minOccurs ="0"maxOccurs ="1"/ >

    < xs: element name = "TotalCargos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TotalDescuentos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TotalImpuestos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Total" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < xs: element name = "Fechas" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "FechaCreacion" type = "xs: DateTime" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FechaEnvio" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FechaAceptacion" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FechaCancelacion" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FechaUltimaModificacion" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < xs: element name = "Comprador" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "CodigoOrganismo" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "NombreOrganismo" type = "xs: String" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "RutUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoUnidad" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "NombreUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Activity" type = "xs: String" nillable = "true" / >

    < xs: element name = "DireccionUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "ComunaUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "RegionUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Country" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "NombreContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CargoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FonoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "MailContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < xs: element name = "Proveedor" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "Code" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Number" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Activity" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoSucursal" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "NombreSucursal" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "RutSucursal" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Address" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Comuna" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Region" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Country" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "NombreContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CargoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FonoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "MailContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < / xs: Schema >

    ', LOCAL = > true, GENTYPES = > false, GENBEAN = > false, GENTABLES = > false,

    FORCE = > false, OPTIONS = > DBMS_XMLSCHEMA. REGISTER_BINARYXML, OWNER = > USER);

    I have a table with one xml domain.

    CREATE TABLE XML_Orden_Detalle (Fecha_GET date default current_date not null,

    Fecha_Ordenes number not null,

    Correlativo_Ordenes number not null,

    Codigo_Orden varchar2 (20) not not null primary key,

    Cant_Item,

    Date of InicioProceso,

    Date of FinProceso,

    Xmltype Orden_Detalle not null)

    Orden_Detalle XMLTYPE COLUMN

    STORE AS BINARY XML

    XMLSCHEMA " " http://xmlns.Oracle.com/xdb/schemas/CCS_XML/OrdenDetalle.xsd "" "

    ELEMENT "command";


    I inserted data like that, without any Errors:

    " < Command containing = ' http://www.w3.org/2001/XMLSchema "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance ">

    < Number > 1 < / quantity >

    < FechaCreacion > 2015-05-28T 12: 10:26.947000 < / FechaCreacion >

    v1 < version > < / Version >

    < Return >

    < OrdenCompra xsi: type = "OrdenCompraBusqueda" >

    3879-2661-SE14 < code > < / code >

    < Number > PSP DAEM 2014.  COFFEE BREAK PARA FRINGE OP21838 < / number >

    < CodigoEstado > 6 < / CodigoEstado >

    3902 5-on 14 < CodigoLicitacion > < / CodigoLicitacion >

    < Description > PSP DAEM 2014.  COFFEE BREAK PARA FRINGE OP21838 < / description >

    < CodigoTipo > 8 < / CodigoTipo >

    < Type > SE < / Type >

    < TipoMoneda > CLP < / TipoMoneda >

    Is < State > < / Estado >

    < CodigoEstadoProveedor > 4 < / CodigoEstadoProveedor >

    Is < EstadoProveedor > < / EstadoProveedor >

    < Fechas >

    < FechaCreacion > 2014-12-29T 17: 43:32.287000 < / FechaCreacion >

    < FechaEnvio > 2014-12-31T 10: 32:35.480000 < / FechaEnvio >

    < FechaAceptacion > 2015 - 01-01 T 21: 03:03.660000 < / FechaAceptacion >

    < FechaCancelacion xsi: Nil = "true" / >

    < FechaUltimaModificacion > 2014-12-29T 17: 51:00.000000 < / FechaUltimaModificacion >

    < / Fechas >

    < TieneItems > 1 < / TieneItems >

    < PromedioCalificacion > 5 < / PromedioCalificacion >

    < CantidadEvaluacion > 1 < / CantidadEvaluacion >

    < Well > 0 < / well >

    cargo <>0 < / cargo >

    < TotalNeto > 53782 < / TotalNeto >

    < PorcentajeIva > 19 < / PorcentajeIva >

    < Impuestos > 10218 < / Impuestos >

    < total > 64000 < / Total >

    < Financing > 1140569 < / financing >

    < Country > CL < / Pais >

    < TipoDespacho > 12 < / TipoDespacho >

    < FormaPago > 2 < / FormaPago >

    < comprador >

    < CodigoOrganismo > 118069 < / CodigoOrganismo >

    < NombreOrganismo > Ilustre municipalidad of Bulnes < / NombreOrganismo >

    < RutUnidad > 69.141.200 - 8 < / RutUnidad >

    < CodigoUnidad > 4799 < / CodigoUnidad >

    Daem < NombreUnidad > < / NombreUnidad >

    < Actividad / >

    < DireccionUnidad > VICTOR BIANCHI Nº415 < / DireccionUnidad >

    Bulnes < ComunaUnidad > < / ComunaUnidad >

    < RegionUnidad > Region del Biobio < / RegionUnidad >

    < Country > CL < / Pais >

    Antonella Brunetti < NombreContacto > < / NombreContacto >

    Adquisiciones < CargoContacto > < / CargoContacto >

    < FonoContacto > 56-42-2204053-2204054 < / FonoContacto >

    < MailContacto > [email protected] < / MailContacto >

    < / comprador >

    < Proveedor >

    < Code > 275020 < / code >

    Luis < number > < / number >

    < Activity > MANUFACTURING OF PAN, BLOCK PANADERIA Y PRODUCTOS < / activity >

    < CodigoSucursal > 280820 < / CodigoSucursal >

    Luis < NombreSucursal > < / NombreSucursal >

    < RutSucursal > 5.940.940 - 9 < / RutSucursal >

    < Address > Carlos Palacios 125 < / address >

    Bulnes < Comuna > < / Comuna >

    Region del Biobio < region > < / region >

    < Country > CL < / Pais >

    < NombreContacto > Luis Leonardo Valdés Landero < / NombreContacto >

    Gerente < CargoContacto > < / CargoContacto >

    < FonoContacto > (56) (42) 631498 < /FonoContacto >

    < MailContacto > [email protected] < / MailContacto >

    < / Proveedor >

    elements <>

    < Quantity > 7 < / quantity >

    < Return >

    < item >

    < Correlativo > 1 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > 3 LITROS BEBIDAS < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 10 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 1550 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 15500 < / Total >

    < / point >

    < item >

    < Correlativo > 2 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > DEEMED OF 1 1/2 LITYROS < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 10 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 1150 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 11500 < / Total >

    < / point >

    < item >

    < Correlativo > 3 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > PACKAGES SERVILLETAS < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 8 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 170 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 1360 < / Total >

    < / point >

    < item >

    < Correlativo > 4 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > pounds OF AZÚCAR < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 5 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 580 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 2900 < / Total >

    < / point >

    < item >

    < Correlativo > 5 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > NESCAFE < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 2 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 3900 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 7800 < / Total >

    < / point >

    < item >

    < Correlativo > 6 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > CAJAS OF TE 20 BOWL < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 5 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 340 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 1700 < / Total >

    < / point >

    < item >

    < Correlativo > 7 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    TRITON GALLETAS < EspecificacionComprador > < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 31 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto >420,05< / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 13021,550000000001 < / Total >

    < / point >

    < / News >

    < / object >

    < / OrdenCompra >

    < / News >

    < / Monsigniore >

    However when I extract data, for example:


    Select *.

    from xmltable (to_char (' / Monsigniore/news/OrdenCompra/Items/News/Item[1] ''))

    passage (select Orden_Detalle

    of xml_Orden_Detalle

    where Fecha_Ordenes = 20150101 and Correlativo_ordenes = 83)

    path of columns Correlativo varchar2 (15) 'Correlativo '.

    , Path of varchar2 (15) CodigoCategoria 'CodigoCategoria '.

    , Path Categoria Varchar2 (100 CHAR) "category.

    , Path of varchar2 (15) CodigoProducto 'CodigoProducto '.

    , Path of Producto Varchar2 (100 CHAR) 'product '.

    , Path of the EspecificacionComprador Varchar2 (100 CHAR) "EspecificacionComprador".

    , Path of the EspecificacionProveedor Varchar2 (100 CHAR) "EspecificacionProveedor".

    , Amount varchar2 (15) path 'amount '.

    , Path of the Moneda Varchar2 (16 CHAR) "Moneda".

    , Path of varchar2 (15) PrecioNeto 'PrecioNeto '.

    , Path of varchar2 (15) TotalCargos 'TotalCargos '.

    , Path of varchar2 (15) TotalDescuentos 'TotalDescuentos '.

    , Path of varchar2 (15) TotalImpuestos 'TotalImpuestos '.

    , Path of varchar2 (15) total 'Total '.

    );


    delivery the following error:


    Informed of error:

    SQL error: ORA-31038: Valor number no valido: "420,05."

    «31038 00000 - "value not valid %s: \"%s\»»

    * Cause: The text in the XML document does not represent a valid

    value given the data type and other constraints in the schema.

    * Action: Make sure the value specified in the XML documents is valid

    regarding the data type and other constraints in the schema.

    Note that extract le agenda [1] but the reported error is à la point [7]

    Please If anyone can Help me with le solution for no report error

    Thank you very much in advance

    Carlos

    in Chile, the decimal point are ', 'no'.', the xml data table is OK for us

    You do not understand.

    Regardless of the locale, numeric values limited by a type of data XS: Decimal must use a point in a correct XML representation, otherwise, the document is not valid by the XSD.

    (3) TO_CHAR (...) the code is part of a procedure

    Again, do NOT build a dynamic path like that.

    Why not just move through the records returned by the query (if you need close at all)?


    FOR rec in)

    SELECT x.*

    From your_table t

    XMLTABLE (...) x

    )

    LOOP

    END LOOP;


    What is the role of the v_CantItems variable? Paging?

    Whence its value?

  • SQL error: ORA-00910: specified length too long for its data type

    Using Oracle 11.2.0.1 on Oracle Linux 5.8 x 64

    I try to install Zabbix http://www.zabbix.com and uses the Oracle database as the data store. The script of the diagram provided below does not work.
    CREATE TABLE maintenances (
         maintenanceid            number(20)                                NOT NULL,
         name                     nvarchar2(128)  DEFAULT ''                ,
         maintenance_type         number(10)      DEFAULT '0'               NOT NULL,
         description              nvarchar2(2048) DEFAULT ''                ,
         active_since             number(10)      DEFAULT '0'               NOT NULL,
         active_till              number(10)      DEFAULT '0'               NOT NULL,
         PRIMARY KEY (maintenanceid)
    );
    When I run it, I get
    Error at Command Line:5 Column:42
    Error report:
    SQL Error: ORA-00910: specified length too long for its datatype
    00910. 00000 -  "specified length too long for its datatype"
    *Cause:    for datatypes CHAR and RAW, the length specified was > 2000;
               otherwise, the length specified was > 4000.
    *Action:   use a shorter length or switch to a datatype permitting a
               longer length such as a VARCHAR2, LONG CHAR, or LONG RAW
    According to the oracle documentation for nvarchar2 limit is 4000. What am I missing here?

    "4000 bytes is the ultimate maximum." You can say 4000 * characters *, but it will always be limited to 4000 * bytes *. "
    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:1224836384599 #201073000346459201\

    "The maximum length of the column is determined by the definition of national character set. The width of the character NVARCHAR2 data specifications match the number of characters. The authorized maximum column size is 4000 bytes. »
    http://docs.Oracle.com/CD/E11882_01/server.112/e26088/sql_elements001.htm#SQLRF50976

    Furthermore, you treat numbers as STRINGS, remove the quotes around your zero.

  • Error ORA-01115 creating the materialized view

    Hi friends,

    When I create a materialized view it by throwing some error

    CREATE THE PNR_RES_MV MATERIALIZED VIEW
    TABLESPACE FAS
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    IMMEDIATE CONSTRUCTION
    REFRESH THE STRENGTH TO DEMAND
    WITH THE PRIMARY KEY
    AS
    SELECT C_CREATION_DATE, C_PNR, B.CARRIER_CD1, B.CARRIER_CD2, B.CURRENT_STATUS_CD, A.CANCELLED_IND, A.BOOKING_OFFC_NMBR,-, B.LEG_NMBR, C_PAX_NMBR
    COUNT (CASE WHEN TRIM (B.CURRENT_STATUS_CD) = "HK" AND (TRIM (C_CHANGE_OR_CANCELL_IND) = "OR C_CHANGE_OR_CANCELL_IND IS NULL) THEN 1 OTHER TRAILING NULL) CONFIRMED_COUNT,.
    COUNT (CASE WHEN (B.CURRENT_STATUS_CD) TRIM = "HK" AND (TRIM (C_CHANGE_OR_CANCELL_IND) = "or C_CHANGE_OR_CANCELL_IND IS NULL) null THEN 1 OTHER END) cancELLED_COUNT
    OF PNR_RES_LEG_PAX_MV B, PNR_RES HAS
    WHERE A.PNR = B.PNR
    AND a.CREATION_DATE = b.CREATION_DATE
    - and A.BOOKING_OFFC_NMBR = '1F'
    - AND C_PNR = 'XE76V. '
    AND A.FILE_UPDATE_DATE. A.UPDATE_DATE IN (SELECT MAX (D.FILE_UPDATE_DATE |)) (UPDATE_DATE) OF PNR_RES D WHERE D.PNR = B.PNR AND D.CREATION_DATE = B.CREATION_DATE)
    GROUP OF C_CREATION_DATE, C_PNR, B.CARRIER_CD1, B.CARRIER_CD2, B.CURRENT_STATUS_CD, A.CANCELLED_IND, A.BOOKING_OFFC_NMBR;



    When executing it it gives this error


    ORA-01115: reading block IO file error 4 (block # 63757)
    ORA-01110: data file 4: ' D:\APP\IGT\ORADATA\ORCL\USERS01. DBF'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read the file
    S/O-error: (27 OS) the drive cannot find the sector requested.



    And I checked through RMAN

    RMAN > validate the audit logic datafile 4;

    From post 11 March 14
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 127 type device = DISK
    channel ORA_DISK_1: starting from the data file validation
    channel ORA_DISK_1: datafile (s) for specification validation
    Enter a number of file datafile = 00004 name = D:\APP\IGT\ORADATA\ORCL\USERS01. DBF
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure to validate the command channel ORA_DISK_1 11/03/2014 13:0
    04:12
    ORA-19501: read error on the file 'D:\APP\IGT\ORADATA\ORCL\USERS01. DBF', block numbe
    r 63745 (block size = 8192)
    ORA-27070: async read/write failed
    OSD-04016: error queuing an asynchronous i/o request.
    S/O-error: (27 OS) the drive cannot find the sector requested.



    Please suggest me what to do it is a mistake to associate related database or OS. DB version is - 11 GR 2


    Kind regards


    Arya


    This is the error message that you should focus:

    > O/S-error: (27 OS) the drive cannot find the sector requested.

    Run disk checker utilities, eventually the file system is damaged.

    Hemant K Collette

  • Error ORA-01008 on the process page

    Hi all

    I get a ' ORA-01008: not all variables bound "error when saving a process in a page. Here is an overview of the process. All bind variables are used in other processes on the same page with no problems.
    DECLARE
    I_EMAIL_SUBJECT      VARCHAR2(100);
    I_EMAIL_BODY         VARCHAR2(4000);
    I_EMAIL_RESULT       NUMBER;
    I_PROCESS_NAME       VARCHAR2(100)  := 'INPUT - Cancel Form';
    
    I_FORM_NUMBER        NUMBER  := TO_NUMBER(:P12_IFORPSP_KEY,'999999');
    I_FORM_VERSION       NUMBER  := TO_NUMBER(:P12_FORM_VERSION,'999999');
    
    I_FUNC_RETURN        VARCHAR2(400)  := NULL;
    
    E_CUSTOM_ERROR       EXCEPTION;
    I_ERROR_MSG          VARCHAR2(4000);
    
    BEGIN
    
       BA_HR_IFO_util_pkg.add_debug_line('-- START --',I_PROCESS_NAME);
       
       --------------------------------
       -- Change WF Step to 'Canceled'
       --------------------------------
       BA_HR_IFO_util_pkg.add_debug_line('Set WF Step to Canceled ',I_PROCESS_NAME);
       -- The function below is triggering the error
       I_FUNC_RETURN := BA_HR_IFO_util_pkg.update_wf_step(p_form_no  => I_FORM_NUMBER,
                                                          p_form_ver => I_FORM_VERSION,
                                                          p_created_by => TO_CHAR(:P12_CREATED_BY),
                                                          p_step_status => TO_CHAR('Canceled'),
                                                          p_next_step_name => TO_CHAR('Canceled Form'),
                                                          p_flex_hiring_freeze => TO_CHAR(:F103_FLEX_HIRING_FREEZE));
       IF I_FUNC_RETURN <> 'S' THEN
          -- Set ERROR msg
          BA_HR_IFO_util_pkg.add_debug_line('Error '||I_FUNC_RETURN,I_PROCESS_NAME);
          I_ERROR_MSG := 'Error: '||I_FUNC_RETURN;
          RAISE E_CUSTOM_ERROR;
       END IF;
    I am using Oracle 11g, APEX 3.2.1

    The function is declared on a package in the same pattern. All the parameters of the function are included. The error seems to be when you call the function. However, I have a use this function and bind variables in other procedures.

    This is my first post. I hope I included enough information.

    Thanks in advance for your help

    Carlos

    You can try something like:

    DECLARE
    ...
    I_CREATED_BY      varchar2(100); -- enter correct size here
    I_F103_FLEX_HIRING_FREEZE varchar2(100); -- enter correct size here
    
    BEGIN
    ...
    
    I_CREATED_BY  := v('P12_CREATED_BY');
    I_F103_FLEX_HIRING_FREEZE := v('F103_FLEX_HIRING_FREEZE');
    
       -- The function below is triggering the error
       I_FUNC_RETURN := BA_HR_IFO_util_pkg.update_wf_step(p_form_no  => I_FORM_NUMBER,
                                                          p_form_ver => I_FORM_VERSION,
                                                          p_created_by => I_CREATED_BY,
                                                          p_step_status => 'Canceled',
                                                          p_next_step_name => 'Canceled Form',
                                                          p_flex_hiring_freeze => I_F103_FLEX_HIRING_FREEZE);
    
    ...
    

    Probably, it helps.

    Lev

  • Error ORA-29913, in the execution of legend ODCIEXTTABLEFETCH ORA-01114

    Hi all

    I have a problem when importing a job. Please check the newspapers below:

    . . imported "QADTA." "" F5842017 "GB 5,091 20655848 lines

    . . imported "QADTA." "' F5858002 ' 6,008 GB 27703475 lines

    . . imported "QADTA." "" F5541017 "GB 38,64 209026748 lines

    ORA-31693: Data Table object 'QADTA '. "' F0911 ' failed to load/unload and being ignored because of the error:

    ORA-01114: block write IO file error (block #)

    ORA-29913: error in executing ODCIEXTTABLEFETCH legend

    ORA-01114: IO error to the file 210 (block # 775358) writing block

    ORA-27072: IO file error

    Additional information: 4

    Additional information: 775358

    Additional information: 139264

    ORA-31693: Data Table object 'QADTA '. "' F42199 ' failed to load/unload and being ignored because of the error:

    ORA-01114: block write IO file error (block #)

    ORA-29913: error in executing ODCIEXTTABLEFETCH legend

    ORA-01114: IO error to the file 210 (block # 757597) writing block

    ORA-27072: IO file error

    Additional information: 4

    Additional information: 757597

    Additional information:-1

    Please help me why these got job failed. What is this error?

    Database version:

    SQL > select * from v version $;

    BANNER

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

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for HP - UX: 11.2.0.3.0 - Production Version

    NLSRTL Version 11.2.0.3.0 - Production

    Kind regards

    Michel

    You can check the consistency of the data files, use DBV/DBVERIFY. It seems to me that your DBF file or dump file may be damaged.

    Onkar

  • Error ORA-01843 during the update of table

    I have the following query, which gives a month error invalid ORA-01843

    Update tpsir_response set response_date = to_date (' 04/02/2014 ',' dd/mm/yyyy') where product_line = 'PRODUCT' and to_date(vl_creation_date,'dd/mm/yyyy') < 13 May 2008 ' and responder is NULL;

    In the tpsir_response table

    response_date is a kind of date

    vl_creation_date is of type char (10)

    someone at - it an idea what I did wrong

    Hello

    Try to change on May 13, 2008 ' to to_date ('2008-05-13', ' dd/mm/yyyy')

    Or

    Check this box

    Select * from nls_session_parameters where parameter = "NLS_DATE_FORMAT;

    and together

    ALTER session set nls_date_format = "dd/mm/yyyy";

    Good luck...

  • Using DBMS_METADATA. GET_DDL get error: ORA-00907: lack the right parenthesis

    Hello

    I try to extract the schema DDL to a base (10.2.0.4.0 - 64-bit Enterprise Edition on Solaris 10). I ran the query below and get an ORA-00907: parenthesis right absent error.

    SELECT DBMS_METADATA. GET_DDL (REPLACE(object_type,' ','_') AS object_type, object_name) FROM user_objects WHERE object_type NOT IN ('TABLE_PARTITION', "INDEX_PARTITION", "LOB");

    This is the output when executing the above in the sqlplus worksheet

    Select DBMS_METADATA. GET_DDL (REPLACE (object_type, ", '_') as object_type, object_name) FROM user_objects if object_type in ('TABLE_PARTITION',"INDEX_PARTITION","LOB")
    *
    ERROR on line 1:
    ORA-00907: lack of right parenthesis

    remove the where the clause gives the following:

    Select DBMS_METADATA. GET_DDL (REPLACE (object_type, ", '_') as object_type, object_name) FROM user_objects
    *
    ERROR on line 1:
    ORA-00907: lack of right parenthesis

    Pointers would be welcome. I know I could get the DDL using exp/imp, but I'd like to understand why I get the error of missing parenthesis.

    see you soon,

    Ewan

    SELECT DBMS_METADATA. GET_DDL (REPLACE(object_type,' ','_') AS object_type, object_name) FROM user_objects WHERE object_type NOT IN

    You don't need an alias here. Getting rid of the "as long as object_type' and it should work.

  • ORA-06502: PL/SQL: digital or value error ORA-06512: at the 'APPS '. WF_NOTIFICATION', line 5754 ORA-06512: at line 5

    Hello

    I have a l_body variable in my pl/sql code with varchar2 (32767).

    It displays maximum 44 lines, more than 44 lines he gives buffer size error.

    If I use the clob data type then it gives value or digital erro on 44 lines.

    code is below

    concerning

    l_clob CLOB.

    l_body varchar2 (32767);

    BEGIN
    Dbms_lob. CreateTemporary (l_clob,TRUE);

    l_body: = null;

    l_body: =
    "< Html >";

    l_body: = l_body |
    "< Body >" ;

    -l_body: = l_body | "< do Face ="Verdana, Arial, Helvetica"Color ="#000000"> ';

    -l_body: = l_body | "< BR > < BR > < BR > ' | l_str | "< Br >".

    l_body: = l_body |
    "< BR >" || "Please note that receipt number < B > ' " || Trans_Id | ' with amount: ' | Trim (to_char (total_amount,'999G999G999G999D99')): ' < /B > has been sent for approval. Detail is given below:' | ' < Br BR > > < ' ;

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


    l_body: = l_body |
    ' < / table > < Br > < Br > ' ;

    l_body: = l_body |
    '< table Border = 1 ">' ;

    -l_body: = l_body | "< Tr Bgcolor = rgb (0,154,61) > ';

    l_body: = l_body |
    "< Tr Bgcolor = rgb (162,202,230) >" ;

    l_body: = l_body |
    '< e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > Date' ;

    l_body: = l_body |
    ' < e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > name of the seller ' ;

    l_body: = l_body | '< e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > number of PO' ;

    l_body: = l_body |
    ' < e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > number ' ;

    l_body: = l_body | '< e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > line' ;

    l_body: = l_body |
    '< e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > Description of the object' ;

    l_body: = l_body |
    ' < e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > quantity ' ;

    l_body: = l_body |
    ' < e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > unit ' ;

    l_body: = l_body |
    ' < e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > unit price PO' ;

    l_body: = l_body |
    ' < e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > currency " " ;

    l_body: = l_body |
    ' < e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > amount ' ;

    l_body: = l_body |
    '< e > < P > < Font Size = 2 Face = "Verdana, Arial, Helvetica" > < div align = left > Code combination' ;

    l_body: = l_body |
    "< /Tr >" ;

    FOR x in C LOOP

    l_body: = l_body | "< Tr >" ;

    l_body: = l_body |
    '< td > < P > < Font Size = 2 > < div align = left >' | x.transaction_date | "< Table >" ;

    l_body: = l_body |
    '< td > < P > < Font Size = 2 > < div align = left >' | x.VENDOR_NAME | "< Table >" ;

    l_body: = l_body |
    '< td > < P > < Font Size = 2 > < div align = left >' | x.po_number | "< Table >" ;

    l_body: = l_body |
    '< td > < P > < Font Size = 2 > < div align = left >' | x.release_num | "< Table >" ;

    l_body: = l_body | '< td > < P > < Font Size = 2 > < div align = left >' | x.line_num | "< Table >" ;

    l_body: = l_body |
    '< td > < P > < Font Size = 2 > < div align = left >' | x.item_description | "< Table >" ;

    l_body: = l_body |
    '< td > < P > < Font Size = 2 > < div align = right >' | x.Quantity | "< Table >" ;

    l_body: = l_body | '< td > < P > < Font Size = 2 > < div align = left >' | x.unit_of_measure | "< Table >" ;

    l_body: = l_body |
    '< td > < P > < Font Size = 2 > < div align = right >' | x.po_unit_price | "< Table >" ;

    l_body: = l_body |
    '< td > < P > < Font Size = 2 > < div align = left >' | x.currency_code | "< Table >" ;

    l_body: = l_body |
    '< td > < P > < Font Size = 2 > < div align = right >' | x.amount | "< Table >" ;

    l_body: = l_body |
    '< td > < P > < Font Size = 2 > < div align = left >' || x.cc|| "< Table >" ;

    l_body: = l_body |
    "< /Tr >" ;

    END LOOP;

    l_body: = l_body |
    ' < / table > < Br > < Br > ' ;

    l_body: = l_body |
    "< / body >" || CHR(10);

    l_body: = l_body |
    ' < / html > ' || CHR(10);

    DBMS_LOB. WriteAppend (l_clob, length (l_body), l_body);

    RETURN L_Clob;

    END Format_Notification_Msg;

    The maximum size allowed for l_body is 32767 who as varchar2 (32767)

    Even if the CLOB has no size limit, you store the actual data in "l_body", it throws the error when the "l_body" increases of 32,767 characters.

    Call the dbms_lob.writeappend () API in the for loop and cancel l_body after the API call, so that the 'l_body' will not go beyond the specified limit.

  • Error ORA-022887 during the insert operation how to handle correctly...

    Hello everyone I got an error in during the insert operation how to handle correctly?
    SQL statements below.

    INSERT STAFF. TRANSLATIONS (TID, SCRIPT_NAME, TAG, TR, FR, LOCAL)
    VALUES ((SELECT LOCATION. SQX_TID. (NEXTVAL DOUBLE AS TID), 'TEST_TEST', 'TEST', 'TR', 'FR', 'LOCAL');

    Thank you

    Try this,

    INSERT STAFF. TRANSLATIONS (TID, SCRIPT_NAME, TAG, TR, FR, LOCAL)
    VALUES (PERSONAL. SQX_TID. NEXTVAL, 'TEST_TEST', 'TEST', 'TR', 'FR', 'LOCAL');

  • error: ora-00907 lack the right parenthesis

    Hello


    I don't know where I am doing wrong, please help me


    update of tmp_data_mins p

    SET p.DISPLAY_VOLUME = ((select display_volume from tmp_data_mins

    where RULE_APPLIED =' rule 2: three consecutive time intervals are

    missing with the period ') q

    where (to_char (p.DAYASDATE,'DD/MM/YYYY HH24')) =

    (to_char (q.DAYASDATE,'DD/MM/YYYY HH24'))

    AND p.HOURASNUMBER = q.HOURSNUMBER);


    Thanks in advance

    Your syntax is disabled, you try to make a mixture of subquery and join that is not valid.  It should be something more like:

    update of tmp_data_mins p

    SET p.DISPLAY_VOLUME = (select display_volume

    of tmp_data_mins q

    where q.RULE_APPLIED =' rule 2: three consecutive time intervals are missing the period ' and

    trunc (p.DAYASDATE, 'hh24') = trunc (q.DAYASDATE, 'hh24')

    AND p.HOURASNUMBER = q.HOURSNUMBER)

    where exists (select display_volume

    of tmp_data_mins q

    where q.RULE_APPLIED =' rule 2: three consecutive time intervals are missing the period ' and

    trunc (p.DAYASDATE, 'hh24') = trunc (q.DAYASDATE, 'hh24')

    AND p.HOURASNUMBER = q.HOURSNUMBER);

    I'm not ethat you really need the trunc applied to dates, but it is equivalent to your expression to_char, and it is generally much safer to compare dates in dates rather than convert a date to a string and compare those.

    Also note that, as wrote your query and mine updates all rows in the parameter tmp_data_mins display_volume table to null for rows that do not match the subquery.  You would (probably) need to add another predicate in the outer query the identifu only the lines that you want to update, and there are predicate using the same query in the clause set would be a likely candidate.

    That said, I don't understand what you're trying to accomplish with this update because you're updating at the same table you are querying of.  As said by Frank, a few examples of data and an explanation of what you're trying to accomplish would be useful.

    John

    After seeing just this thread https://community.oracle.com/thread/3560425 I think I understand what you're trying to do and changed the query above (I think) do the update that you want, and it seems that you have the trunc applied to dates.

    Post edited by: John Spencer

Maybe you are looking for

  • How can I find my password when password manager won't let me use Thunderbird?

    I tried to add a new e-mail account. Once I had done that, even if she does not recognize the password to complete the process. Now Thunderbird will let me delete this account. So now when I try to use my existing email password manager appears and d

  • File association is lost

    After I uninstall some programs in windows XP service Pack 3, I loss the file association. Windows want to know what kind of program to create these files. the files are .exe. .lnk. I'm on a Dell dimension 555

  • Problems with new HD in a DV6165CL attempt to clean install Windows 7 Professional.

    Hello I have a DV6165CL which was the matrix of hard drive. I have the replacement drive and it runs, but I can't boot from my DVD of Windows 7 Pro. Even with the boot on CD first order. Strange thing is that the Seagate Seatools CD will boot from th

  • Scroll to the bottom of the current position

    Hey developers! New dev here (in the hope to refine my skills). I am trying to add a 'scroll down' option for a webview page. My problem is that evertime I press the button it starts from the top of the page and goes back to the same place. I don't k

  • Access a list of QObjects using Javascript of QML?

    I want to access a list of QObjects of Javascript so that they are accessible for example like this: var items = mycontextproperty.getItems() for(i =0; i< items.length; i++){ items[i].name; } I expect fair access properties read-only. In C++, I have