Ability to Import Spreadsheet Data into Table in Apps added Anytime Soon??

I love HTMLDB so much, and I thought I would never find anything it couldn't do, but I have run headlong into a problem that I've discovered many users have.
The Import Spreadsheet Data into Table functionality available in Data Workshop is such a treasure, and I was hoping with all of my heart that such functionality would be available for use inside the User Applications in HTMLDB 2.0. Alas, it is not so.
I know some brave folks have come up with work-arounds for this lack, and I applaud them. However, none of those will work for the situation I am faced with. I am about to strike out into the no-man's-land of trying to create my own PL/SQL csv file parsing function. Please wish me luck. Also, could you please tell me if this functionality is going to be included anytime soon?

Well I looked at the FLOWS_020000.WWV_FLOW_LOAD_DATA.LOAD_CSV_DATA procedure
From what I can gather(considering nobody cant look at the actual procedural code):
P_FILE_ID seems to be file id you find in FLOWS_FILES.WWV_FLOW_FILE_OBJECTS$
P_CNAMES seems to be the column names of table you are loading into
P_UPLOAD seems to be the names of field from file you are loading
P_SCHEMA seems to be the schema that contains table where data will be loaded
P_TABLE seems to be table that you load data into
P_DATA_TYPE seems to be the datatypes from file to be loaded
P_DATA_FORMAT not sure
P_PARSED_DATA_FORMAT not sure
P_SEPARATOR seems to be the field seperator from file
P_ENCLOSED_BY seems to be what fields will be enclosed with
P_FIRST_ROW_IS_COL_NAME seems to be to tell whether or not first row contains column headings
P_LOAD_TO not sure
P_CURRENCY seems to be the currency symbol that comes from file
P_NUMERIC_CHARS not sure
P_CHARSET not sure
P_LOAD_ID not sure
Essentially you could run this process provided you get all the kinks worked out(that is what all the parameters mean/are expected)...
...or..
you write your own process:
- that reads the blob/clob content line by line
declare
n number;
buffer varchar2(4000);
begin
(do some sort of loop until end of length of lob)
n := dbms_lob.instr( "your lob", ',',"next comma position" );
if ( nvl(n,0) > 0 )
then
buffer := dbms_lob.read( p_lob, "amount of lob length to read", n);
end if;
end;
The above code with some tweaking will read the lob. However you still will have to add a piece that creates sql insert statement. One of the pitfalls I see with custom code is the fact that if you end up with huge lob string you will run into problem of creating sql insert statement. Not the actual statement but assigning the statement to a variable due to datatype lengths.
Hopefully this will help you more in the right direction!

