region dynamic creation error

Hi am having an error when creating dynamic region am in jdeveloper 11.1.1.7.0. I have two pages got jsff country and other obtained provience adf table they are all inside the header of the Panel and the collection of panels, I created a dynamic region as a result of this https://blogs.oracle.com/shay/entry/adf_dynamic_regions_switching_just

My problem is when I click on the link provience I get message saying data retrieval, it does not load data, but if I use adf form there is no problem I can switch between the two and load data

Is #{backingBeanScope.DateValidation.countrytaskflowdefinition} of the dynamic switch taskflow bean?

In this case must be the bean at least viewScope or pageFlowScope.

Timo

Tags: Java

Similar Questions

  • Hi friends this is the code for the dynamic creation of user in plsql, but these statements are not run if pls help for this error

    DECLARE

    n NUMBER.

    BEGIN

    n: = 1;

    WHILE (n < = 10)

    LOOP

    CREATE a user EM | IDENTIFIED BY KLU n;

    SESSION CREATION GRANT, GRANT ANY PRIVILEGE TO EM. n;

    COMMIT;

    n: = n + 1;

    END LOOP;

    END;

    Hello

    Here is the dynamic creation of user query and giving grants to the user,.

    DECLARE

    n NUMBER.

    cr_user VARCHAR2 (300);

    gr_user VARCHAR2 (300);

    BEGIN

    n: = 1;

    While (n<=>

    LOOP

    cr_user: = 'CREATE user EM | n | "IDENTIFIED BY KLU";

    gr_user: = "GRANT CREATE SESSION, GRANT ANY PRIVILEGE to EM '. n | '';

    EXECUTE IMMEDIATE cr_user;

    EXECUTE IMMEDIATE gr_user;

    n: = n + 1;

    END LOOP;

    END;

    Edited: Removed when OTHER exceptions to Code.

    See you soon!

  • Moving regions dynamically in Oracle APEX5

    Hello

    I need to move regions dynamically in my screen 5 APEX.

    For example: I have 3 regions in my screen. Now, I need to drag and change the position of the regions dynamically. Is this possible?

    IAM using Oracle Apex Version 5.0.2.00.07, universal Theme.

    Thanks in advance.

    Kind regards

    Nivetha

    Hi, Elise

    Yes it is possible with this plugin

    http://Apex-plugin.com/Oracle-Apex-plugins/dynamic-action-plugin/flexible-regions_200.html

    It lets your region be draggable, resizable. His new position is automatically recorded.

    Try to drag the region and refresh the region in its demo

    https://Apex.Oracle.com/pls/Apex/f?p=30904:1:10379579439468:

    I hope this meets your need

    Concerning

    Mahmoud

  • ORA-10173: time-out of dynamic sampling error: application of OBIEE 11 g

    Hello

    Application: OBIEE 11g

    Database: Oracle Database Enterprise Edition Release 12.1.0.2.0 - 64 bit Production 12 c

    The following alert was generated for the purposes of OBIEE 11 g database.


    ORA-10173: time-out of dynamic sampling error:


    When I google it finds that there is no resolution except that raise to Oracle.


    Anyone experienced the same and any resulting resolution already?


    Enjoy the you entries.


    Thank you

    HESH

    Thanks Christian, I'll close this thread and open a new forum of the database.

  • Creation errors swf movie file

    Why I get this error message when I try to test a SWF of clients from a fla file... Creation error SWF movie file be sure the destination file is not locked or on a locked drive

    How should I do?  I received it before and don't remember making.

    Barb

    Save the fla with a new name, use the default swf name and repeat the test.

  • With dynamic region ADF runtime errors

    I use a dynamic region in my web project. I use JDev 11.1.1.3 and use the built in weblogic server.
    Things work very well and I do not see the dynamic region work perfect.

    My colleague does not Jdev/Weblogic. It uses another IDE and run the build script to deploy the project to a single weblogic server.
    But there is no ADF faces DURATION 11.1.1.3 installed on its box.

    He sees the error when accessing the page with dynamic region below. Guidance as to what might be missing here?

    < WARNING > < oracle.adf.view.rich.component.fragment.UIXRegion > < BEA-000000 > <
    java.lang.IllegalStateException: the expression "#{bindings.dynamicRegion1.regionModel}" (which has been specified for the region
    Odel attribute "value" component of the region with the id "r1") evaluated to null.
    This is usually due to an error in the configuration of the objects referred to by this term.
    If it helps, the expression "#{bindings.dynamicRegion1} ' value 'null '.
    If it helps, the expression "#{bindings} ' value 'null '. Now using a RegionModel empty instead.
    at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:439)
    at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:109)
    at jsp_servlet.__forecasteradmin_jspx._jspx___tag10(__forecasteradmin_jspx.java:572)
    at jsp_servlet.__forecasteradmin_jspx._jspx___tag6(__forecasteradmin_jspx.java:406)
    at jsp_servlet.__forecasteradmin_jspx._jspx___tag5(__forecasteradmin_jspx.java:351)
    at jsp_servlet.__forecasteradmin_jspx._jspx___tag4(__forecasteradmin_jspx.java:307)
    at jsp_servlet.__forecasteradmin_jspx._jspx___tag3(__forecasteradmin_jspx.java:256)
    at jsp_servlet.__forecasteradmin_jspx._jspx___tag2(__forecasteradmin_jspx.java:205)
    at jsp_servlet.__forecasteradmin_jspx._jspx___tag1(__forecasteradmin_jspx.java:154)
    at jsp_servlet.__forecasteradmin_jspx._jspx___tag0(__forecasteradmin_jspx.java:104)
    at jsp_servlet.__forecasteradmin_jspx._jspService(__forecasteradmin_jspx.java:65)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    to org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$ OverrideDispatch.dispatch (FacesContextFactor
    Impl.Java:267)
    at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.epm.forecaster.view.filter.ForecasterSessionExpiryFilter.doFilter(ForecasterSessionExpiryFilter.java:52)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:4
    0)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:4
    0)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:94)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hello

    + <>
    + java.lang.IllegalStateException: the expression "#{bindings.dynamicRegion1.regionModel}" (which has been specified for the region +)
    + the odel 'value' attribute of the component of the region with the id "r1") evaluated to null. +
    + It is usually due to an error in the configuration of the objects referred to by this term. +
    + If it helps, the expression "#{bindings.dynamicRegion1} ' value 'null '. +
    + If it helps, the expression "#{bindings} ' value 'null '. Now using a RegionModel empty instead. +

    Seems that the link layer is not configured. The call is correct? Web.xml file has defined binding filter?

    Frank

  • Definition of region dynamically by using java script

    Hello

    I have a parent region containing 2 subregions,

    subregion 1st - is a region of bar chart showing the top 10 customers (on sale terms)

    2nd subregion - on the page load its hidden, but when clicking on a point in the bar above - graph corresponding to a customer - it refreshes and view transactions associated with this client making this outstanding balance

    Subregion refresh works fine and I have the following code the home page's html to achieve this,

    function eventlistener_initiate(a){
    AnyChart.getChartById($("#RG2_TOP_CUST_chart object").attr("id")).addEventListener("pointClick",showCustDrillDown);
    };
    
    
    function showCustDrillDown(pEvent){
      $x('P3_CUSTOMER_NAME').value = pEvent.data.Name;
      $x('P3_BALANCE_TYPE').value = pEvent.data.Series.Name;
      $('#RG3_TRX_LIST').show();
      alert('Trying to set the region title dynamically');
      $('#RG3_TRX_LIST h1').text(pEvent.data.Name + ' - Transaction List ( ' + pEvent.data.Series.Name + ')');
      alert('Finish setting');
      alert('Title stored is ' + $('#RG3_TRX_LIST h1').text());
      $('#RG3_TRX_LIST').trigger('apexrefresh');  
    };
    

    I can't eventlistener_initiate function on my page load so that the look for point click event on the bar chart

    However I'm putting the 2nd title of subregion dynamically as follows in the code above and who does not.

    alert('Trying to set the region title dynamically');
      $('#RG3_TRX_LIST h1').text(pEvent.data.Name + ' - Transaction List ( ' + pEvent.data.Series.Name + ')');
      alert('Finish setting');
      alert('Title stored is ' + $('#RG3_TRX_LIST h1').text());
    

    It would be great if someone can let me know what I'm doing wrong here

    Thank you

    S

    Shas says:

    Please find my application as below (authentication of guest/guest)

    http://r12apps.vipappsconsulting.com:8080/apex/f? p = 104:3

    Thanks for the creation of the example. Makes it very easy to identify the problem...

    Theme 20 is one based on the table, legacy theme quirks mode, which means that most of the time he uses tables and cells in a table of structure instead of semantic HTML markup. You assumed that the title of region is properly marked as a h1 element to header. In fact, it is a table with a cell t20RegionHeader class attribute, which means that the picker jQuery in your function does not select the region title (it does not select anything).

    Change the jQuery selector of:

    $('#RG3_TRX_LIST h1')

    TO

    $('#RG3_TRX_LIST .t20RegionHeader')

    Unless for some reason any terrible you still support IE6, I suggest to move to a more recent theme of the standards-mode (i.e. no marked with "*").

  • backup failure Time machine - the backup folder creation error

    I use a backup drive 1 t Seagate firewire for about 2 years without fail. Now, when you start the backup, I get the following error message:

    "Unable to complete backup. An error occurred during the creation of the backup folder. »

    In addition to the above message that occurs when I start the backup manually, I get an error message that the backup was properly ejected.

    I read the advice "Repair Disk" - this will affect my backups?

    Other tips before I take it to the Genius Bar?

    MBP 15 "mid-2010

    10.11.2 OS

    Memory 8 GB 1067 MHz DDR3

    Processor clocked at 2.66 GHz Intel Core i7

    ERD will not affect your data. However, before you do something, you must correctly eject disk backup, and then re - attach. Repair the drive to aid first aid disk utility option in the toolbar.

    If you first open the Console application in your Utilities folder you will find information in the log of what happened past.

  • Dynamic creation and tracing in CNiGraph

    Hello

    I would like to create a temporary object of CNiGraph, plot data and make a picture.  I am able to create the object dynamically (I think) but I get a runtime error when you try to plot data (using Idrsqu) on the graph.

    The error is in the AfxGetAmbientActCtx function.

    My code for creating control looks like:

    CNiGraph niGraph;

    CRect rect (CPoint (0, 0), m_Size); the size of the graphic

    CDC * pDC is pWnd-> GetDC();.

    BSTR bstrLic =:ysAllocStringLen (/ * stuff to generate the license * /);

    niGraph.CreateControl ("CWGraph", "", WS_VISIBLE, rect, pWnd,)

    m_staticControlID ++, NULL, FALSE, bstrLic);

    Use static control ID to ensure unique IDs

    :ysFreeString (bstrLic);

    ChartPreviewData (niGraph, pList, settings);

    ... is the result of an untested for the rendering of an image code

    pWnd is a CPropertySheet (a window is valid, but I use as a model to temporarily hold the chart).  ChartPreviewData for this...

    void CXyzClass::ChartPreviewData)

    CNiGraph & graphic,... a few other arguments...)

    {
    a code to get ready to put in the vector data OR

    CNiReal64Vector niVector (numPoints, pBuffer);

    Graph SetChartLength (numPoints);

    The data graphic and set delta X to reflect the sampling frequency used

    CNiPlot field = graphics. Plots.Add ();

    parcel of land. MultiPlot = TRUE;

    parcel of land. Charts (niVector, (double) 1 / pSeries-> GetFs());  crashes

    Remove pBuffer;

    }

    When I scroll in the debugger, it looks like NiGraph gets created correct.  In fact, I can see from the dialog box.  However the call Idrsqu gives me a runtime error.  I suspect I'm missing something to do with ActiveX, but I don't know what.

    Thank you, Nick

    Sorry, it's resolved.  I had a stupid mistake and going on a vector of length zero to Idrsqu.

    I discovered this way upward in the call stack an exception was thrown for this reason.

  • HP recovery disc creation error

    I just bought a new HP Pavilion dv7-3085dx and a, m, trying to create such recovery as recommended by the system disks.

    Have tried to use DVD + R and DVD - R (Memorex brand) to complete this process.

    The program returns, checks the disk I insert and tells me what I have and will take 3 discs to complete the course.

    It then seems to create disc number 1.

    However the outcome of the said, then he says is check the disc and then after 5 minutes one sets up an error message.

    "An error occurred during the creation of the disc.  Try a new disc or choose a brand of different quality of the disc and make sure that all applications are closed. »

    This has happened on both DVD + R and DVD-R discs.

    However, I can see in windows Explorer that the disk has been created and there files it contains.

    Y at - it a program update or something I am doing wrong.

    I saw where this problem occurred with another laptop users and that there was an update for their particular system.  I checked the drivers and downloads for my particular system and there is nothing new here.

    Any help would be really appreciated.

    Thank you, Merry Christmas and have a great day.

    Mardy in North Carolina

    Cheryl,

    WOW!  I got a never thunk... but you were right.

    Sony DVD worked like a charm.  Memorex sucked.

    I apologize for any bad feeling I have posted.  I don't think that it was possible. I'm wrong and bow to the Queen.

    Thanks for the tips and I hope you had a great Christmas.

    Talk to ya next year.

  • Help with recovery media creation errors

    I bought a new HP spectrum XT Ultrabook 13D-2100 (8-64 bit Windows), and I tried to create the recovery media creation.  I get an error when you try to use USB (Flash Driver) that declares "we live errors in the creation of recovery media. Please try again. "Even if I did a video on saving a media creation of recovery on a USB flash drive, it was a mistake. I've done five times, I n ' know what to do now.

    I'd appreciate any help for this problem that I really want to create the recovery media creation.

    Hello

    I would contact HP (the telephone number can be found on the corresponding link below) and explain that the Recovery Media Creator is unable to create a viable together records of recovery/usb media and ask them to send you a free replacement recovery media set.

    If you live in the United States, contact HP here.

    If you are in another part of the world, begin here.

    Kind regards

    DP - K

  • Deleting files from Archive CC - cannot remove the mobile creation error

    I am trying to clean my cloud storage because I have reached my limits, but it does not remove anything without having the error "failed to remove the mobile creation."  I get this error regardless of what file I'm trying to delete.  I don't know what it is or how to fix for free space on my drive of cloud.  Help, please!

    @nicoleb16277652 - you have a large number of items in the Archive tohttps://assets.adobe.com/files?filter=archive https://assets.adobe.com/files?filter=archive: 2355 files and 1 folder. I am currently getting a list of complete metadata that you have stored but didn't notice the Lightroom Catalog files. You should not use the current CC site for backup Lightroom catalogs.

    We can permanently delete all items in your Archive if that's what you want. Let us know what you would have done as. If necessary I can you email a complete list of what you have stored. My email is [email protected].

    Lightroom and Creative Cloud FAQ at https://helpx.adobe.com/lightroom/kb/lightroom-creative-cloud-faq.html#id_9994

    Can I keep my Lightroom Catalog in the 20 GB of storage space do I get with my membership creative cloud?

    No, you cannot store the Lightroom catalogs in the creative cloud, and you can save a Lightroom catalog on a network drive. You must store the Lightroom catalogs on your computer or on a hard drive connected locally.

  • New virtual machine creation error

    Hi guys

    Here's the script (part of)

    $myhost = get-VMHost-$indicated-$indicated is an internal thing where two hosts, each with a local data store

    $Myhost1 = $myhost [0]

    $Myhost2 = $myhost [1]

    $myds = $myhost1 | Get-Datastore

    $h1ds1 = $myds [0]

    $h1ds2 = $myds [1]

    $myds2 = $myhost2 | Get-Datastore

    $h2ds1 = $myds2 [0]

    $h2ds2 = $myds2 [1]

    New-OSCustomizationSpec-name $OSCostumSpec_SQL - Windows - $VMPassword AdminPassword OSType - zone ProductKey - $WinProductKey_SQL - ChangeSid - OrgName $OrgName - NamingScheme $TimeZone fixed NamingPrefix - $SQLVM.split(".") [0] - fullname administrator - workgroup WORKGROUP

    New-OSCustomizationNicMapping - OSCustomizationSpec $OSCostumSpec_SQL - IpMode UseStaticIP - IPAddress SubnetMask - $VMSubnet - passerelle_par_defaut $VMGefaultGateway $SQLVMIP - Dns $DNS, $DNSVCE - 1 post

    New-VM - VMHost $Esxihost - name $SQLVM - data store $h1ds2-model $SQL2008RTemplate - OSCustomizationSpec $OSCostumSpec_SQL

    Get-VM-name $SQLVM | Set-VM-Version $VMVER - confirm: $false

    Get-NetworkAdapter - VM $SQLVM | where {$_.} Name - eq 'Network adapter 2'} | Remove-NetworkAdapter-confirm: $false

    Get-NetworkAdapter - VM $SQLVM | where {$_.} Name - eq "Network adapter 1"} | Together-NetworkAdapter - NetworkName $MGMT - confirm: $false - StartConnected: $true

    Delete-OSCustomizationSpec $OSCostumSpec_SQL-confirm: $false

    Set-VM - VM $SQLVM MemoryMB - 8192 - NumCpu 4 - Description "vCenter Server database" - confirm: $false

    $SQLVM. ExtensionData.ReconfigVM_Task ($CPU2)

    New vm creation fails with this error

    New-VM cannot validate the argument on the parameter data store. The argument is null or empty, offer an argument that is not null or empty and try again.

    Any idease?

    Have you checked there is nothing in the variables $MyHost1, $MyHost2, $h1ds1, $h1ds2, $h2ds1, $h2ds2?

    Seems that the variable data store are empty (judging by the error message)

  • Dynamic link error

    When I go to file > add after effects Composition I have an error: "Could not connect to Adobe After Effects.  "Please check that the Aobde After Effects and Adobe Dynamic Link components are installed"

    Help, please.

    Hello

    For dynamic links to work as expected, you must have Apps on the same exact versions for example, so once the effects on the 2014.2, Media Encoder should also be 2014.2

    Thank you

    Regalo

  • Insert the dynamic creation of statements

    Hello

    My version of db is: 11g Enterprise edition 11.2.0.3.0

    I am trying to create queries dynamically insert using the code below:

    declare

    v_cl varchar2 (4000);

    v_tn1 varchar2 (30): = 'T1 ';

    v_tn2 varchar2 (30): = 'T2 ';

    v_vl varchar2 (4000);

    v_id number 4: = 900;

    v_il varchar2 (4000);

    v_count number (3): = 1;

    cursor c1 is select column_name from all_tab_columns where table_name = v_tn1 order of column_id.

    cursor c2 is select column_name user_tab_columns where table_name = v_tn2;

    Start

    I'm looping c1

    v_cl: = v_cl | «, » || i.column_name;

    end loop;

    v_cl: = ltrim (v_cl, ',');

    v_il: = ' insert into ' |. ' v_tn1 | ' ('| v_cl |') values (';)

    for j in loop c2

    v_vl: = v_vl | Chr (10) | v_id | «, » || v_count | «, » || j.column_name |') ' ;

    v_count: = v_count + 1;

    v_il: = v_il | v_vl;

    end loop;

    dbms_output.put_line (v_il);

    end;

    The problem is with this v_il statement: = v_il | v_vl

    The desired output is to get

    insert into tn1 values (...)

    insert into tn1 values (...)

    .

    .

    But I'm getting

    insert into values tn1 (insert values (...) tn1)

    How to change the code above to get the desired result.

    Also, I'm getting ORA-06502: PL/SQL: digital or value error: character string buffer too small when I run dbms_out.put_line

    Please advice.

    I did a minor change, and it seems to work now.

    What I did:

    Declared all the variable as a CLOB

    And modified

    v_vl: = v_vl | Chr (10) | v_il | v_id | «, » || v_count | «, »...

    v_count: = v_count + 1;

    end loop;

    dbms_output.put_line (v_vl);

    The above change worked. Thank you.

Maybe you are looking for

  • Need help with two questions about preinstalled WXP Tecra A11 - 10F

    Hello worldhope someone will help me with these: 1. sometimes left port my A11 USB and eSATA port close do not recognize any device I plug.In win7 there is a power management option with which this can prevent to met, but how can I do under XP? 2 - i

  • U110 key to sensitive key - program assigned change

    Hello Does anyone know how to change the programs assigned to the keys touch sensitive orange on the Lenovo U110 (those corresponding to the volume / mute touch sensitive buttons)? I put the buttons defined two user to run WMP and shuttle center but

  • How to make more than space for my icons my screen is full

    HOW can I MAKE MORE SPACE for MORE ICONS ON MY SRCEEN it IS FULL EVERYTHING DO SHOW so WHEN I START

  • Customizing the context Menu

    Hello I spent 7 hours trying to customize my context menu in Vista without a bit of luck or find any information (useful) online. I am aware of a tool called FileMenu and ContextEdit, but they allow me some control over the context menu, however, it

  • Pull wireless

    Hi gays! I want my application to install on wireless (user-initiated) sweaterI want to post applications compiled on a public web site. Device users can visit the website to download applications on the wireless network using the browser on their Bl