Insert into the cluster by string name

Hello

I am writing a Labview program to query .NET database management system and get the connected device (like USB CDC) listed with Port of corresponding Com, VID, PID, manufacturer of SN name ect...

I got to the point where I get the channels I need and want to organize them in a cluster table.

Here is my code, I wanted a better way to replace section circle of the code.

Basically, I can get programmatically the cluster name, but when the cluster wads, I can't figure out a way to do it programmatically inside the while loop: a loop on the number of items in the cluster and by placing values in the right place.

Is it possible to do?

Thank you very much

Amine

Altenbach says:

If the cluster contains exactly three elements of the chain (nothing else!) and they are classified as in the node of your 'bundle by name", all you have to do is on the"table of cluster"output size 3 and it wire in a table build node (upper entrance wired to your array of cluster and botton imput cable to the new cluster) Wired output by the right side of the image).

Here is a simplified illustration which simply sets the value of the label. (top image). Because the labels are defined at compile time, all you need is perhaps to get the names of once at the beginning of the program, and then use a range of simple string instead.

Another possibility would be to use the reference to the element to set the value inside the loop, and then get the final cluster value later (at the bottom of the image).

(There are some simplified examples. All you need is to replace the code that gets your new string instead.)

Tags: NI Software

Similar Questions

  • 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 table

    Problem:
    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't

    Sample 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.jaxbElt

    of 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.

  • 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.
    declare
    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;
    For the report query
    -------------------
    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
    Please guide me on what I need on urgent basis.

    Thank you

    Hello

    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 to select a rectangle that was inserted into the Clipboard?

    For inserting images batch execution, I am faced with this situation:

    There is a document with a large number of paragraphs containing a file name of image as "034.tif."

    I have a rectangle that has the exact size and style how the images should be placed.

    I copy it to the Clipboard.

    Then I run a script which seeks names of image files and replaces them with the contents of the Clipboard (the desired rectangle).

    If the script ends here, the cursor is placed directly after the just inserted rectangle.

    How the script can select the rectangle on the left of the slider so that the image is inserted into the rectangle instead of after him?

    The script looks like this:

    copy the rectangle desired the Clipboard manually

    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.findWhat = "002.tif";
    app.changeGrepPreferences.changeTo = "~ c";
    myPlace var = app.changeGrep ();

    This is the point where I have to select the rectangle that changeGrep just inserted

    concerned about myPlace [0] ('002.tif', false);

    Your script as written will replace all occurrences of the text in all documents open with the contents of the Clipboard, sort of 'selection', the result could be problematic. However, you can get an array of references to the result like this:

    var myPlaces = app.changeGrep ();

    for (var j = 0; myPlaces.length > j; j ++) {}

    var myRect = myPaces [j] .rectangles [0]; assume that the content of the Clipboard was indeed a rectangle

    var myRect.place ('002.tif', false);

    }

    Even though I'm doubtful that you can simply pass the name of made it to the set command. I myself spend a full file reference.

    The point here is that the changeGrep command returns an array of references to text for the amended text. Each of your texts has changed (even if there is only one) is a character containing an inline or anchored, rectangle that is referenced as the first member of the collection of rectangles by the character.

    Dave

  • is it possible to have a link/button inserted into the end of my flash video that make up the first page of my web site

    I don't know if this will make sense then please tell me if it isn't. is it possible to have a link/button inserted into the end of my flash video that make up the first page of my web site. the video plays with the name of the site then fades to display the text "enter" I want to make the link to the next page.

    > the video plays with the name of the
    > site then fades to display the text "enter."

    Set the action gotourl on the last frame of the moving to FLASH.

    If it of a "cover page" and has a company logo dance and a nagging
    drumbeat - reconsider. Just make the homepage of the website home page.
    Don't make people wait to see some content.

    --
    Alan
    Adobe Community Expert, dreamweaver

    http://www.Adobe.com/communities/experts/

  • Why is my cd not load & play automatically when it is inserted into the media player?

    Why is my cd not load & play automatically when it is inserted into the media player?

    If you use Windows Vista or Windows 7, try the following:

    Click Start, type: AutoPlay

    Press enter on your keyboard

    Scroll to CDs

    Click in the list box

    Select an action:

    Play audio CD using Windows Media Player.

    See:

    Windows Media Player Fact not play Audio CD- Roma automatically

    Also:

    Media Player 12 auto-play when inserting audio CD ... behavior

  • FND_REQUEST. SUBMIT_REQUEST returns request_id, but documents are not inserted into the table AP_INVOICES_ALL

    simultaneous program returns request_id, but the lines are not inserted into the AP_INVOICES_ALL table.

    where can I check for errors? is there any error log written by simultaneous program?

    Please do not post any duplicates- FND_REQUEST. SUBMIT_REQUEST stores the error messages in the table

  • Insert into the table with restrictions

    Hello

    I'm trying to insert into the rows of the table to a table, but this inserts are conditioned by the other table.

    The old table is:

    CREATE TABLE control)

    ID number 4 NOT NULL,.

    FD varchar2 (10) NOT NULL,

    HD varchar2 (10) NOT NULL,

    Code number 4 NOT NULL,

    fcod varchar2 (10) NOT NULL,

    Type varchar2 (10) NOT NULL,

    invoice_text varchar2 (10) NOT NULL

    )

    This table includes the following values:

    Fd hd place ID code fcod typ invocie

    So if you want to help change your original message and finish it. Otherwise, just mark the ANSWER thread.

  • JavaScript written in Dreamweaver behaves different when it is inserted into the Muse

    I have a simple list javascript that is written in Dreamweaver and works as expected, but when I copy and paste this exact javascript in html-object-section insert the result in Muse is different.

    Is there a place I can go to research on what I need to do different to make the code behave properly in the Muse? I don't understand what I need to change or do different.

    Here is the code that I had to work in Dreamweaver:

    <! doctype html >

    < html >

    < head >

    < meta charset = "utf-8" >

    list of < title > < /title >

    < script type = "text/javascript" >

    function fixTheList() {}

    var msg = "";

    var msg = "";

    If (document.getElementById("appleQty").value > 0) {}

    MSG += "apples";

    MSG += document.getElementById("appleQty").value;

    MSG += "< br >".

    }

    If (document.getElementById("orangesQty").value > 0) {}

    MSG += "Oranges";

    MSG += document.getElementById("orangesQty").value;

    MSG += "< br >".

    }

    If (document.getElementById("tangerineQty").value > 0) {}

    MSG += "mandarins."

    MSG += document.getElementById("tangerineQty").value;

    MSG += "< br >".

    }

    If (document.getElementById("kiwiQty").value > 0) {}

    MSG += "Kiwi";

    MSG += document.getElementById("kiwiQty").value;

    MSG += "< br >".

    }

    If (document.getElementById("pearsQty").value > 0) {}

    MSG += "Pears";

    MSG += document.getElementById("pearsQty").value;

    MSG += "< br >".

    }

    If (document.getElementById("grapesQty").value > 0) {}

    MSG += "grape";

    MSG += document.getElementById("grapesQty").value;

    MSG += "< br >".

    }

    If (document.getElementById("canteloupeQty").value > 0) {}

    MSG += "Canteloupes."

    MSG += document.getElementById("canteloupeQty").value;

    MSG += "< br >".

    }

    If (document.getElementById("strawberryQty").value > 0) {}

    MSG += "strawberry."

    MSG += document.getElementById("strawberryQty").value;

    MSG += "< br >".

    }

    document.getElementById("outputDiv").innerHTML = msg;

    }

    < /script >

    < / head >

    < body >

    < div id = "outputDiv" >

    < table >

    < b >

    < Td > < table > element

    Amount of < td > < table >

    < /tr >

    < b >

    Apples < td > < table >

    < td > < input type = "text" size = "3" id = "appleQty" > < table >

    < /tr >

    < b >

    Oranges < td > < table >

    < td > < input type = "text" size = "3" id = "orangesQty" > < table >

    < /tr >

    < b >

    Tangerines < td > < table >

    < td > < input type = "text" size = "3" id = "tangerineQty" > < table >

    < /tr >

    < b >

    Kiwi < td > < table >

    < td > < input type = "text" size = "3" id = "kiwiQty" > < table >

    < /tr >

    < b >

    Pears < td > < table >

    < td > < input type = "text" size = "3" id = "pearsQty" > < table >

    < /tr >

    < b >

    Grapes < td > < table >

    < td > < input type = "text" size = "3" id = "grapesQty" > < table >

    < /tr >

    < b >

    Cantaloupe < td > < table >

    < td >

    < input type = "text" size = "3" id = "canteloupeQty" >

    < table >

    < /tr >

    < b >

    Strawberry < td > < table >

    < td > < input type = "text" size = "3" id = "strawberryQty" >

    < table >

    < /tr >

    < /table >

    < input type = "button" value = "Stack" onclick = "fixTheList (); ">

    < / div >

    < / body >

    < / html >

    Hello

    Only difference I see is with the entry tag CSS properties.

    You can set the style of these tag by adding a few lines of code just belowtag in the code you paste in object > insert HTML code.<p class="reply"> <p class="reply">For example, you can add following codes</p> <p class="reply"><strong><style type="text/css"></strong></p> <p class="reply"><strong>  input {</strong></p> <p class="reply"><strong>    border: thin solid #AAA2A3;</strong></p> <p class="reply"><strong>    margin-bottom: 7px;</strong></p> <p class="reply"><strong>    margin-left: 9px;</strong></p> <p class="reply"><strong>}</strong></p> <p class="reply"><strong>  </style></strong>

    According to your requirement you can change.

    One tip more. Break your 3 codes part, tag Scripts, Style and tag Div in the body tag.

    Insert the Div tag in the body to object > insert HTML code

    Insert tags to Scripts, tag Style in Page > Page Properties > metadata > HTML for

    This will help you avoid unexpected in the preview behavior when you have stuff more inserted into the Muse Page.

    1 script tag (insert in the Page > Page Properties > metadata > HTML for))

    2 style Tag (insert in the Page > Page Properties > metadata > HTML for))

    3 Div tag in the body (insert in the object > insert HTML code)

    Agenda Quantity
    Apples
    Oranges
    Tangerines
    Kiwi
    Pears
    Grapes
    Cantaloupe

    Strawberry

    Concerning

    Vivek

  • Record is not inserted into the transparent Table Forms 10g

    Hi all

    I have the built in 10g (10.1.2.0.2) form.

    Basically, the form has 2 blocks.
    1 block with a single element, where we enter a value and press on enter (this place you block2 and run the query).
    Block 2 (tabular) will get the records. This block2 have now 3 columns (caseid, userid, date).

    Now when I insert a new record, I just need to get the caseid only. And username and date must be filled in automatically.
    I can fill fields username and the DATE.
    And when I enter a value element of the block 2 caseid and then Control + S(to insert the record and Save the transaction),.
    I get the message saying FRM-40400: transactions: 1 applied and saved records.
    But when I ask again for the same thing, I do not have is the record inserted into the table.
    Why is this happening?

    Help please...

    Drop the trigger for INSERTION WE (do not comment code or write NULL) and move your code to INSERT before trying.

    -Clément

  • 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 urgent

    Hello

    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]

  • CFIF to the boxes being inserted into the database field car_make.

    Hello, I need help on CFIF for the boxes being inserted into the database field car_make.

    At this point, several values is inserted in the car_make field. I would like to only have one value depending on what is checked in the box.

    Thank you

    Here's what I mean. I would like to know if it is is not clear.

    CFIF
    If Honda is checked then Honda value is inserted in the field car_Make

    If if Toyota is checked then Toyota value is inserted in the field car_Make


    If If Subaru is checked then Subaru value is inserted in the field car_Make


    You CAN, of course, but not without being fluent in javascript. Is there a particular reason you want to use checkboxes versus radio buttons?

    From an interface point of view, its generally not a good idea to change the behaviours expected of HTML form elements. If users see an option button, they assume generally that it will allow only 1 choice. If they are presented with a box, they could very easily be expected they could select more than 1.

  • Data does not get inserted into the Hxt_Add_Assign_Info_F table

    Hello

    Can tell me regarding when the data is inserted into the Hxt_Add_Assign_Info_Ftable.
    Lately this table not get updates.

    Thank you
    Bitr

    When you enter the assignment of time information, this table is filled (responsibility of the OTL Application Developer > OTL time accounting > assignment of time information)

  • Insert into the table with the help of the string

    Hi all

    I have a string with commas.
    Is it possible to insert the values of string directly in the table in each column.

    For ex:

    v_str = "10,20,30,40";

    insert into v_tab (col1, col2, col3, col4) values (10,20,30,40);

    I would like to pass v_str instead of numbers in the insert statement.

    Thank you

    I try with this simple block
    DECLARE
      v_char VARCHAR2(1000) := '10,20'; 
      v_query VARCHAR2(3000); 
    BEGIN
      v_query := 'INSERT INTO week_bkgs(week_num, product_bkg) VALUES (:x)'; 
      EXECUTE IMMEDIATE v_query USING v_char; 
    END; 
    /
    How can achieve us if
    the column a. data types are the NUMBER
    b column data types are VARCHAR2

    Published by: polasa on October 30, 2008 21:20

    Try this

    SQL> set lines 100
    SQL> desc student;
     Name                                                  Null?    Type
     ----------------------------------------------------- -------- ------------------------------------
     NAME                                                           VARCHAR2(100)
     STUDENT_NUMBER                                                 NUMBER(10)
    
    SQL> declare
      2     str_v   varchar2(100) :='''abc'',1';
      3  begin
      4     execute immediate 'insert into student values ('|| str_v ||')';
      5  end;
      6  /
    
    PL/SQL procedure successfully completed.
    
    SQL> select * from student where student_number=1
      2  ;
    
    NAME                 STUDENT_NUMBER
    -------------------- --------------
    abc                               1
    
    SQL> 
    

Maybe you are looking for

  • release the 16.01 I must get out of this update

    I just saw on news updates of 16.01 arrested due to a security problem. Despite this declaration of Mozzilla, my system is automatically updated at 16.01. the flaw has been corrected, or should I revert to a previous version. If yes how can I do that

  • Setting the time and time zone?

    Hello, I have a problem, try to change my time to standard time. When I change the time and time zone, they are locked. It won't let me uncheck to set the time manually. The time zone is set to Apple Americas / U.S. (site time.apple.com) IM El Capita

  • The disk (with no key) installed Vista Home Premium, and the license key OEM is for... Home Basic!

    I recently did a clean install with the disc that came with my Dell XPS6400 (bought in the auction) local computer, which had only "Vista 32bits" written on it and no product key.  I thought I could use the key on the sticker on the underside of the

  • Cannot install the printer, gives 404 error

    What does the error 404 not found average Trying to set up my laptop to access my kodak printer, but it does not load the disc it say it has not installed because 'rror 404 not found average. I did a search and there are people they can help if I dow

  • On replacing a HARD the T60p drive dead

    G ' Day, friends! I'm looking to replace the hard drive died on my T60p 2613ETU (specifications complete available here). Dead hard drive is a 100 GB 7200 RPM SATA 1.5, and I replace it with either the WD Scorpio Black 500 GB or Scorpio black 750 GB.