Similar Messages

  • Possible to import GIS data into the Map app?

    I would love to be able to import lat/long data into the Map app to display transit stop info on the job, as I do now with a crappy PC portable and Delorme Street Atlas.
    Possible?
    Thanks

    You can do this with CartoMobile which is available in the AppStore. CartoMobile allows you to take your GIS in the field with you, and works online or offline.

  • Creating stored procedure to import csv data into tables

    I am trying to create a stored procedure to import data from a csv file into a table. I tried using sqlldr but could not run it at school due to access permissions that they will not change. So I looked at the utl_package and from what I can see it requires a "virtual" directory, which conflicts with the access permissions again at school. So can I create a stored procedure that will just read data from a csv file into a table without the need to write or create a file/directory.
    Thankyou

    Satyaki_De wrote:
    Since, you are talking about so much restriction - i don't think you will get that.
    One alternative solution can be -> write a java based pl/sql procedure and try load that by parsing it. But, for that you need execute privileges on dbms_java package.
    Do you have that? I doubt.
    Regards.
    Satyaki De.Nope not allowed to use java, and im new to oracle. Why can't a stored procedure in pl/sql just read a file and put the data into a table I create prior?

  • Want to import spreadsheet data into array constant in VI

    I want to create a VI with a static array of double precision values. The values represent an ECG waveform. I have the values in an Excel spreadsheet. How do I transfer these values into the static array (array of constants) in LabVIEW? I can not find a simple cut and paste method to accomplish this. Hopefully, there is a simple way that I'm just missing.

    You could load your data and feed this to an indicator of array of double precision type.
    select and copy your indicator and paste this on to the diagram of your VI. This will create a constant.
    If you what this to all happen at runtime, thenyou will have to use a Global or local variable and use this as your constant.
    Ray.
    Regards
    Ray Farmer

  • Help with Importing Excel Data into Formatted Tables

    This is my first post, here, so please be gentle!
    I am a relatively new user of InDesign CS4, and I am creating a 70-pg manufacturer's price book.  A very large portion of each page is going to be size and price information imported from a large Excel spreadsheet.
    I have created the table format that I'd like to use for each page, but the trouble comes when I import the Excel data into that table.  For some reason, when I import, it all dumps into one cell.  Would it be best to import as an unformatted table, and then format the table each time, or is there a way to simply import the data into my pre-formatted table?  I've seen how the former is done, but the latter seems much easier (...although that could be my inexperience talking).
    Any advice would be greatly appreciated!
    Thanks so much,
    Laura (V1500)

    Thank you both so much for your time!  This is exactly what I needed.
    Cheers
    Laura

  • FDMEE Import error "No periods were identified for loading data into table 'AIF_EBS_GL_BALANCES_STG'

    Hi,
    We are having trouble while importing one ledger 'GERMANY EUR GGAAP'. It works for Dec 2014 but while trying to import data for 2015 it gives an error.
    Import error shows " RuntimeError: No periods were identified for loading data into table 'AIF_EBS_GL_BALANCES_STG'."
    I tried all Knowledge docs from Oracle support but no luck. Please help us resolving this issue as its occurring in our Production system.
    I also checked all period settings under Data Management> Setup> Integration Setup > Global Mapping and Source Mapping and they all look correct.
    Also its only happening to one ledger rest all ledgers are working fine without any issues.
    Thanks

    Hi,
    there are some Support documents related to this issue.
    I would suggest you have a look to them.
    Regards

  • Is there a way to import iCal data into a numbers spreadsheet?

    Is there a way to import iCal data into a numbers spreadsheet?

    If you want to import lots of calendar events into Numbers, the general way to proceed would be to:
    export in CSV (character-separated values) from iCal (Calendar)
    import the CSV into Numbers.
    1. can be accomplished via AppleScript (perhaps in an Automator workflow) or, perhaps more convenient, a dedicated exporter app such as Export Calendars Pro or competitors.
    2. Importing into Numbers is usually as easy as File > Open and choose the CSV file.
    SG

  • Importing excel data into oracle tables

    Hello gurus,
    Importing excel data into oracle tables..
    I know this is the most common question on the thread ...First, i searched the forum, i found bunch of threads with loading data using sqlloader, converting excel into .Txt, tab delimited file, .csv file etc....
    Finally i was totally confused in terms how to get this done....
    Here is wat i have
       - Excel file on local computer.
       - i have laod data into dev environment tables(So no risk involved, but want to try something simple)
       - Oracle version 11.1.0.7
       - Sqlplus and toad (editors)
    Here is wat i like to do ....i dont know if its possible
        - Without going to unix server can i do everthing on local system by making use of oracle db and sqlplus or toad
       SQLLOADER might be one option...but i dont want to go the unix server for placing files and logs and stuff.
    Wat will be best and simplest option to do?? and wat format will best to convert from excel into csv, or txt or tab delimited etc.....
    If you suggest sqlloader, any code example will be greatly appriciated.
    Thank you so much!!!

    Hi,
    user642297 wrote:
    Imran,
    This is increadible option in toad!!! It works absolutely sweet!! I have toad 9.7 version. IT works great. Thank you so much!!You are welcome :)
    Well i have further discussion on this ....this option is great if you doing in staging or development area. What if your doing in prod?? If you automating the sqlloader then how do u do it?? I think we still need to stick with traditional approach of laoding data by making use of SQLLoader right ?? If m wrong please correct me.well, in our case, we do have access to a custom schema in prod where we create the staging table and load the data from datafiles.
    try this:
    load data
    infile 'C:\dest.csv'
    into table dest_table
    fields terminated by "~" optionally enclosed by '"'
    TRAILING NULLCOLS
    (name,
    owner_nm,
    description_column,
    UPDT_DT DATE 'MM/DD/YYYY')
    {code}
    you can get more info about sql loader and your error here:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch05.htm
    http://www.allinterview.com/showanswers/53766.html
    And one more quick question ...i found an example of control file , in that i see .dat format file. Is it a data file ?? can i try that option ?? But in excel i didnt see to convert the .dat format file.
    Any thoughts ???
    It is same as a delimiter text file.
    steps to create a .dat file (from a excel file):
    1. Insert a column between two columns and populate it with the delimiter (in our case, it is ~)
    2. Save the file as unicode text.
    3. Open the file in text editor and remove all the tabs (find an replace with blank)
    4. Save the file as "DEST.dat". Select encoding as UTF-8 while saving.
    5. Your .dat file is ready.
    Regards
    Imran
    Edited by: Imran Soudagar on Apr 22, 2010 10:22 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to import legacy data into apex tables

    Hi All,
    Please tell me How to import legacy data into apex tables.
    Thanks&Regards,
    Raghu

    SQL WorkshopUtilitiesData Workshop...
    you can import the data from already exported as (text/csv/xml) data
    Note: the table name and column name should be equal if the table already Existing table.

  • How to import Filenames and File creation Date into Table..

    Hi Folks,
    I am importing Differennt Excels Files into table. my require ment is after importing completed I need to insert all these Filenames ,File creation date into table. (for Auditing).
    Can you please give me any ideas or reference link.  Thanks In Advance.

    Hi Folks,
    I am importing Differennt Excels Files into table. my require ment is after importing completed I need to insert all these Filenames ,File creation date into table. (for Auditing).
    Can you please give me any ideas or reference link.  Thanks In Advance.
    You can also prepare dir command and then exeucte it by using XP_CMDSHELL. This gives you file name, modified date, creation date information.
    Please refer:
    https://sqljourney.wordpress.com/2010/06/08/get-list-of-files-from-a-windows-directory-to-sql-server/
    https://hernandezpaul.wordpress.com/2013/02/15/store-file-names-and-modified-dates-in-a-table-without-a-foreach-loop-task-sql-server-ssis/
    Cheers,
    Vaibhav Chaudhari
    [MCP],
    [MCTS], [MCSA-SQL2012]

  • Uploading spreadsheet data into the database

    Hi
    I want to upload the spreadsheet data into the database through front end...I dont have any idea how to do upload without using the 'utilities' option..Can anyone please help me to do this?
    Thanks in advance
    Fazila

    Hi
    I refered the example sent by vikas...but i could not understand..I dont need to specify table name in runtime...my requirement is that I will have the constant table(say MD look up table)...and I will have some data under the column heading( say repid,split name)...
    Now I want to import my spreadsheet data which are under the heading repid and split name through my front end application and I have the option whether to 'overwrite' the records or 'append' the new records...after clicking the necessary option..I want to import my spread sheet data into the table defined already...and my another requirement is that I want to check the duplication of data between the spreadsheet and table...If I find the duplicates, I have to omit it and store the remaing details....
    Please give me some guidelines to solve this problem....
    Thanks in advance
    Fazila

  • Importing excel data into ZAM 7.5 using SQL2005

    Hi,
    I am running ZAM 7.5 and have about 6500 workstation records in inventory. I have an excel spreadsheet that has been maintained for several years with some demographic info in it such as Site, Department, Building, etc for about 4000 of those workstations. I would like to get that information into the ZAM SQL2005 database. Can I import the data into the SQL database directly or is there a tool to do it? There are no purchase records tied to this data so using the purchase record import does not seem like an option. Any advice?
    Thanks,
    Jay

    Originally Posted by JoeyGuida
    I have found this document to very usefull.
    How to import an Excel file into SQL Server 2005 using Integration Services
    How to import an Excel file into SQL Server 2005 using Integration Services | Servers and Storage | TechRepublic.com
    Do you know what table to import this data to?

  • Importing Spreadsheet Data

    I have Acrobat 8 Pro. and I want to scan a form into acrobat. Once I have scanned it in, I want to create fields on the form and import spreadsheet data to fill-in the fields. I have many forms to be filled it. Is there a way that I can accomplish this using acrobat pro?

    Hi
    I had some work in my another program..Just now I have seen the ODBC concept used to import spread sheet data into the table..my requirement is different..I want to add my spreadsheet data without using 'built in' option into table which I have already created through object browser..I refered many forums..but could not get a clear idea how to do? please suggest me..
    Thanks
    Fazila

  • Error trying to import spreadsheet to a table

    I installed Oracle Database 10g XE on my local pc. While trying to create a table from a spreadsheet that resides on my local machine I am getting an error
    Expecting p_company or www_flow_company to contain security group id of application owner
    Can anyone tell me what this means and how I can correct it ?
    I am new to Oracle and trying to experiment.
    Thanks

    Hi,
    please see also this thread and see if this might help:
    Problem with importing HTML DB applications
    If you don't get any further then please provide the following information:
    1) how large is the file you are trying to upload?
    2) what is the language setting in your browser?
    3) which file character set did you choose (when trying to import the data into the table)?
    4) what is the setting of the registry variable NLS_LANG in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_XE
    ~Dietmar.
    Message was edited by:
    daust_de

  • Error While Inserting Data into table using OAF

    Hi Experts,
    I am learning OAF; i am trying into insert the data into table using OAF. I followed the below procedure.
    My table(OLF_TEST_TBL) Columns:
    EmpID (Number), Ename(VARCHAR2 100), Sal Number, and who columns.
    1. created Application Module (AM).
    package: oracle.apps.mfg.simplepg.server
    name: oaf_test_tbl_am
    2. created simple page
    name:EmployeePG
    package:oracle.apps.mfg.simplepg.webui
    3. Assigned the Application Module to Page
    4. Created Entity Object(EO)
    name:oaf_test_tbl_eo
    package:oracle.apps.mfg.simplepg.schema.server
    schema:apps
    table:OLF_TEST_TBL
    note:
    1. EMPID column is selected as primary key
    2. selected create method, remove method and validation method.
    3.checked generate default view object
    VO:
    name:olf_test_tbl_vo
    note: Entity Object was assigned to VO
    Coming To page:
    page main region:EmployeeMainRN
    1.under main region i created one more region using wizard
    selected AM and VO, region style-default single column
    2. under main region i created one more region
    region style- pagebuttonbar, ID:pagebutoonsRN
    3. under pagebuttonRN, created two submit buttons(ID:SUBMIT, ID:CANCEL).
    In AM java page:
    created a method to insert row and for commit.
    Insert Method:
    public void insertrow(){
    OAViewObject vo=(OAViewObject)getoaf_test_tbl_vo1();
    if(!vo.isPreparedForExecution()){
    vo.executeQuery();
    Row row=vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    Commit Method:
    public void savaDataTooaftesttable(){
    getDBTransaction().commit();
    In EmployeeMainRN, created a controller.
    In this controller process request method, 'insertrow' method was called.
    import oracle.apps.fnd.framework.OAApplicationModule;
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    if (!pageContext.isFormSubmission())
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("insertrow");
    To commit the transaction when SUBMIT button pressed, commit method was called in process form request method.
    import oracle.apps.fnd.framework.OAViewObject;
    public void processformRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("SUBMIT") != null)
    am.invokemethod("savaDataTooaftesttable");
    Error After clicking the submit button_
    I ran the page, page was opened successfully. Once i enter data and click submit button, it's giving the following error.
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example). If the browser's navigation buttons were not used, this error could have been caused by coding mistakes in application code. Please check Supporting the Browser Back Button developer guide - View Object Primary Key Comparison section to review the primary causes of this error and correct the coding mistakes.
    Cause:
    The view object oaf_test_tbl_am.oaf_test_tbl_vo1700_oaf_test_tbl_vo1_practice_test_prc1_oracle_apps_mfg_simplepg_server_oaf_test_tbl_am.oaf_test_tbl_vo1 contained no record. The displayed records may have been deleted, or the current record for the view object may not have been properly initialized.
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    Experts, Kindly help me why i am getting this error.
    Awating your replies.
    Thanks in advance.

    If you dont want to create message. You can throw exception like below as well
              throw new OAException("Emp Id is "+empId+" and employee name is "+empName, OAException.CONFIRMATION);Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • How do you use the wdeploy tool in iPlanet Web Server with Windows 2000 Server?

    I found this on the knowledge base, but only described how to use this with Unix. Does this work with Windows? How do you set the IWS_SERVER_HOME environment variable as well? I don't see it in the file. Thanks

  • Creation of deliveries using BAPI

    I am creating sales order using my customized code . In my code i am using a BAPI_SALESORDER_CREATEFROMDAT2for this . when i use this sales order , in VA02 and press enter and than save the message displayed is the delivery is created , deliveries ar

  • Silent Installation of Oracle 10g on Windows XP

    Hi, I was trying out "SILENT INSTALLATION OF ORACLE 10g ON WINDOWS XP", where I was getting the following error. Can you please help me out. COMMAND GIVEN : D:\database>d:/disk1/setup.exe -responsefile d:/disk1/response/custom.rsp -silent -nowelcome

  • Links problem in PDF (opened in web browser)

    Hi, I have a problem with the way Adobe reader works when it is embedded in Internet Explorer 7. The PDF is well opened but inside this PDF i have links to others PDF, this links doesn't work inside IE but when the PDF is opened inside Reader it work

  • Oracle 10g  is an auto managed database. Why ?

    Oracle 10g is an auto managed database. Why ? I have read that with 10g version, Oracle database will need very less management, since it can be configured to automanage itself. Sounds not believable. Apart from auto extending tablespaces, what other