ERROR "ora-01422" during insertion in the table?
Hello
I have created the dynamic action of PL/SQL to insert data but founded by page_item
declare x_found_pages number; x_auth_id number; x_user_id number; begin x_user_id := :P41_USR_ID; -- this is my page_item _____ successful run When change it to number value .. ! select count(V_APP_PAGES.PAGE_ID) into x_found_pages from V_AUTH_DTL V_AUTH_DTL,V_APP_PAGES V_APP_PAGES where V_AUTH_DTL.PAGE_ID!=V_APP_PAGES.PAGE_ID and V_AUTH_DTL.USR_ID = x_user_id; select T_AUTH.ID into x_auth_id from T_AUTH_DTL T_AUTH_DTL,T_AUTH T_AUTH where T_AUTH_DTL.AUTH_ID=T_AUTH.ID and T_AUTH.USR_ID = x_user_id; -- Checking...? if x_found_pages > 0 then for i in (select V_APP_PAGES.PAGE_ID from V_AUTH_DTL V_AUTH_DTL,V_APP_PAGES V_APP_PAGES where V_AUTH_DTL.PAGE_ID!=V_APP_PAGES.PAGE_ID and V_AUTH_DTL.USR_ID = x_user_id) loop insert into T_AUTH_DTL (AUTH_ID,PAGE_ID) values (x_auth_id,i.PAGE_ID); end loop; end if; end;
Please help me to avoid the ERROR "ora-01422" when running code in the dynamic action...
Thank you...
AMR Abdeen wrote:
I have created the dynamic action of PL/SQL to insert data but founded by page_item
- declare
- number of x_found_pages;
- number of x_auth_id;
- number of x_user_id;
- Start
- x_user_id: =: P41_USR_ID; -It is my page_item _ successfully performed when change to value the number...!
- SELECT count (V_APP_PAGES. Page_id) in x_found_pages
- of V_AUTH_DTL V_AUTH_DTL, V_APP_PAGES V_APP_PAGES
- where V_AUTH_DTL. PAGE_ID! = V_APP_PAGES. PAGE_ID
- and V_AUTH_DTL. USR_ID = x_user_id;
- Select T_AUTH.ID from x_auth_id
- of T_AUTH_DTL T_AUTH_DTL, T_AUTH T_AUTH
- where T_AUTH_DTL. AUTH_ID = T_AUTH.ID
- and T_AUTH. USR_ID = x_user_id;
- -Checking...?
- If x_found_pages > 0 then
- I'm in (select V_APP_PAGES. PAGE_ID
- of V_AUTH_DTL V_AUTH_DTL, V_APP_PAGES V_APP_PAGES
- where V_AUTH_DTL. PAGE_ID! = V_APP_PAGES. PAGE_ID
- and V_AUTH_DTL. USR_ID = x_user_id)
- loop
- insert into T_AUTH_DTL (AUTH_ID, PAGE_ID) values (x_auth_id, i.PAGE_ID);
- end loop;
- end if;
- end;
Please help me to avoid the ERROR "ora-01422" when running code in the dynamic action...
The error is explicit:
ORA-01422: exact fetch returns more than number of lines
Cause: The exact extraction specified number is less than the rows returned.
Action: Rewrite the query or change the number of rows requested
This would imply the query in line 16 as County dissociated in the previous one will always return only one row.
Run
select T_AUTH.ID into x_auth_id from T_AUTH_DTL T_AUTH_DTL,T_AUTH T_AUTH where T_AUTH_DTL.AUTH_ID=T_AUTH.ID and T_AUTH.USR_ID = :x_user_id
in the workshop of SQL by using the P41_USR_ID value in the variable link to find out how many rows it returns.
It is likely that the entire block can be replaced by a single INSERT statement. If you provide instructions CREATE TABLE, INSERT statements to create sample data and a clear definition of the requirements that we try to do.
What is the point of the inclusion of tables aliases that are exactly the same as the names of the tables?
Tags: Database
Similar Questions
-
Error ORA-01422 apex: exact fetch returns more than the required number of line
Hi people,
Apex 4.1
I have a page that works like a charm.
Based on my application I need I have to perform the same operation for the different regions. As a quick and better method, I copied the page and branched, it inspires tab for this region.
The problem is that the original page works fine.
I haven't changed anything except the parent set to this copied page tab and works that I find with the above error.
It allows me to make the first entry on this page, but when I try to access the page again it gives me this error.
The error in detail is as below:
is_internal_error: false
ora_sqlcode:-1422
ora_sqlerrm: ORA-01422: exact fetch returns more than number of lines
Component.type: APEX_APPLICATION_PAGE_PROCESS
Component.ID: 214936714355373108
Component.Name: EMP_LEAVE_INFO line
error_backtrace:
ORA-06512: at line 1
ORA-06512: at "SYS." DBMS_SYS_SQL", line 1926
ORA-06512: at "SYS." WWV_DBMS_SQL', line 973
ORA-06512: at "SYS." WWV_DBMS_SQL', line 999
ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 806
ORA-06512: at "APEX_040200.WWV_FLOW_DML", line 336
ORA-06512: at "APEX_040200.WWV_FLOW_PROCESS", line 332>
As a quick and better method, I copied the page and branched, it inspires tab for this region.
>Copy paste is never advisable. It can be fast in some cases, there is an anti-pattern.
Be aware that the automatic extraction of the APEX line is based on a component of demand.
It is possible that your automatic rowfetch is based on the element of your previous page. If you for example to change the name of the table, but do not change the reference is the primary key value, then you can pass a value to your table that was not unique. This would result in ORA-01422.
Find the value of the session element and run your query.
Concerning
Nico
-
Hi all
Oracle database version: 10.2.0.4.0
When inserting into the table, I get this error below.
Could someone help me please to insert. I am able to select and create a new table by using this statement select but not possible to insert using this select statement.SQL> desc org_officer Name Null? Type ----------------------------------------- -------- ---------------------------- OFFICER_STATUS VARCHAR2(10) OFFICER_RANK NUMBER(3) OFFICER_ACTIVE VARCHAR2(1) PERSON_ID NUMBER(10) BIOGRAPHICAL_INFO VARCHAR2(4000) OFFICER_ID NUMBER(19) ORG_ID NUMBER(19) SQL> desc BID_XML_DATA_BK Name Null? Type ----------------------------------------- -------- ---------------------------- XML_DATA SYS.XMLTYPE(XMLSchema "http: //www.schemas.th.com/IntBID03" Element "Inte grationBID") STORAGE Object- relational TYPE "Integration BID1004_T" BID_INSERT_STAMP DATE RN NUMBER(5) ORG_ID NUMBER(19) insert into org_officer select b.officer_status, b.officer_rank, b.officer_active, b.person_id, b.biographical_info, b.officer_id, a.org_id from bid_xml_data_bk a, xmltable (xmlnamespaces(default 'http://www.schemas.th.com/IntBID03'), 'IntegrationBID/Organization' passing a.xml_data columns org_id number(19) path '@ID', data_fragments xmltype path 'OfficerInformation' ) key_map, xmltable ('OfficerInformation/Officer' passing key_map.data_fragments columns officer_status VARCHAR2(10) path '@Status', officer_rank number(3) path '@Rank', officer_active varchar2(1) path '@Active', person_id number(10) path 'Person/@ID', officer_id number(19) path '@ID', biographical_info varchar2(4000) path 'BiographicalInformation/Text' ) b; insert into org_officer * ERROR at line 1: ORA-01779: cannot modify a column which maps to a non key-preserved table
NOTE: org_officer is not a view. And there is no constrants in the two tables.
-YasserSQL> select dbms_metadata.get_ddl('TABLE','BID_XML_DATA_BK','COMMON') from dual; DBMS_METADATA.GET_DDL('TABLE','BID_XML_DATA_BK','COMMON') -------------------------------------------------------------------------------- CREATE TABLE "COMMON"."BID_XML_DATA_BK" ( "XML_DATA" "SYS"."XMLTYPE" , "BID_INSERT_STAMP" DATE, "RN" NUMBER(5,0), "ORG_ID" NUMBER(19,0) ) XMLTYPE COLUMN "XML_DATA" XMLSCHEMA "http://ww w.schemas.th.com/IntBID03" E LEMENT "IntegrationBID" ID 4691 PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MIN EXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BU FFER_POOL DEFAULT) TABLESPACE "COMMON_DATA" SQL> select dbms_metadata.get_ddl('TABLE','BID_XML_DATA_BK','COMMON') from dual; DBMS_METADATA.GET_DDL('TABLE','BID_XML_DATA_BK','COMMON') -------------------------------------------------------------------------------- CREATE TABLE "COMMON"."BID_XML_DATA_BK" ( "XML_DATA" "SYS"."XMLTYPE" , "BID_INSERT_STAMP" DATE, "RN" NUMBER(5,0), "ORG_ID" NUMBER(19,0) ) XMLTYPE COLUMN "XML_DATA" XMLSCHEMA "http://ww w.schemas.th.com/IntBID03" E LEMENT "IntegrationBID" ID 4691 PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MIN EXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BU FFER_POOL DEFAULT) TABLESPACE "COMMON_DATA"
Published by: YasserRACDBA on April 13, 2010 15:48Done next assistance
ORA-01779, impossible to get right for
forget the note == false xmltype ==
Published by: Marco Gralike, October 20, 2010 20:04
-
Extract the XML tags and insert into the table
Description:
XML is under inert atmosphere in the table containing the xmltype column. Need to extract value from xml tag and insert into the table.
Once the XML record Treaty must update the status as 'Y' in the base tableProblem:
There are multiple occurrences of some tags that need to be combined and stored in a single column to delineate the '-'. No. area of occurrence can vary for each record.
There are a few encrypted column that I managed to convert decoded value. But used select distinct... XMLTYPE...
GTT table is used to store the intermediate result and decoding and the concatenation of several tags occurred using TWG.1.No. multiple tag will vary how to extract those and concatenate them into a single column. I assumed his occrrence in 3 for example: < student >
2. how to set the value NULL if no tag is not present. Tag in XML record number can vary. I know that the complete list of xmltags.
3 data not found error for some xml documents.Kindly Assits how to achieve this.
version: 11.2.0.3.0
Table Base: temp_XML
XML_ID NOT NULL NUMBER (28) - auto-increment using the sequence
PUBLIC EVENT. Stores the XMLTYPE STORAGE BINARY - XML file
DATE OF EVTDATE
STATUS VARCHAR2 (3) DEFAULT ' don'tSample XML: Includes all the brands mentioned in the common procedure below.
<? XML version = "1.0" encoding = "US-ASCII"? >
"< event xmlns ="http://xmlextrac.test.com/object">."
< data xmlns = "" >
< object >
<>units
< unit > TLAS < / unit >
< unit > ATLAS < / unit >
< / units >
< receiverNetworks >
< receiverNetwork > ABSAZAJ0XXXX < / receiverNetwork >
< / receiverNetworks >
< correspondentIds >
< correspondentId > #SWF - ABSAZAJ0XXX < / correspondentId >
< / correspondentIds >
< comment >
< comment / >
< comment / >
< comment / >
< comment / >
< / comment >
< memo >
< memo > 28 < / memo >
< / memos >
< tuxedoPriority > 20 < / tuxedoPriority >
sender <>Mike < / sender >
< typeReseauId > Message < / typeReseauId >
< maxRetry > 4 < / maxRetry >
< msgSecuLevel > CBA < / msgSecuLevel >
< quantity >
< amount > 12 < / amount >
< amount > 34 < / amount >
< amount > 56 < / amount >
< / amounts >
< currencys >
< currency > $ < / currency >
< currency > EUR < / currency >
INR < currency > < / currency >
< / currencys >
< msgDateVal > ARST123 < / msgDateVal >
wder < direction > < / direction >
< eventType > 113 < / eventType >
< date > 1407431619 < / date >
< eventDate > 1407431624 < / eventDate >
< management > R < / direction >
< msgRef > R950140807AB6CBE < / msgRef >
< format > SWF < / size >
< type > 950 < / type >
R950140807AB6CBE < WALL > < / WALL >
< bankingPriority / >
FSDS < field.20 > < / field.20 >
< texteType > FSS < / texteType >
< applicationCode > OHS < / applicationCode >
< company > KETH < / company >
< endFct > MOE < / endFct >
< rate > BAM < / flow >
< subtype / >
< text > DQo6MjA6R0wxNDA4MDcwMDA1MTMNCjoyNTo3M == < / text >
< msgHeaders > ezE6RjAxTE9ZRE5MMjBCWFhYMDAzMjAw = < / msgHeaders >
< msgTrailer > ezU6e0NISzpEOUFFRUNCN0NBQTl9e1RORzp9fQ == < / msgTrailer >
< / object >
< / data >
Procedure: This works very well for a few xml record and fails for some.
CREATE OR REPLACE PROCEDURE XML_EXTR
AS
CURSOR c1
IS
SELECT * FROM temp_XML;c1_cur c1% ROWTYPE;
bamdata_sql VARCHAR2 (3000);
d_text VARCHAR2 (3000);
d_msgHeaders VARCHAR2 (3000);
d_msgTrailer VARCHAR2 (3000);
x_text VARCHAR2 (3000);
x_msgHeaders VARCHAR2 (3000);
x_msgTrailer VARCHAR2 (3000);
x_eventType VARCHAR2 (3000);
x_amount number (28.2).
x_currency VARCHAR2 (3000);
x_state VARCHAR2 (3000);
x_units VARCHAR2 (3000);
x_correspondentId VARCHAR2 (3000);
X_TYPE VARCHAR2 (3000);
x_receiverNetworks VARCHAR2 (3000);
x_bankingPriority VARCHAR2 (3000);
x_applicationCode VARCHAR2 (3000);
x_processCounter VARCHAR2 (3000);
x_obsolescence VARCHAR2 (3000);
x_maxRetry VARCHAR2 (3000);
x_retries VARCHAR2 (3000);
x_fileSize VARCHAR2 (3000);
x_endFct VARCHAR2 (3000);
x_subType VARCHAR2 (3000);
x_field20 VARCHAR2 (3000);
x_sequenceNumber VARCHAR2 (3000);
x_requestorDn VARCHAR2 (3000);
x_responderDn VARCHAR2 (3000);
x_SWIFTNetService VARCHAR2 (3000);
x_transfertRef VARCHAR2 (3000);
x_nonrepudiation VARCHAR2 (3000);
x_transfertInfo VARCHAR2 (3000);
x_fileDesc VARCHAR2 (3000);
x_transfertDesc VARCHAR2 (3000);
x_logicalName VARCHAR2 (3000);
x_signIndicator VARCHAR2 (3000);
x_critId VARCHAR2 (3000);
x_inFapId VARCHAR2 (3000);
x_deliveryNotif VARCHAR2 (3000);
x_comment1 VARCHAR2 (3000);
x_comment2 VARCHAR2 (3000);
x_comment3 VARCHAR2 (3000);
x_comment4 VARCHAR2 (3000);
x_comments VARCHAR2 (3000);
x_memo1 VARCHAR2 (3000);
x_memo2 VARCHAR2 (3000);
x_memo3 VARCHAR2 (3000);
x_memo4 VARCHAR2 (3000);
x_msgSecuLevel VARCHAR2 (3000);
x_dates VARCHAR2 (3000);
x_tuxedoPriority VARCHAR2 (3000);
x_fileDest VARCHAR2 (3000);
x_stkMsgPDEId VARCHAR2 (3000);
x_EMTId VARCHAR2 (3000);
x_LTRcptSyno VARCHAR2 (3000);
x_LTRcpt VARCHAR2 (3000);
x_LTEmis VARCHAR2 (3000);
x_flow VARCHAR2 (3000);
x_FINCopy VARCHAR2 (3000);
x_msgDateVal VARCHAR2 (3000);
x_eventDate VARCHAR2 (3000);
x_typeReseauId VARCHAR2 (3000);
x_inFapSeq1 VARCHAR2 (3000);
x_inFapSeq2 VARCHAR2 (3000);
x_direction VARCHAR2 (3000);
x_priority VARCHAR2 (3000);
x_ack VARCHAR2 (3000);
x_format VARCHAR2 (3000);
x_mur VARCHAR2 (3000);
x_TexteType VARCHAR2 (3000);
x_creatingUser VARCHAR2 (3000);
x_fileinfo VARCHAR2 (3000);
x_company VARCHAR2 (3000);
x_language VARCHAR2 (3000);
x_ackText VARCHAR2 (3000);
x_jaxbRef VARCHAR2 (3000);
x_jaxbElt VARCHAR2 (3000);
x_memos VARCHAR2 (3000);
xmlid number (28);
x_msgRef1 VARCHAR2 (3000);
x_msgRef2 VARCHAR2 (3000);
x_msgRef3 VARCHAR2 (3000);
x_msgRef4 VARCHAR2 (3000);
x_sender VARCHAR2 (3000);
x_amlBehavior VARCHAR2 (3000);
x_ownerServiceId VARCHAR2 (3000);
x_correspondentName VARCHAR2 (3000);
x_correspondentAddress1 VARCHAR2 (3000);
x_correspondentAddress2 VARCHAR2 (3000);
x_correspondentAddress3 VARCHAR2 (3000);
x_correspondentAddress4 VARCHAR2 (3000);
x_correspondentCity VARCHAR2 (3000);
x_correspondentCountry VARCHAR2 (3000);
x_correspondentNetworkAddr VARCHAR2 (3000);
x_tested VARCHAR2 (3000);
x_correspondentNetwork VARCHAR2 (3000);
x_validatedPercentage VARCHAR2 (3000);
x_nbOfValid VARCHAR2 (3000);
x_requestRef VARCHAR2 (3000);
x_notifQueue VARCHAR2 (3000);
x_requestType VARCHAR2 (3000);
x_secBpid VARCHAR2 (3000);
x_queue VARCHAR2 (3000);
x_receiverCode VARCHAR2 (3000);
x_receiverInd VARCHAR2 (3000);
x_validFlag VARCHAR2 (3000);
x_ownerId VARCHAR2 (3000);
x_dn VARCHAR2 (3000);
x_RMAOurBic VARCHAR2 (3000);
x_RMACorrespondentBic VARCHAR2 (3000);
x_RMAService VARCHAR2 (3000);
x_fileMsgRef VARCHAR2 (3000);
date of x_ext_date;
x_correspondentAddress VARCHAR2 (3000);
x_msgrefs varchar2 (3000);
d_ackText varchar2 (3000);
ackText varchar2 (3000);
date of x_extdate;BEGIN
FOR C1_CUR IN C1
LOOP
INSERT INTO data_GTT_TEMP)
eventType, amount, currency, State, units, correspondentId, sender, receiverNetworks, bankingPriority, applicationCode, processCounter.
obsolescence, maxRetry, reminders, fileSize, endFct, xsubType, field.20, sequenceNumber, requestorDn, responderDn, SWIFTNetService, non-repudiation,
transfertRef, transfertInfo, fileDesc, transfertDesc, logicalName, signIndicator, critId, inFapId, deliveryNotif, comment1, comment2, comment3, comment4,
Memo1, memo2, memo3, memo4, msgSecuLevel, dates, tuxedoPriority, fileDest, stkMsgPDEId, EMTId, LTRcptSyno, LTRcpt, LTEmis, flow, FINCopy, msgDateVal,
eventDate, typeReseauId, inFapSeq1, inFapSeq2, direction, priority, ack,
msgRef1, msgRef2, msgRef3, msgRef4, amlbehavior, correspondentName, ownerServiceId,
correspondentAddress1, correspondentAddress2, correspondentAddress3, correspondentAddress4,
correspondentCity, correspondentCountry, correspondentNetworkAddr, tested,
correspondentNetwork, validatedPercentage, nbOfValid, requestRef, notifQueue,
requestType, secBpid, xqueue, receiverCode, receiverInd, validFlag, ownerId, dn, RMAOurBic, RMACorrespondentBic, RMAService,
fileMsgRef, format, xtype, wall, TexteType, creatingUser, fileinfo,
company, text, xlanguage, ackText, msgHeaders, msgTrailer, jaxbRef, jaxbElt)
SELECT
x.eventType, x.amount, x.currency, x.state, x.units, x.correspondentId, x.sender, x.receiverNetworks, x.bankingPriority, x.applicationCode, x.processCounter,
x.obsolescence, x.maxRetry, x.Retries, x.FileSize, x.endFct, x.xsubType, x.Field20, x.SequenceNumber, x.requestorDn, x.responderDn, x.SWIFTNetService, x.nonRepudiation,
x.transfertRef, x.transfertInfo, x.fileDesc, x.transfertDesc, x.logicalName, x.signIndicator, x.critId, x.inFapId, x.deliveryNotif, x.comment1, x.comment2,
x.comment3, x.comment4, x.Memo1, x.memo2, x.memo3, x.MEMO4, x.msgSecuLevel, x.dates, x.tuxedoPriority, x.fileDest, x.stkMsgPDEId, x.EMTId, x.LTRcptSyno,
x.LTRcpt, x.LTEmis, x.flow, x.FINCopy, x.msgDateVal, x.eventDate, x.typeReseauId, x.inFapSeq1, x.inFapSeq2, x.direction, x.priority, x.ack,
x.msgRef1, x.msgRef2, x.msgRef3, x.msgRef4, x.amlbehavior, x.correspondentName, x.ownerServiceId,
x.correspondentAddress1, x.correspondentAddress2, x.correspondentAddress3, x.correspondentAddress4,
x.correspondentCity, x.correspondentCountry, x.correspondentNetworkAddr, x.tested,
x.correspondentNetwork, x.validatedPercentage, x.nbOfValid, x.requestRef, x.notifQueue,
x.requestType, x.secBpid, x.xqueue, x.receiverCode, x.receiverInd, x.validFlag, x.ownerId, x.dn, x.RMAOurBic, x.RMACorrespondentBic, x.RMAService,
x.fileMsgRef, x.format, x.xtype, x.mur, x.TexteType, x.creatingUser, x.fileinfo,
x.Company, x.Text, x.xLanguage, x.ackText, x.msgHeaders, x.msgTrailer, x.jaxbRef, x.jaxbEltof temp_XML t, XMLTABLE (XMLNAMESPACES ('http://xmlextrac.test.com/object' as "ns0"), ' / ns0:event' )
PASSAGE t.BAM_EVENT COLUMNS
eventType varchar2 (3000) PATH 'data, object, eventType' DEFAULT NULL,
amount number (28.2) path data/object/amounts"."
currency varchar2 (3000) PATH 'data, object, currencys, currency' DEFAULT NULL,
VARCHAR2 (3000) path "data/object / / state of ' DEFAULT NULL, State
units varchar2 (3000) PATH ' object/data/units' DEFAULT NULL,
correspondentId varchar2 (3000) PATH "data/object/correspondentIds' DEFAULT NULL,
sender varchar2 (3000) PATH 'data, object, sender' DEFAULT NULL,
receiverNetworks varchar2 (3000) PATH "data/object/receiverNetworks' DEFAULT NULL,
bankingPriority varchar2 (3000) PATH "data/object/bankingPriority' DEFAULT NULL,
applicationCode varchar2 (3000) PATH ' object/data/applicationCode' DEFAULT NULL,
processCounter varchar2 (3000) PATH "data/object/processCounter' DEFAULT NULL,
obsolescence varchar2 (3000) PATH ' data/object/obsolescence' DEFAULT NULL,
maxRetry varchar2 (3000) PATH ' data/object/maxRetry' DEFAULT NULL,
attempts to varchar2 (3000) "data/object/attempts" DEFAULT NULL path,.
size of the file varchar2 (3000) PATH ' data/object/fileSize' DEFAULT NULL,
endFct varchar2 (3000) PATH "data/object/endFct' DEFAULT NULL,
xsubType varchar2 (3000) PATH "data/object/subtype' DEFAULT NULL,
field.20 varchar2 (3000) PATH ' object/data/field.20' DEFAULT NULL,
sequenceNumber varchar2 (3000) PATH "data/object/sequenceNumber" DEFAULT NULL,
requestorDn varchar2 (3000) PATH "data/object/requestorDn' DEFAULT NULL,
responderDn varchar2 (3000) PATH "data/object/responderDn' DEFAULT NULL,
SWIFTNetService varchar2 (3000) PATH "data/object/SWIFTNetService' DEFAULT NULL,
non-repudiation varchar2 (3000) PATH ' object/data/repudiation' DEFAULT NULL,
transfertRef varchar2 (3000) PATH "data/object/transfertRef' DEFAULT NULL,
transfertInfo varchar2 (3000) PATH "data/object/transfertInfo' DEFAULT NULL,
fileDesc varchar2 (3000) PATH "data/object/fileDesc' DEFAULT NULL,
transfertDesc varchar2 (3000) PATH "data/object/transfertDesc' DEFAULT NULL,
logicalName varchar2 (3000) PATH "data/object/logicalName" DEFAULT NULL,
signIndicator varchar2 (3000) PATH "data/object/signIndicator' DEFAULT NULL,
critId varchar2 (3000) PATH "data/object/critId' DEFAULT NULL,
inFapId varchar2 (3000) PATH "data/object/inFapId' DEFAULT NULL,
deliveryNotif varchar2 (3000) PATH "data/object/deliveryNotif' DEFAULT NULL,
COMMENT1 varchar2 (3000) PATH ' data, subject, comments, comment [1] "DEFAULT NULL,
comment2 varchar2 (3000) PATH 'data, subject, comments, how [2]' DEFAULT NULL,
comment3 varchar2 (3000) PATH "data/object/observations/comments [3]" DEFAULT NULL,
comment4, varchar2 (3000) PATH ' data, subject, comments, comment [4] "DEFAULT NULL,
Memo1 varchar2 (3000) PATH "data/object/memos/memo [1]" DEFAULT NULL,
Memo2 varchar2 (3000) PATH "data/object/notes/Notes [2]" DEFAULT NULL,
memo3 varchar2 (3000) PATH "data/object/memos/memo [3]" DEFAULT NULL,
MEMO4 varchar2 (3000) PATH "data/object/memos/memo [4]" DEFAULT NULL,
msgSecuLevel varchar2 (3000) PATH "data/object/msgSecuLevel' DEFAULT NULL,
Date varchar2 (3000) PATH ' object/data/date' DEFAULT NULL,
tuxedoPriority varchar2 (3000) PATH "data/object/tuxedoPriority' DEFAULT NULL,
fileDest varchar2 (3000) PATH "data/object/fileDest' DEFAULT NULL,
stkMsgPDEId varchar2 (3000) PATH "data/object/stkMsgPDEId' DEFAULT NULL,
EMTId varchar2 (3000) PATH "data/object/EMTId' DEFAULT NULL,
LTRcptSyno varchar2 (3000) PATH "data/object/LTRcptSyno' DEFAULT NULL,
LTRcpt varchar2 (3000) PATH "data/object/LTRcpt' DEFAULT NULL,
LTEmis varchar2 (3000) PATH "data/object/LTEmis' DEFAULT NULL,
flow varchar2 (3000) PATH "/ object/data flow ' DEFAULT NULL,
FINCopy varchar2 (3000) PATH ' data/object/FINCopy' DEFAULT NULL,
msgDateVal varchar2 (3000) PATH "data/object/msgDateVal' DEFAULT NULL,
eventDate varchar2 (3000) PATH "data/object/eventDate" DEFAULT NULL,
typeReseauId varchar2 (3000) PATH "data/object/typeReseauId' DEFAULT NULL,
inFapSeq1 varchar2 (3000) PATH "data/object/inFapSeq1' DEFAULT NULL,
inFapSeq2 varchar2 (3000) PATH "data/object/inFapSeq2' DEFAULT NULL,
direction varchar2 (3000) PATH 'data, object, direction' DEFAULT NULL,
priority varchar2 (3000) PATH ' data/object/priority' DEFAULT NULL,
ACK varchar2 (3000) PATH ' object/data/ack' DEFAULT NULL,
msgRef1 varchar2 (3000) PATH ' data, object, msgRefs, msgRef [1] "DEFAULT NULL,
msgRef2 varchar2 (3000) PATH ' data, object, msgRefs, msgRef [2] "DEFAULT NULL,
msgRef3 varchar2 (3000) PATH ' data, object, msgRefs, msgRef [3] "DEFAULT NULL,
msgRef4 varchar2 (3000) PATH ' data, object, msgRefs, msgRef [4] "DEFAULT NULL,
amlBehavior varchar2 (3000) PATH "data/object/amlBehavior' DEFAULT NULL,
ownerServiceId varchar2 (3000) PATH "data/object/ownerServiceId' DEFAULT NULL,
correspondentName varchar2 (3000) PATH ' data/object/correspondentName' DEFAULT NULL,
PATH of VARCHAR2 (3000) of correspondentAddress1 ' object/data/correspondentLine1Addresse' DEFAULT NULL,
PATH of VARCHAR2 (3000) of correspondentAddress2 ' object/data/correspondentLine2Addresse' DEFAULT NULL,
PATH of VARCHAR2 (3000) of correspondentAddress3 ' object/data/correspondentLine3Addresse' DEFAULT NULL,
PATH of VARCHAR2 (3000) of correspondentAddress4 ' object/data/correspondentLine4Addresse' DEFAULT NULL,
correspondentCity PATH VARCHAR2 (3000) ' object/data/correspondentCity' DEFAULT NULL,
correspondentCountry PATH VARCHAR2 (3000) ' object/data/correspondentCountry' DEFAULT NULL,
correspondentNetworkAddr PATH VARCHAR2 (3000) ' object/data/correspondentNetworkAddr' DEFAULT NULL,
tested VARCHAR2 (3000) PATH ' data/object/tested' DEFAULT NULL,
correspondentNetwork PATH VARCHAR2 (3000) ' object/data/correspondentNetwork' DEFAULT NULL,
validatedPercentage PATH VARCHAR2 (3000) ' object/data/validatedPercentage' DEFAULT NULL,
nbOfValid PATH VARCHAR2 (3000) ' object/data/nbOfValid' DEFAULT NULL,
requestRef VARCHAR2 (3000) PATH ' data/object/requestRef' DEFAULT NULL,
notifQueue PATH VARCHAR2 (3000) ' object/data/notifQueue' DEFAULT NULL,
requestType PATH VARCHAR2 (3000) ' data/object/requestType' DEFAULT NULL,
secBpid PATH VARCHAR2 (3000) ' object/data/secBpid' DEFAULT NULL,
xqueue PATH VARCHAR2 (3000) ' data/object/tail' DEFAULT NULL,
receiverCode PATH VARCHAR2 (3000) ' object/data/receiverCode' DEFAULT NULL,
receiverInd PATH VARCHAR2 (3000) ' object/data/receiverInd' DEFAULT NULL,
validFlag PATH VARCHAR2 (3000) ' object/data/validFlag' DEFAULT NULL,
ownerId PATH VARCHAR2 (3000) ' data/object/ownerId' DEFAULT NULL,
DN VARCHAR2 (3000) PATH ' data/object/dn' DEFAULT NULL,
PATH of VARCHAR2 (3000) of RMAOurBic ' object/data/RMAOurBic' DEFAULT NULL,
PATH of VARCHAR2 (3000) of RMACorrespondentBic ' object/data/RMACorrespondentBic' DEFAULT NULL,
PATH of VARCHAR2 (3000) of RMAService ' object/data/RMAService' DEFAULT NULL,
fileMsgRef PATH VARCHAR2 (3000) ' object/data/fileMsgRef' DEFAULT NULL,
ackText varchar2 (3000) PATH "data/object/ackText' DEFAULT NULL,
format varchar2 (3000) PATH "data/object / ' DEFAULT NULL,
xType varchar2 (3000) PATH ' data/object/type' DEFAULT NULL,
Wall varchar2 (3000) PATH ' data/object/wall' DEFAULT NULL,
texteType varchar2 (3000) PATH "data/object/texteType' DEFAULT NULL,
creatingUser varchar2 (3000) PATH ' data/object/creatingUser' DEFAULT NULL,
fileInfo varchar2 (3000) PATH ' data/object/fileInfo' DEFAULT NULL,
VARCHAR2 (3000) path ' data/object/society' DEFAULT NULL, the company
VARCHAR2 (3000) text ' data/object/text' DEFAULT NULL path.
xLanguage varchar2 (3000) PATH ' data/object/language' DEFAULT NULL,
msgHeaders varchar2 (3000) PATH "data/object/msgHeaders' DEFAULT NULL,
msgTrailer varchar2 (3000) PATH "data/object/msgTrailer' DEFAULT NULL,
jaxbRef varchar2 (3000) PATH ' info/jaxbRef' DEFAULT NULL,
jaxbElt varchar2 (3000) PATH "jaxbElt/info") x
where t.XML_ID = c1_cur. XML_ID and t.status =' no;Select x.text, x.msgHeaders, x.msgTrailer in x_msgTrailer, x_msgHeaders, x_text of
temp_XML t, XMLTABLE (XMLNAMESPACES ('http://xmlextrac.test.com/object' as "ns0"), ' / ns0:event' )
PASSAGE t.BAM_EVENT COLUMNS
text varchar2 (3000) PATH data/object/text"."
msgHeaders varchar2 (3000) PATH "data/object/msgHeaders,"
msgTrailer varchar2 (3000) PATH "object/data/msgTrailer.
) x
where t.XML_ID = c1_cur. XML_ID;
Select sysdate in double x_extdate;
d_text: = utl_raw.cast_to_varchar2 (utl_encode.base64_decode (utl_raw.cast_to_RAW (x_text)));
d_msgHeaders: = utl_raw.cast_to_varchar2 (utl_encode.base64_decode (utl_raw.cast_to_RAW (x_msgHeaders)));
d_msgTrailer: = utl_raw.cast_to_varchar2 (utl_encode.base64_decode (utl_raw.cast_to_RAW (x_msgTrailer)));
-d_ackText: = utl_raw.cast_to_varchar2 (utl_encode.base64_decode (utl_raw.cast_to_RAW (ackText)));Select
EventType, amount, currency, State, units, correspondentid, sender, receivernetworks, bankingpriority,
applicationcode, processcounter, obsolescence, maxretry, reminders, filesize, endfct, xsubtype, field.20, sequencenumber, requestordn,
responderdn, swiftnetservice, non repudiation, transfertref, transfertinfo, filedesc, transfertdesc, logicalname, signindicator,
critid, infapid, deliverynotif, comment1, comment2, comment3, comment4, memo1, memo2, memo3, memo4, msgseculevel, dates, tuxedopriority, filedest,
stkmsgpdeid, emtid, ltrcptsyno, ltrcpt, ltemis, flow, fincopy, msgdateval, eventdate, typereseauid, infapseq1,
infapseq2, direction, priority, ack, msgref1, msgref2, msgref3, msgref4, amlbehavior, ownerserviceid, correspondentname, correspondentaddress1, correspondentaddress2, correspondentaddress3, correspondentaddress4,
correspondentcity, correspondentcountry, correspondentnetworkaddr, test, correspondentnetwork, validatedpercentage, nbofvalid,.
requestref, notifqueue, requesttype, secbpid, xqueue, receivercode, receiverind, validflag, ownerid, dn, rmaourbic, rmacorrespondentbic, rmaservice, filemsgref,
acktext, format, xtype, wall, textetype, creatinguser, fileinfo, society, text, xlanguage, msgheaders, msgtrailer, jaxbref, jaxbelt
in
x_eventtype, x_amount, x_currency, x_state, x_units, x_correspondentid, x_sender, x_receivernetworks, x_bankingpriority, x_applicationcode, x_processcounter,
x_obsolescence, x_maxretry, x_retries, x_filesize, x_endfct, x_subtype, x_field20, x_sequencenumber, x_requestordn, x_responderdn, x_swiftnetservice, x_nonrepudiation,
x_transfertref, x_transfertinfo, x_filedesc, x_transfertdesc, x_logicalname, x_signindicator, x_critid, x_infapid, x_deliverynotif, x_comment1, x_comment2, x_comment3,
x_comment4, x_memo1, x_memo2, x_memo3, x_memo4, x_msgseculevel, x_dates, x_tuxedopriority, x_filedest, x_stkmsgpdeid, x_emtid, x_ltrcptsyno, x_ltrcpt,
x_ltemis, x_flow, x_fincopy, x_msgdateval, x_eventdate, x_typereseauid, x_infapseq1, x_infapseq2, x_direction, x_priority, x_ack, x_msgref1, x_msgref2,
x_msgref3, x_msgref4, x_amlbehavior, x_ownerserviceid, x_correspondentname, x_correspondentaddress1, x_correspondentaddress2, x_correspondentaddress3,
x_correspondentaddress4, x_correspondentcity, x_correspondentcountry, x_correspondentnetworkaddr, x_tested, x_correspondentnetwork, x_validatedpercentage,
x_nbofvalid, x_requestref, x_notifqueue, x_requesttype, x_secbpid, x_queue, x_receivercode, x_receiverind, x_validflag, x_ownerid, x_dn, x_rmaourbic,
x_rmacorrespondentbic, x_rmaservice, x_filemsgref, x_acktext, x_format, x_type, x_mur, x_textetype, x_creatinguser, x_fileinfo, x_company, x_text,
x_language, x_msgheaders, x_msgtrailer, x_jaxbref, data_GTT_TEMP x_jaxbelt;x_memos: = x_memo1 | » -'|| x_memo2 | » -'|| x_memo3 | » -'|| x_memo4;
x_comments: = x_comment1 | » -'|| x_comment2 | » -'|| x_comment3 | » -'|| x_comment4;
x_correspondentAddress: = x_correspondentAddress1 | » -'|| x_correspondentAddress2 | » -'|| x_correspondentAddress3 | » -'|| x_correspondentAddress4;
x_msgrefs: = x_msgRef1 | » -'|| x_msgRef2 | » -'|| x_msgRef3 | » -'|| x_msgRef4;BEGIN
insert into donnees_xml
(xml_id, x_ext_date, eventtype, amount, currency, State, unit, correspondentid, sender, receivernetworks, bankingpriority, applicationcode,
ProcessCounter, obsolescence, maxretry, reminders, filesize, endfct, xsubtype, field.20, sequencenumber, requestordn, responderdn,
swiftnetservice, non repudiation, transfertref, transfertinfo, filedesc, transfertdesc, logicalname, signindicator, critid, infapid,
deliverynotif, comments, notes, msgseculevel, dates, tuxedopriority, filedest, stkmsgpdeid, emtid, ltrcptsyno, ltrcpt, ltemis, flow,
FINCopy, msgdateval, eventdate, typereseauid, infapseq1, infapseq2, direction, priority, ack, msgrefs, amlbehavior, ownerserviceid,
correspondentName correspondentaddress, correspondentcity, correspondentcountry, correspondentnetworkaddr, tested,
correspondentnetwork, validatedpercentage, nbofvalid, requestref, notifqueue, requesttype, secbpid, xqueue, receivercode,
receiverind, validflag, ownerid, dn, rmaourbic, rmacorrespondentbic, rmaservice, filemsgref, acktext, format, xtype, wall,
textetype, creatinguser, fileinfo, society, text, xlanguage, msgheaders, msgtrailer, jaxbref, jaxbelt)
values
(xmlid, x_extdate, x_eventType, x_amount, x_currency, x_state, x_units, x_correspondentId, x_sender, x_receiverNetworks, x_bankingPriority, x_applicationCode,
x_processCounter, x_obsolescence, x_maxRetry, x_retries, x_fileSize, x_endFct, x_subType, x_field20, x_sequenceNumber, x_requestorDn, x_responderDn,
x_SWIFTNetService, x_nonRepudiation, x_transfertRef, x_transfertInfo, x_fileDesc, x_transfertDesc, x_logicalName, x_signIndicator, x_critId, x_inFapId,
x_deliveryNotif, x_comments, x_memos, x_msgSecuLevel, x_dates, x_tuxedoPriority, x_fileDest, x_stkMsgPDEId, x_EMTId, x_LTRcptSyno, x_LTRcpt, x_LTEmis, x_flow,
x_FINCopy, x_msgDateVal, x_eventDate, x_typeReseauId, x_inFapSeq1, x_inFapSeq2, x_direction, x_priority, x_ack, x_msgrefs, x_amlbehavior, x_ownerServiceId,
x_correspondentName, x_correspondentAddress, x_correspondentCity, x_correspondentCountry, x_correspondentnetworkaddr, x_tested,
x_correspondentNetwork, x_validatedPercentage, x_nbOfValid, x_requestRef, x_notifQueue, x_requestType, x_secBpid, x_queue, x_receiverCode,
x_receiverInd, x_validFlag, x_ownerId, x_dn, x_RMAOurBic, x_RMACorrespondentBic, x_RMAService, x_fileMsgRef, ackText, x_format, x_type, x_mur,
x_TexteType, x_creatingUser, x_fileinfo, x_company d_text, x_language, d_msgHeaders, d_msgTrailer, x_jaxbRef, x_jaxbElt);Update temp_XML set status = 'Y' where XML_ID = xmlid;
END;
COMMIT;
END LOOP;
END;
/1.No. multiple tag will vary how to extract those and concatenate them into a single column. I assumed that his occrrence in 3 for example:
Use the fn:string-join() function:
path varchar2 (4000) of comments 'string-join(comments/comment, "-").
2. how to set the value NULL if no tag is not present. Tag in XML record number can vary.
You don't have anything specific to do in this case.
Missing tags with a projection in the COLUMNS clause will produce a column NULL by default.
-
ORA-01653: unable to extend the table SYS. ARGUMENT$ 13 in the SYSTEM tablespace
I created the new database manually.
When I @?/rdbms/admin/catproc.sql put this sql to execute.
for some time he said created, granted. but after somewhere, it gives me the error.
ORA-01653: unable to extend the table SYS. ARGUMENT$ 13 in the SYSTEM tablespace
Please help me on this.
Thank you in advance.Your query does not tablespace SYSTEM size. It provides a list of tablespaces. And may not be a complete list because I can't UNDO and TEMP tablespace. In all cases, based on the output, you have not created a user storage space, so all the tables you create in SYSTEM tablespace and finally you ran out of space. You need create user storage space if you don't have any. You want to change the non-system and non-system tablespaces value default tablespace users. Even if you don't have a non-system tablespaces, tables will be created in the tablespace default user unless you explicitly specify one. You must move the tables/indexes existing user for the non-system tablespaces.
SY.
PS to get the size of the SYSTEM tablespace, you will need to run:
Select sum (bytes) / 1024/1024 tablespace_size_in_mb
from dba_data_files
where nom_tablespace = 'SYSTEM '. -
ORA-1688: impossible to extend the table SYS. WRH
Hello
10g R2 I have error in following alertlog:
ORA-1688: impossible to extend the table SYS. WRH$ _ACTIVE_SESSION_HISTORY partition WRH$ 128 in the SYSAUX tablespace _ACTIVE_3192442214_8801
here:
I found:
BEGIN
DBMS_WORKLOAD_REPOSITORY. DROP_SNAPSHOT_RANGE (low_snap_id = > 22,
high_snap_id = > 32, dbid = > 3310949047);
END;
/
Table should it regularly? Oracle does'nt regularly? In DB control can we drop snapshots?
Any other suggestions for ORA-1688: impossible to extend the table SYS. Error WRH?
Thank you.user522961 wrote:
Hello
10g R2 I have error in following alertlog:ORA-1688: impossible to extend the table SYS. WRH$ _ACTIVE_SESSION_HISTORY partition WRH$ 128 in the SYSAUX tablespace _ACTIVE_3192442214_8801
here:
I found:
BEGIN
DBMS_WORKLOAD_REPOSITORY. DROP_SNAPSHOT_RANGE (low_snap_id-online 22,
high_snap_id-online 32, dbid-online 3310949047).
END;
/Table should it regularly? Oracle does'nt regularly? In DB control can we drop snapshots?
Any other suggestions for ORA-1688: impossible to extend the table SYS. Error WRH?
Thank you.
Why are you leaving a double thread that you started 7 + hours earlier?
ORA-1688: impossible to extend the table SYS. WRH$ _ACTIVE_SESSION_HISTORY
-
Insert in the table of waveform
This is a snippet of code that I use in a larger program, but the functionality remains the same. I read two waveforms of an oscilloscope and insert them in my DataSet happening in the world. For some reason, when I do the table insert, no data ever made in this table. What concept am I missing here and how can I remedy this?
Build table is the correct way about 99.9% of the time.
I don't think I've ever actually used insert into the table. It is intended for those situations where you want to Insert and in the middle of a table element, not when you want to build on the table at the beginning or at the end.
Your original mode has not worked because you wired the value of the N terminal in the insertion index in the table. This value is 3. If the next table in the loop is empty, then you cannot insert an element at index 3 because the rest of the table before does not exist.
-
Error ORA-16724: could not resolve the deficit for one or more databases in waiting
I came to work today with the following error is displayed:
February 5, 2014 01:27:19 error ORA-16778: make the mistake of transport for one or more databases.
Looks like this error disappeared but now I have the following error:
February 5, 2014 11:52:40 error ORA-16724: could not resolve the deficit for one or more databases in waiting
I did some research on the forums and I think I need backup and restore, but I'm not sure.
Here are some questions that I saw others asking in the forums:
PRIMARY:
Select max(sequence#) from v$ archived_log; -24589
Select current_scn in the database of v$. -871568619
SECONDARY:
Select max(sequence#) from v$ archived_log; -24589
Select max(sequence#) from v$ archived_log in case of application = 'YES '; -24562
Select current_scn in the database of v$. -870987797
Select * from v$ archive_gap;
Thread # Low_Sequence # High_Sequence #.
1 24563 24563
Looks like everything is working, but the error is still appearing in OEM primer.
The issue ended up being with the control file. I followed of many blog posts on how to roll forward the database before and they all said to restore the control file before you recover the database. I followed this paper: http://docs.oracle.com/cd/B28359_01/server.111/b28294/rman.htm#CIHIAADC and it worked as expected. The old control file has had 6 data files that were in a different place than the others. The new control file, I created the primary had all the files of data in one place. After correcting the control to point to the locations correct datafile all started working again.
-
I recently bought a drone DJI Phantom 3 kind have been treatment of videos more than usual and not have not had any problems. I use Lightroom for cataloging movies and I use the first to change.
Since yesterday, I was not able to import any movie that I get the following error
an unknown error has occurred during playback of the video file. failed to connect to the server of dynamic links
Initially, I thought that it was due to a spectacular crash of drone (Physics isn't SHE!) who corrupted the file that was being logged, m ais I can now no longer import any movie to Lightroom.
I tried the following1. a different memory with a new registration card
2 removing and re - import an old movie
3. to remove and re-import and old movie created by another camera
4. to remove Lightroom and rolling back to the previous version of LR CC (CC 2015 [1014445])-had the advantage of getting rid of the annoying new import dialog screen. -
5. upgrade to El Capitan to see if maybe OSX update may help.
None of them had no effect, can anyone help?
Hello
You're welcome ShawWellPete, I thank you for everything.
Yes, this person is the windows user, but it was the same question that could have been resolved by quicktime 7. (pending confirmation)
Try to disable the start-up services and restart the mac and then try: take control of start-up and connection elements. Macworld
There could be some service startup that is in conflict.
Concerning
Jitendra
-
Error: ORA-16757: failed to get the value of this property
Hi all
I have an error:
DGMGRL > see the database dbname_stb LogXptStatus;
Error: ORA-16757: failed to get the value of this property
I check:
DGMGRL > see the configuration;
Configuration - dbname_dg
Protection mode: MaxPerformance
Databases:
dbname_pr - primary database
dbname_stb - physical of the standby database
Fast-Start Failover: DISABLED
The configuration status:
SUCCESS
drcdbname_stb.log:
RSM0: Received the request the property Get: rid = 0 x 01010000, pid = 54
2012-10-17 15:21:14.702 of database Resource: get the LogXptStatus property
RSM 15:21:14.702 2012-10-17 error: trying to interview a 'LogXptStatus' primary type property on a standby database resource.
2012 10-17 error 15:21:14.702 database resource GetProperty (16501,16757)
I don't understand this error?
Thank you all.Take a look on this
-
Inserting into the table of the apex report log
Hi all
I have an interactive report with check boxes for each line, when I select a checkbox one according to the report and click the button submit that the first records of departure in the report are getting inserted into the table
the lines that I select in the report is not getting inserted into the table.
For example, if I select all 4 records in the box and click submit button 4 first records will be inserted into the table. Not the selected records.
I put all the attributes attribute of standard report columns.
Here is my code I wrote for the process to insert in the journal table.
For the report querydeclare v_index varchar2(2000); begin FOR i in 1..APEX_APPLICATION.G_F21.COUNT LOOP --v_index := APEX_APPLICATION.G_F21(i); insert into eptlog(ptr , cat , pgroup , splptr,gisv , mptr , hip , oml ,wa_type , stl_acc,last_updated_by ) values(apex_application.g_f22(i), A-Cat,P-Group, 'N', 'Y', 'N', 'Y', 'HIP', 'APC', 'N', apex_application.g_user); END LOOP; end;
-------------------
Please guide me on what I need on urgent basis.select apex_item.checkbox(21,'#ROWNUM#','UNCHECKED')||APEX_ITEM.HIDDEN(22,p.cc||'-'||p.name) ptr, p.row_id, p.cc, c.ctrdesc, p.name, p.cat, ptr.onumber, p.c_id, apex_item.select_list_from_query(23,ptr.ecat, 'select catdesc,cat from ptrcatmst') cat1, apex_item.select_list_from_query(24,ptr.partner_group, 'select pgroup,gid from APTNRGROUP') pgroup, apex_item.select_list(25,p.gisv,'Y;10,N;20') iv, apex_item.select_list(26,p.splptr,'Y;10,N;20') splptr, sum(rate) from aptr p left outer join aptr_a s on p.name = s.pname and p.cc = s.cc left outer join lcomp c on s.cc = c.cc where rate>0 and p.cat1<>'D' and s.cc ='10' group by rownum,p.row_id, p.cc, c.ctrydesc, p.name, p.cat, p.onumber, p.cid, p.cat1, p.pgroup, p.iv, splptr, order by rate desc
Thank youHello
I have fixed the bothe insert and update now procs.
Here's what I changed.
Changed the sql report to render the rownum as the value for the column in the box.
Edited the page processes to use the value of rownum.
Please check and mark the correct answer
Thank you
-
How the values to insert into the table with the command insertion
Dear all
can someone tell me how the values to insert into the table with the command insert, I want to say I always use command insert behind my forms on what shutter release button press the button of my save, but today I had a form of 6i, where controls (textbox, combo, etc.) are delineated with directly the table with I guess than the Properties Windows , I created 3 columns in tand 3 text on forms fields, now kindly tell me how to do this fields to fill and do not insert command, I mean directly defined with table column
Please help me its urgentHello
If the block is based on your database table, just committed the shape, then changes will be applied to the database.
François
-
increase the value of minute in 14 minutes, while the data is inserted into the table
Hello
I'm having the asp page that connects with the DB to insert values into the table. One column is date data type. Value from this asp page must be incremented to 14 minutes before be inserted into the table.
How can I do this?
sqlG="INSERT INTO AEMU " &_ " (MSISDN,X,Y,TIME_STAMP,REQ_ID, " &_ " COUNTRY_G)" &_ " VALUES " &_ "('"& msid &"'," &_ "'" & X & "'," &_ "' " & Y & " '," &_ "to_date('" & Day(TrueTimeStamp) & "-" & MonthName(Month(TrueTimeStamp), True) & "-" & Year(TrueTimeStamp) & " " & Hour(TrueTimeStamp) & ":" & Minute(TrueTimeStamp) & ":" & Second(TrueTimeStamp) & "', 'DD-MON-YYYY HH24:MI:SS')," &_ "' " & req_id & " '," &_ "'" & CountryName_G & "')"
Try this way:
sqlG="INSERT INTO AEMU " &_ " (MSISDN,X,Y,TIME_STAMP,REQ_ID, " &_ " COUNTRY_G)" &_ " VALUES " &_ "('"& msid &"'," &_ "'" & X & "'," &_ "' " & Y & " '," &_ "to_date('" & Day(TrueTimeStamp) & "-" & MonthName(Month(TrueTimeStamp), True) & "-" & Year(TrueTimeStamp) & " " & Hour(TrueTimeStamp) & ":" & Minute(TrueTimeStamp) & ":" & Second(TrueTimeStamp) & "', 'DD-MON-YYYY HH24:MI:SS')+14/(24*60)," &_ "' " & req_id & " '," &_ "'" & CountryName_G & "')"
Max
[My Italian blog Oracle | http://oracleitalia.wordpress.com] -
Hello
in 10g R2, my sysaux tablespace is in AUTOEXTEND on and I have enough disk space, but I get:
ORA-1688: impossible to extend the table SYS. WRH$ _ACTIVE_SESSION_HISTORY partition WRH$ 128 in the SYSAUX tablespace _ACTIVE_3192442214_8801
In my alertlog. Why? Any oracle bug?
Thanks in advance.01688, 00000, "unable to extend table %s.%s partition %s by %s in tablespace %s" // *Cause: Failed to allocate an extent of the required number of blocks for // table segment in the tablespace indicated. // *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more // files to the tablespace indicated.
-
Popup do not insert in the table and not refreshing called page...
Greetings
Environment: APEX 3.1.1.00.09 on AIX 5.3 with 10 gr 2
I read a lot of threads about my question and I think I'm getting closer to the answer but in some sort have combined a too big number of suggestions and am tripping over my own code.
Please look at my sample application on apex.oracle.com:
Workspace: galway
User: gwicke
Password: gwicke
Please start by Page3, select any agency and then click on "add a new contract."
There are currently a label "BOLD" < facilities > < strong > 'Add new Builder' which is a link that should open a popup window. Type a name in the field, and then click 'Create Builder'. This should INSERT the row into the table builder, close the pop-up window, assign the new name of the generator to the item page calling "Name Builder" and fill the screen element.
In current state, the application will open the pop-up, allow entry and close by clicking on the button "create Builder." However, the new constructor is NOT inserted into the table and the calling page element is not met.
Looking at the Page elements and Session State, I can see the correct values assigned to the elements "Pn_BULDER_NAME" on the popup page (4) and the calling page (2), but the value does not appear on the screen.
I read here where there really two parallel universes, not forgiveness, Articles of two versions of the screen, a State of Session and the other which is displayed in the browser and there are measures to be taken to be sure that is displayed is updated to state of Session I want in this case.
I entered the Javascript code on Page4 - header to set the 'passBack2()' function and the code in the section "Option URL Redirect" to the button "Add Builder" if all goes well perform protocol ARP for the INSERT, assign items to page 2 and close the pop-up window. He gets not quite everything.
Any helpp is greatly appreciated. Thanks to Dene for most of the suggestions I have followed by code.
-garyHi Gary,.
I think that there is a very simple solution to this topic - is not this spot really last night.
First, Yes, you could use a "button" to manage the call for the popup - make sure that the button is a type of URL 'button', which is actually an A tag with the appeal under target URL. Otherwise, you could take you existing a tag and use the same class for one of your buttons attribute because this should make it look like a button.
More importantly, however, I think we could do as:
1. on your call popup page 2, clear cache for page 4 (the popup page) - I already did in your application by updating the url
2. on page popup, allow the user to enter their desired P4_BUILDER_NAME value (not sure if you want to do something to make it unique?)
3 let the user click on create on the shortcut menu. He will submit the page, that will make your P4_BUILDER_RANK (pk) value and insert a new record in the table (you might consider the creation of a sequence and a trigger to handle the creation of new value PK?).
4 - assuming that the P4_BUILDER_RANK then exist (it would not if there is a mistake somewhere), then conditionally display a region that had a piece of javascript submit page 2 and closes then itself - we don't need to move everything back to page 2 (see below)
5. as the P4_BUILDER_NAME and the P4_BUILDER_RANK exist in the session, to which page 2 be reloaded, (A) the selection list should be updated with the new generator (still not sure why all my entries appeared downstairs instead of in alphabetical?) and (B) the P2_BUILDER_NAME and the P2_BUILDER_RANK can have Post calculation calculations together (NVL) ((: P4_BUILDER_NAME,: P2_BUILDER_NAME) and NVL (: P4_BUILDER_RANK,: P2_BUILDER_RANK) respectively)-l' effect is, if there are the values stored in the page P4 elements, we use them, otherwise, we use whatever values were in the elements of page P2
6 - Finally, to stop (5) that happens in all the loading of page 2, you would need to clear the cache of page 4 in as many places as possible - for example, branches for a 2 page or buttons on page 2
The reason why we cannot pass values back to page 2, it is one of the elements is a list of selection. The value we want to select will appear not on the selection list until the page has been sent. So, we can set the value and submit because the value is not there. We can introduce and define the value, because the javascript don't know when the page has been updated (or, at least, you need an independent mechanism to identify, which can get complicated).
So, in other words, as long as we know that if the values are in the session, we can use Post calculation calculations to set our fields to these values. The only thing to keep in mind is that we must ensure that these session values only exist when in need - so we empty the cache. This principle should work for any type of terrain - but as you have no doubt seen, simple text fields can be updated by the popup directly as the field must accept any value that we give.
My only recommendation would be to completely remove the MRU of the page process because they are not necessary (they simply confuse the issue) and you could make your fetch PK and record insert into a single process - just to keep things clean and tidy, you understand!
When I finished last night with your app, I will leave so that javascript can create an option on the select list, and then set the value. But the method described above seems to be much simpler.
Andy
Maybe you are looking for
-
I have the same 28.0 browser installed on my Acer and my Toshiba. When I connect to a Web site and select an option for certain with the Acer computer I get "your session has completed, please sign in again. When I connect with my Toshiba Firefox it
-
How to set up a family sharing
I just did a search for "how to set up a family sharing" and it does not give me results, only this html WYSIWYG editor. As he related to this legacy article: we are unable to find the community associated with the HT201572 article. Please select a c
-
Error code 80070424 tries to install the updates.
Original title: cannot update I have the error 80070424 code when I try to update. I downloaded the "fixit" program that did not work so I am go next in the file transfer smart background who are all began. Then, I tried to download a diagnostic tool
-
LabelField DrawStyle.RIGHT &; setText()
Hi, I have a labelfield with DrawStyle.RIGHT then later, I put the text. Definition of the text, the DrawStyle is destroyed and is aligned to the left. Is - this expected outcome?
-
Smartphone blackBerry Bold 9930 of restart
Why I have to remove battery to reboot my phone when it begins to have questions (emails stop entering or lose all speakers)? Why is there no way to restart without going through a new update? Or am I missing something?