Dynamic bulk upload

Hi,
Please find the below example.In this i am taking a table type variable and using dynamic select ,populating the rowtype variable.Then i changed a one column value of that rowtype variable.
Till this point the thing is working fine . now i want to insert the the updated data back to the root table (with out considering row by row, means on bulk).
Can you please suggest how can i do that...
Thanks,
Anit
Example :-
declare
l_select varchar2(50);
--type g_var    is record (col1  an_test.col1%type,col2  an_test.col2%type);
--g_var1  g_var;
g_var1 an_test%rowtype;
begin
l_select := 'select * from an_test ';
execute immediate l_select into g_var1;
dbms_output.put_line(g_var1.col1);
dbms_output.put_line(g_var1.col2);
g_var1.col2 := 'cc';
dbms_output.put_line(g_var1.col2);
---l_select := 'insert into an_test values (:1,:2);*
--execute immediate l_select using g_var1.col1,g_var1.col2;*
commit;
exception
when others then
dbms_output.put_line(sqlerrm);
end;
--select * from an_test                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Duplicate post.
Please mention that - it is duplicate.
Regards.
Satyaki De.

Similar Messages

  • HT1338 I need to bulk upload to Auctiva (auction software) but Java was disabled on my computer. I have 10.5.8 so does this mean that I can't use Java? If not, then is there a workaround to be able to use the bulk uploader from Auctiva?

    I need to bulk upload images from iPhoto to Auctiva (auction software) that will then be posted to eBay; however Java was disabled on my computer some time ago due to "known issues."  I have 10.5.8 so does this mean that I can't use Java? If not, then is there a workaround to be able to use the bulk uploader from Auctiva? As it stands now, I have to upload photos individually which is super time consuming.

    You can re-enable it for special purposes, opposite of disabling it...
    Disable Java in your Browser settings, not JavaScript.
    http://support.apple.com/kb/HT5241?viewlocale=en_US
    http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=142064
    http://support.mozilla.org/en-US/kb/How%20to%20turn%20off%20Java%20applets

  • Bulk upload in SAP DMS

    Hi
    Can anybody explain me how to do bulk upload in SAP DMS. I want to prepare the metadata (with original file path) in Excel sheet and it has to be uploaded in SAP DMS along with original file.
    Thanks & Regards
    Harrshini
    Edited by: Harshini.A on Sep 29, 2010 8:54 AM

    Hi
    The original files are saved in our local drives (for example C: drive) and the file paths are mentioned in a excel sheet.  Can anyone explain how to move these files into content server and and store the corresponding content server file paths.
    Regards
    Harshini
    Edited by: Harshini.A on Oct 20, 2010 4:25 PM

  • How to create a web bulk upload in SAP BW

    Hi there,
    does anyboady has an idea which is the best way to create a bulk upload via web interface where the user can select a csv file and upload data by himself?
    Thanks in advance.
    regards,
    ralph

    Hi Jos,
    no I want to upload a csv to a cube or ods via web as a self service for our user. We use SEM for data entry but some persons have so many data that they need a way to upload those. Also they don't have a gui so I need a way to upload data via web.
    thanks anyway.
    best regards
    Ralph Leber

  • Bulk upload into an existing email newsletter database

    Hi,
    I would like to do a bulk upload into an existing email newsletter database.
    When I export the database that I want to update, the file format is:
    Full Name | Email Address | Opt-in Status | Subscribe date
    However, the file format of the entities basic import file is:
    Email Address
    Title
    First Name
    Last Name
    Company Name
    Custom Date
    Which one should I use?
    Thanks for your help.

    Hi Christina,
    You need to use the file format of the import file, always.
    Otherwise you'll end up with customers that have email addresses as name and names as email addresses.
    Let me know if you run into any issues.
    Thanks and regards,
    Florin

  • Importing spreadhseets from input forms for bulk uploads

    Hi,
    I believe you can export the results of a report / page to an excel spreadsheet, but can you import a spreadhseet for bulk upload from an input form ? The reason I am asking is we don't want to allow the users of the input form "developer" rights (i.e loading spreadsheets from SQL workshop), but we do want to allow them the ability to bulk populate tables from spreadsheets. Alternatively can you set the developer rights to only allow bulk uploads and nothing else ?
    thank you
    Tim

    I'd like to know this too.
    ta

  • Programmatically bulk upload of files via restful API

    Hi,
    If I am building a custom client application and need to bulk upload say 10 files.. what restful API does sharepoint include to accomplish that.
    A couple of more questions on the above:
    1. Is there any limitation to the size of the file that I can upload via the restful call?
    2. Is there any limitation to the number of files that I can upload via the restful call?
    3. What are the performance characteristics of bulk upload of files?
    4. Does the client side sharepoint 2013 javascript library support buld upload of files.
    5. What happens if a there is a failure in uploading one of the files.. after a few have been during the bulk upload?
    6. What about bulk upload of other (non-file) data?
    Thanks
    Naresh

    Thanks for pointing out Dave. I will look into the link that you sent...
    could you also tell me, if the javascript client library also support this (say I'm writing code to run on a non-windows platform). Also assume that I have the sharepoint hosted on-premise.
    Naresh

  • Bulk upload bug in ODAC 11.2 Release 5 (11.2.0.3.20) with Xcopy Deployment

    There is a bug in ODP.NET (ODAC 11.2 Release 5 (11.2.0.3.20) with Xcopy Deployment)
    When large amount of data is uploaded using OracleBulkCopy the following exception is thrown
    System.EntryPointNotFoundException: Unable to find an entry point named 'OpsBulkCopyFreeDataPointers' in DLL 'OraOps11w.dll'.
    at Oracle.DataAccess.Client.OpsBC.FreeDataPointers(OPOBulkCopyValCtx* pOPOBulkCopyValCtx)
    at Oracle.DataAccess.Client.OracleBulkCopy.PerformBulkCopy()
    at Oracle.DataAccess.Client.OracleBulkCopy.WriteDataSourceToServer()
    at Oracle.DataAccess.Client.OracleBulkCopy.WriteToServer(DataTable table, DataRowState rowState)
    at Oracle.DataAccess.Client.OracleBulkCopy.WriteToServer(DataTable table)
    at OracleBulkUploadBug.Program.UploadData(OracleConnection connection)
    at OracleBulkUploadBug.Program.Main(String[] args)
    Steps to reproduce.+
    *1) Create a temp table*
    CREATE TABLE "RAM"."BLKUPLOADBUG"
    "COLUMN1" VARCHAR2(1000 BYTE),
    "COLUMN2" VARCHAR2(1000 BYTE),
    "COLUMN3" VARCHAR2(1000 BYTE),
    "COLUMN4" VARCHAR2(1000 BYTE),
    "COLUMN5" VARCHAR2(1000 BYTE)
    SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
    INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT
    TABLESPACE "USERS" ;
    *2) Run the following c# code*
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Oracle.DataAccess.Client;
    using System.Data;
    namespace OracleBulkUploadBug
    class Program
    private const string TABLE_NAME = "BlkUploadBug";
    private const int ROWS_TO_INSERT = 10000;
    static void Main(string[] args)
    string ConnString = @"Data source=localhost/xexdb;User ID=ram; password=ram";
    try
    using (OracleConnection connection = new OracleConnection(ConnString))
    connection.Open();
    using (OracleCommand cmd = connection.CreateCommand())
    cmd.CommandText = string.Format("TRUNCATE TABLE {0}", TABLE_NAME);
    cmd.ExecuteNonQuery();
    Console.Write("Uploading data...");
    UploadData(connection);
    Console.WriteLine("done.");
    //ShowData(connection);
    catch (Exception ex)
    Console.WriteLine(ex);
    static void UploadData(OracleConnection connection)
    DataTable table = new DataTable(TABLE_NAME);
    table.Columns.Add("Column1", typeof(string));
    table.Columns.Add("Column2", typeof(string));
    table.Columns.Add("Column3", typeof(string));
    table.Columns.Add("Column4", typeof(string));
    table.Columns.Add("Column5", typeof(string));
    for (int i = 0; i < ROWS_TO_INSERT; i++)
    table.Rows.Add("aaa", "bbb", "ccc", "ddd", "eee");
    using (OracleBulkCopy oracleBulkCopy = new OracleBulkCopy(connection))
    oracleBulkCopy.DestinationTableName = table.TableName;
    oracleBulkCopy.WriteToServer(table);
    static void ShowData(OracleConnection connection)
    using (OracleCommand cmd = connection.CreateCommand())
    cmd.CommandText = string.Format("SELECT * FROM {0}", TABLE_NAME);
    using (OracleDataReader reader = cmd.ExecuteReader())
    while (reader.Read())
    Console.WriteLine("{0}\t{1}\t{2}\t{3}\t{4}",
    reader.GetString(0), reader.GetString(1), reader.GetString(2),
    reader.GetString(3), reader.GetString(4));
    }

    Hi Greg,
    Thanks for the detailed explanation. Let me start off by describing our current scenario.
    We deploy our application with its own set of Oracle driver files (ODP.NET). The driver files were picked from Xcopy deployment package ODAC 11.2 Release 4 (11.2.0.3.0). This works fine for users (50% of our 1000+ user base) who do not have any other installation of Oracle drivers. For the rest of the users who may have another version of ODP.NET (ODAC 11.2 Release 5 (11.2.0.3.20)), installed via Oracle Universal Installer (OUI) we have a problem.
    Since Oracle.DataAccess.dll and OraOps11w.dll files have the same version numbers in different packages it is making things very difficult for us. The application picks up Oracle.DataAccess.dll version 11.2.0.3.20 as it is present in the GAC and uses the local OraOps11w.dll 11.2.0.3.0 present in the application folder. This causes the missmatch and the exception gets thrown. Please do note that the exception pops up only when uploading large amounts of data using Oracle bulk upload.
    You can use my demo code and try it out for yourself. Install 11.2.0.3.20 using OUI and copy OraOps11w.dll from 11.2.0.3.0 to the local application folder, next to the EXE file. The exception is reproducible always when ROWS_TO_INSERT >= 10000. Reduce the ROWS_TO_INSERT to < 1000 or 100 and it will work flawlessly. I think the error message Unable to find an entry point named 'OpsBulkCopyFreeDataPointers' in DLL 'OraOps11w.dll' is incorrect.
    It is true that there are multiple versions of OraOps11w of differing patch levels that all show the same version number.+ Any particular reason to do this? How do you keep track of which fixes are present in which file if the version number never changes?
    Regards,
    Ram

  • Bulk uploads of Word docs to Portal

    my client wishes to upload approx. 50 word docs from their existing file server to Portal. ....manually posting the docs into an existing content area is prohibitive.
    Any hints on the most efficient way to bulk upload the docs into portal????
    thanks
    Sharon (443)994-4084

    this solution sounds great, only 1 problem:
    when I reach step 4 (click the "unzip" link.....), I do not see an 'unzip' link. I am logged on as the owner of the folder(with cascading privileges).
    Any thoughts on why the 'unzip' link is not being displayed? the online help suggests that the unzip link will automatically be displayed when the 'zip file' item type is chosen(which I've done).
    How about via a zip file:
    1) zip the docs
    2) create a new item as a zip type
    3) upload the zip file
    4) click the "unzip" link next to the new item
    Portal will unzip the files and if the directory structure was stored with the zip, Portal will attempt to recreate the actual folders they existing in on the client. If the folders are already created, portal will put the docs in the appropiate folders.
    Mike Kleiman

  • How to bulk upload users in wireless using XML and CUP?

    Hello I am working with wireless and I know there is a way to bulk upload users.
    Can anyone provide an example to upload users?
    Thx
    Utyrear Ytrew

    Hi Daniel
    I am trying to add addition propertires like TV, Copier etc. to Room Mailbox in Exchange 2010 using following commands:-
    [PS] C:\Windows\system32>$ResourceConfiguration = Get-ResourceConfig
    [PS] C:\Windows\system32>$ResourceConfiguration.ResourcePropertySchema+=("Room/Whiteboard")
    Upper two commands run fine but following command gives error:-
    [PS] C:\Windows\system32>Set-ResourceConfig -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
    The term 'Set-ResourceConfig' is not recognized as the name of a cmdlet, function, script file, or operable program. Ch
    eck the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:19
    + Set-ResourceConfig <<<<  -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
        + CategoryInfo          : ObjectNotFound: (Set-ResourceConfig:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    I also tried with space after set but still getting error:
    [PS] C:\Windows\system32>Set -ResourceConfig -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
    Set-Variable : A parameter cannot be found that matches parameter name 'ResourceConfig'.
    At line:1 char:20
    + Set -ResourceConfig <<<<  -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
        + CategoryInfo          : InvalidArgument: (:) [Set-Variable], ParameterBindingException
        + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.SetVariableCommand
    Pl advise the solution at [email protected] . I got this help from
    http://zbutler.wordpress.com/2010/03/17/adding-additional-properties-to-resource-mailboxes-exchange-2010/

  • Bulk uploads once edited in photoshop elements

    When opening my jpeg photos in photoshop elements 9, elements seems put the image in a format that my Apple Mac isnt compatable with. So when I then try and upload the images to Facebook or other software in a bulk upload the images are unhighlighted and I therefore can't upload. Anyone have any ideas how I get round this? Called apple support and they can't help!
    Thanks

    When opening my jpeg photos in photoshop elements 9, elements seems put the image in a format that my Apple Mac isnt compatable with. So when I then try and upload the images to Facebook or other software in a bulk upload the images are unhighlighted and I therefore can't upload. Anyone have any ideas how I get round this? Called apple support and they can't help!
    Thanks

  • Lumia 800 - Bulk upload of Pictures to SKydrive

    Hi,
    I have Lumia 800. i have lots of pictures which i had downloaded via internet. so if i start to use MS Zune, i think all the pictures will be erased...
    so to avoid this, i want to do an autoupload or Bulk upload to my Skydrive. Please let me know the solution.
    Many Thanks
    V

    There are third party Skydrive apps in the Microsoft Marketplace that you can download and use to upload pictures in bulk. You can access that via the Store app on the phone itself.

  • Bulk Uploading of New Users without Active Directory Sync. Possible?

    Hello,
    WithOUT Active Directory synchronization, is it possible to do a bulk upload of 100+ users onto Project Server 2013 (Online)?  If so, how?
    In addition, can these new users be setup to default with “User can be assigned as a resource"? 
    Thanks in advance,
    \Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)

    Hi,
    it is possible, but not completely.
    If you select at least one resource in Resource Center and click "Open", this resource is opened for editing in client. At this place, you can add your new resources with all fields (and Default Booking Type), e.g. with copy/paste from some other
    source. They are added as resources. However, editing column "User Logon Account" is disabled, so you can't add this information in client. You need to do this afterwards from Resource Center for each single resource.
    And yes - I agree: This is very inconvinient!
    Regards
    Barbara
    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
    an appropriate solution faster. Thanks for your support!

  • Dynamic sql with dynamic bulk collection variable

    Hi,
    I am facing the issue while bulk collecting dynamic sql query data into dynamic variable.
    Eg:
    query1:= << dynamic select query>>
    Execute immediate query1 bulk collect into Dynamic_varibale;
    here dynamic_varible is pl/sql table type with 1 column.
    How do i declare "dynamic_variable" here????
    please suggest...

    create type t_id is table of number
    SQL> create type t_id is table of number
      2  /
    Type created.
    SQL> declare
      2
      3   v_tid t_id;
      4   v_results sys_refcursor;
      5
      6   v_employee_id number;
      7   v_name varchar2(100);
      8
      9   v_sql varchar2(1000);
    10
    11
    12  begin
    13   v_tid := t_id(7902,7934);
    14
    15  --
    16
    17
    18   v_sql := 'select empno, ename from scott.emp ' ||CHR(10)
    19           || 'where empno in (select column_value from table(cast(:v_tid as
    t_id)))';
    20
    21   dbms_output.put_line(v_sql);
    22   dbms_output.put_line('----------');
    23
    24   open v_results for v_sql using v_tid;
    25
    26
    27   IF v_results IS NOT NULL
    28     THEN
    29        LOOP
    30           FETCH v_results
    31            INTO v_employee_id, v_name;
    32
    33           EXIT WHEN (v_results%NOTFOUND);
    34           dbms_output.put_line(v_name);
    35        END LOOP;
    36
    37        IF v_results%ISOPEN
    38        THEN
    39           CLOSE v_results;
    40        END IF;
    41    END IF;
    42
    43  end;
    44  /
    select empno, ename from scott.emp
    where empno in (select column_value from
    table(cast(:v_tid as t_id)))
    FORD
    MILLER

  • Dynamic file upload ui element

    Hi
    Can any ne tell me how to create file upload dynamically..i can able to create ui elemetn using the class cl_Wd_file_upload
    but for binding i hav to create context node dynamically  with the structute filename filecontent file size..

    Hi,
    Check this wiki : [Dynamic Context Creation, Dynamic Mapping|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/201ddd3b-b4ce-2b10-8883-880ae8147f89] by Thomas sir.,
    hope this helps u.,
    Thanks & Regards,
    Kiran

Maybe you are looking for