ADF Mobile: Insert a record into a table by WS - DC method

It's something that is very basic and I could not know.

There is this method of 'create' base on the service project to insert a single record in a table.

I created a WS - DC on my mobile project. I see my createItem on the list method. But what I have this XItem.xsd.

So when I get the ValueExpression binding, I don't know how to set the attribute values...

ValueExpression ve = AdfmfJavaUtilities.getValueExpression ("#{bindings.xItemView1.inputValue}", Object.class);

PS: GenericType does not work.

Your service must expose a method create and then you drag this method to your page and call it with an object as a parameter.
Should be similar to the way in which an update is done here:
https://blogs.Oracle.com/Shay/entry/adf_mobile_update_through_web

Tags: Java

Similar Questions

  • Impossible to insert a record into a table

    Hello

    I was working on a procedure in which I had to insert 1,00,000 records each in 3 tables. But the process stopped after inserting 56000 records.
    After that I ran the query again, but now it is not insert a single record.

    I just created a fictitious table

    create the table vinod1 (no number);

    and I tried to insert a value by using

    insert into vinod1 values (100);

    But to my surprised the query has executed since the past 10 years and has not inserted a line.

    I also tried on SQLPLUS and I use oracle 10g


    Can you please help me and explain why I'm unable to insert the same if I am able to create the table.


    Thank you
    -Vinod

    are you using an option can be REPLICATED in your session, also what is the quota given to the user on the tablespace. The storage space that you used to create the table.

  • Inserting data into a table and insert many records into newtable

    Hi all

    I have table A and table b.
    Suppose that if I insert the data into the table, this table is inserted, the number of records records Count I want to insert in the table B

    I have to write a procedure for this cannot so any help on this.


    Thanks in advance.


    Sikora.

    Hello

    You can use this anonymous block and extend it to create the procedure. You can delete loop or leave it there and use the cursor loop

    DECLARE
       j   NUMBER;
    BEGIN
       FOR i IN 1 .. 100
       LOOP
          INSERT INTO A
          VALUES ('col1', 'col2', 'col3');
    
          j   := j+ sql%ROWCOUNT;
       END LOOP;
    
       INSERT INTO B   VALUES ('table name ', j);
    
       COMMIT;
    EXCEPTION
       WHEN OTHERS
       THEN
          ROLLBACK;
          DBMS_OUTPUT.put_line (SUBSTR (SQLERRM, 1, 200));
          RAISE;
    END;
    

    Published by: OrionNet on January 21, 2009 12:53 AM

  • Insert the record of one table to another with the help of the cursor

    Help, please!

    the tables are - 1. countries (country_id pk, country_name, region_id)
    2A (country_id, country_name, region_id)
    table data are
    1 to 1
    2 b 2
    3 C 3
    NULL d 4
    5 e 5
    6 f 6
    7 g 7
    -----------------------
    Insert the record in the table a country table with the help of the cursor, insert all the non-null records.
    This procedure does not correct result
    -----------------------

    create or replace
    Amit procedure as
    cursor c1 is select * from a;
    RW a % rowtype;
    Start
    Open c1;
    Fetch c1 into rw.
    While (C1% found)
    loop
    insert into countries values (rw.country_id, rw.country_name, rw.region_id);
    commit;
    Fetch c1 into rw.
    If rw.country_id is null then
    Fetch c1 into rw.
    end if;
    end loop;
    Close c1;
    exception
    while others then
    dbms_output.put_line ('exception = name ' |) RW.country_name);
    end;

    You don't need cursor at all;

    create or replace procedure amit as
    
    begin
      insert into countries (Country_ID, Country_Name, Region_ID)
      (select a.Country_ID
             ,a.Country_Name
             ,a.Region_ID
       from a
      );
    
      dbms_output.put_line('Rows inserted : ' || sql%rowcount);
    
      commit;
    
    end;
    /
    
  • Ofa: need help to insert a record into DB

    Hi friends
    I am totally new to the OFA and Jdev
    I use Jdev version 9i 9.0.3.5

    MY first task is to create a queryPG ... for that, I created a table in my PB with 3record
    who has created a table in my Db with 3record,
    and I created VO, AM, QueryPG, and QueryMainCO in my Jdev

    And in my first task I can successfully recover data from forms my DB*.

    (2) in the same .jpr my second task is to insert a record into my DB
    In this task, I have been struck for more than 2 weeks... so please help me to do my 2nd task
    in my queryPG I HAV to set a button called wen 'Person to create' I click that it must navigate to the CreatePG were I want to get data and wen I click on 'save' which is located in the CreatePG... the data I enter the createPG must be stored in my DB

    In the createPG I HAV to set this field {personId, firstname, lastname, phoneno, e-mail, address}

    First I HAV created VO not based on EO... beak for questioning we don't want EO
    for inserting a record I HAV to create EO...
    And one of VO based on EO is good?
    Please help me to do this task

    Thanks in advance
    thiliban

    Please follow the tutorial create exercise.

    Thank you
    AJ

  • How to insert new records into master and detail forms.

    Hello

    I cannot have values are inserted in the main view and details at the same time. Scenarios is I a Dept Table (view object-VO1) and employee Table (View Object-VO2) both related to a foreign key, according to HR in Oracle DB XE default schema.

    Now, I want to insert the new record into a table Dept (VO1) and the EMP (VO2) by a new say on page (page 2). There is a button on page 1 with button INSERT. I can only drag "CreateInsert" operation on this button for VO1 and VO2. So only text box for records Dept are allow to insert data, but not the Emp records. Is there a way I can insert data into the tables at the sametime?

    Thank you
    MB

    Hi MuradRabbani,

    You can call programmatically two createInsert operations,

    Add to your pageDef two CreateInsert operations.
    Create a button tha will be master (VO1) insert method call and then call insert for details (VO2) method

    Here is an example of code to call the operations:

    DCBindingContainer dcb = ADFUtils.getDCBindingContainer (); you need the ADFUtils.java and JSFUtils.java classes. You can find them in the sample applications in your JDeveloper.

    OperationBinding oper = dcb.getOperationBinding("CreateInsertVO1");

    Oper.Execute ();

    -NOTE: at this point, you must set the values that compine the ViewLink on the master in the order detail will know where to link the new record there are many ways to do it.
    As solution try to overrdi the method to create on the in the your master vo (VO1) ViewRowImpl
    for example
    @Override
    protected void create (AttributeList attributeList) {}
    front
    attributeList.setAttribute ("NameOfAttribute", valueHere);
    Super.Create (AttributeList);
    }

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

    After that, you must call the operation for your VO2 detail

    for example

    DCBindingContainer dcb = ADFUtils.getDCBindingContainer ();

    OperationBinding oper = dcb.getOperationBinding("CreateInsertVO2");

    Oper.Execute ();

    The detail record will now automatically have the values of your master.

    Kind regards
    Dimitris.

  • Insert server behavior into two tables with ASP.

    How do I change the server behavior code INSERT to insert records into several tables using ASP? Information inserted into the first table includes the customer profile, including the legal name, name and surname. What I can accomplish easily using the server behavior. In the second table I want to insert hidden value in a field that corresponds to the value of the current customerID, as well as the model number of the item purchased. Be very specific that I'm not too familiar with the scripts.

    The standard insert behavior cannot be easily changed to handle multiple
    tables. However there is a very simple tutorial on www.charon.co.uk on the way
    to deal with.

    --
    Paul Whitham
    Certified Professional Dreamweaver MX2004
    Adobe Community Expert - Dreamweaver

    Valleybiz Web design
    www.valleybiz.NET

    "aonefun" wrote in message
    News:emsn18$23F$1@forums. Macromedia.com...
    > How do I change the server behavior code INSERT to insert records in
    > more
    > as a table using ASP? Information inserted into the first table
    > includes a
    > Customer profile, including the company name, name and surname. What I can
    > accomplish easily using the server behavior. In the second table I'd
    > as
    > to insert a hidden field value that is equal to the value of the current
    > customerID, as well as the model number of the item purchased. Please be very
    > specific
    > as I am not too familiar with the scripts.
    >

  • Insert the object into the table

    Hi all

    I would insert my type of object in a table without specifying the name of the variable.

    That's my bad example:

    create or replace type MY_TYPE_OBJ as object 
    (
      val1 number,
      val2 number,
      val3 number
    );
    /
    
    CREATE TABLE MY_TABLE of MY_TYPE_OBJ;
    /
    
    declare 
        myType   MY_TYPE_OBJ;
    begin
    
      myType := new MY_TYPE_OBJ(1, 2, 3);
    
      insert into MY_TABLE values (myType.val1, myType.val2, myType.val3);
      
    end;
    /
    
    

    As you can see, on my last procedure, I had to use the insert into statement with val1, val2, val3 name filed.

    Is there a quicker way to insert an object into a table? In the production environment of the object type that almost 100 filed is not so friendly to write each one by one.

    Thank you

    Federico

    Example:

    SQL> create or replace type TFoo as object(
      2          attr1   integer,
      3          attr2   varchar2(10),
      4          attr3   date
      5  );
      6  /
    
    Type created.
    
    SQL>
    SQL> create table footab of TFoo(
      2          attr1 primary key,
      3          attr2 not null
      4  ) organization index
      5  /
    
    Table created.
    
    SQL>
    SQL> declare
      2          foo     TFoo;
      3  begin
      4          foo := new TFoo( 1, 'test1', trunc(sysdate) );
      5          insert into footab values foo;
      6  end;
      7  /
    
    PL/SQL procedure successfully completed.
    
    SQL>
    SQL> select * from footab;
    
         ATTR1 ATTR2      ATTR3
    ---------- ---------- -------------------
             1 test1      2014/08/27 00:00:00
    
    SQL>
    

    I agree though - be careful with tables of objects and now their technical implementation and advantages and disadvantages.

  • Insert xml files into the table

    Hi all

    How to create an application, which allows me to download an xml file and insert the file into a table, looking something like what makes the apex, with 'data-> data-> Data Load XML Workshop'.

    I tried to create it using this link https://forums.Oracle.com/message/9170494 # 9170494

    but when loading the file and send it (current executing the "sp") sends the error "ORA-22285: file for FILEOPEN operation or non-existent directory.

    I could slightly auxiliary

    concerning

    This idea is troubling for me.

    The XML file DOES NOT CHANGE.  This is the goal.  You have a DTD/XST that defines where in the XML hierarchy, a data element is and (so) how to access it.  With this information, you can hardcode things.

    Therefore, you should have no reason for that functionality 'map the data column in the table column"of the data loader since all mappings will be always the same.

    As a simple INSERT... The SELECT statement can (and should) be used.

    (use the FUSION if you update / insert data).

    I copy + paste some of my code in a procedure that I use.

    You will need to replace the parameter name (p_filename) with the value of appropriate link (name of item)

      declare
        l_XML XMLType;
      begin
        /* get file from APEX WWV_FLOW_FILES */
        begin
            select XMLType( blob_content, 1 ) -- 1 means that the file is USACII encoded. this may need to be changed.
              into l_XML
            from wwv_flow_files where name = p_filename; -- replace this with the appropriate ITEM NAME
        exception
          when no_data_found then
            raise_application_error( -20001, 'not in FLOW: ''' || p_filename || '''' );
        end;
    
        /* you'll need to figure this one out */
        INSERT INTO T (...)
        SELECT ..
        FROM  XMLTable( '/'
    pasing l_xml
                columns
                       PATH  -- repeat for each "column" you want to extract
            );
    
       delete from wwv_flow_files where name=p_filename;
      end;
    
  • oracle.adfinternal.controller.savepoint.SavePointException: ADFC-08008: the controller of the ADF cannot insert a record of savepoint for ID

    I implemented a save point in a workflow by creating a save point in the method action following is the managed bean code to create check point:

    ControllerContext cc = ControllerContext.getInstance ();

    If (cc! = null) {}
    Bishop SavePointManager = cc.getSavePointManager ();
    If (mgr! = null) {}
    The ID of the string = mgr.createSavePoint ();

    savePointId = id;
    }

    It has worked well in local (integrated Weblogic Server). She also worked fine initially when I deployed the changes to the weblogic DEV Server. But after a few days, in DEV I am getting the following error whenever trying to create a server backup point:

    Caused by: oracle.adfinternal.controller.savepoint.SavePointException: ADFC-08008: the controller of the ADF cannot insert a record of savepoint for the ID 4 d 233555-ea0c-4bae-9f17-cc6c

    7124870f'. oracle.adfinternal.controller.savepoint.SavePointUtil.createAndLogSavePointException(SavePointUtil.java:56)

    at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.insertSavePoint(SavePointDBPersistManager.java:245)

    at oracle.adfinternal.controller.savepoint.DBSavePointManagerImpl.storeSavePoint(DBSavePointManagerImpl.java:127)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.storeSavePoint(SavePointManagerImpl.java:301)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createAndStoreSavePoint(SavePointManagerImpl.java:257)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:187)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:116)

    at view.security.errormanagement.ManageErrorsMB.saveTaskFlow(ManageErrorsMB.java:213)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

    at java.lang.reflect.Method.invoke(Method.java:611)

    at com.sun.el.parser.AstValue.invoke (unknown Source)

    at com.sun.el.MethodExpressionImpl.invoke (unknown Source)

    at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:173)

    at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:163)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1035)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:926)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:824)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:554)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:158)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:115)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:84)

    at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)

    at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)

    at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)

    at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:479)

    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

    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:111)

    at java.security.AccessController.doPrivileged(AccessController.java:284)

    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.runJaasMode(JpsAbsFilter.java:94)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)

    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.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Caused by: java.sql.SQLException: connection has already been closed.

    at weblogic.jdbc.wrapper.PoolConnection.checkConnection(PoolConnection.java:58)

    at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:94)

    at weblogic.jdbc.wrapper.Connection.prepareCall(Connection.java:543)

    at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.insertSavePoint(SavePointDBPersistManager.java:221)

    at oracle.adfinternal.controller.savepoint.DBSavePointManagerImpl.storeSavePoint(DBSavePointManagerImpl.java:127)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.storeSavePoint(SavePointManagerImpl.java:301)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createAndStoreSavePoint(SavePointManagerImpl.java:257)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:187)

    at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:116)

    at view.security.errormanagement.ManageErrorsMB.saveTaskFlow(ManageErrorsMB.java:213)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

    at java.lang.reflect.Method.invoke(Method.java:611)

    At the bottom of the stack, this statement ""caused by: java.sql.SQLException: connection has already been closed. ' that intrigues me, but why this error occurs after a few days or after a particular number of connections or access to the application. "

    This same problem also happening in all environments including PROD. Help, please. JDeveloper version is 11.1.2.1.0.

    We got the support of Oracle solution.

    Passivation fails with the error "Connection has already been closed" in PoolConnection.checkConnection () (Doc ID 1330271.1). Problem is due to the grouping feature of connection for the Server WebLogic "timeout idle." When this is configured, WLS right out the strength of the connections in the pool. It is a problem for BC ADF based on maintaining the JDBC connection, associated with sound

    Instance of Module of the application.

    "Idle Session Timeout" value 0 (default), so that the JDBC connection remains active while

    the instance of the corresponding Application Module is active:

    Thank you...

  • Could not use DB function call to insert a row into a table OBIEE

    Hello

    At the prompt of the OBIEE report, I create a DB function in a variable column of the guest, so whenever I'm in the dropdown variable ob column call the function DB call.

    The function call is insert a row into a table in the database. However, it seems impossible to insert the row into the table.

    I have test the function in the sqlplus and it works, if the function has no problem. The problem is OBIEE failed to insert something in the datebase, it can only read from it.

    Any ideas on how I could fix it?

    Thank you!

    Hello
    Use your Evaluate function and the variable correctly. In the case where u called this function evaluate in the report in a column, and he has 100 files it contains, it will call db 100 times.

    Kind regards
    Anitha.B

  • How to find inserted last record in the table.

    Version: Oracle 10g

    I have a table called 'Manufacturing' and 3 columns as mfno, itemname, quantity.
    How to find inserted last record in the table 'manufacturing '.

    As I got to know that the Rowid is not a result perfect result. Please provide your inputs.

    user13416294 wrote:
    Version: Oracle 10g

    This is not a version. It's a product name. A version is 10.1.0.2 or 10.2.0.4, etc.

    I have a table called 'Manufacturing' and 3 columns as mfno, itemname, quantity.
    How to find inserted last record in the table 'manufacturing '.

    Not possible as your data model do not answer for him. As simple as that.

    If there is a need to determine an order or associate some time to an entity, then that should be part of the data model - and a relationship, or one or several attributes are necessary to represent this information. Your data model in this case is therefore unable to meet your requirements.

    If the requirements are valid, set the data model. In other words - your question has nothing to do with Oracle and nothing to do with the other pseudo columns in Oracle, the rowscn or the rowid. It is a question of pure data modeling. Nothing more.

  • How to insert huge records in the table for the practice.

    Hello

    I created a new database in my personal inbox. Now, I want some specimen for different practical feature of oracle 10g. I need at least 1,00,000 records with different lines and columns.
    any buddy tell me of any request or package that can create the table and insert unique records in this table.

    Looking for valuable advice.

    Thank you

    Can be dbms_random.string, dbms_random.value and dbms_random.random can help.

  • How to insert records into a table from a button?

    Hey,.

    I use Oracle form and I have a trigger button when button pressed.

    I have a project being given for one of my classes. Basically, I have a Customers table and they hit the news. When they press submit, it must insert it into the table.

    And here is the code I wrote to be inserted inside the button

    declare


    v_cust_id customer_detail.customer_id%type;

    v_f_name customer_detail.fname%type;

    v_l_name customer_detail.lname%type;

    v_destination customer_detail.destination%type;

    v_travel_date customer_detail.travel_date%type;

    v_address customer_detail.address%type;

    v_telephone customer_detail.telephone%type;


    Start

    insert into customer_detail

    values (v_customer_id, v_fname, v_l_name, v_destination, v_travel_date, v_address, v_telephone);

    end;

    /


    But its gives me an error. Is a PLsql Oracle form different syntax?

    Why do you need to insert in the command, when applications oracle has this native features?

    Make a form based on the table and just use

    COMMIT_FORM; on your BUTTON.

    Hope this helps

    Hamid

  • Problem in inserting records into a table (MS Access) where the name of the column against

    I have a table with the name of column say first #Name and when I insert a value in the table it gives an error and it does not let me insert some values which he... Is it possible to enter the value in this column by fleeing this hash. I have a constraint that I can not change the name of the column...

    If it was Oracle you would put quotes around the name of the column. Not sure if happens the same for MS Access, because I do not play with the toy databases.

    for example

    Insert into tablename ("First#Name") values ('Fred');
    

Maybe you are looking for