Automating import of Excel spreadsheets

Hi,
I have a requirement to regularly import data contained in various Excel spreadsheets into the database.
Assuming I can get the users to upload the spreadsheets to the database server (using Application Express), how do I load the spreadsheet data?
My restrictions are
- Our users can not be expected to convert the Excel files to csv files
- No third party software (converters, ODBC drivers, etc) can be used
Thanks
Andy.

I currently have the same situation so what I did is that I saved the Excel spreadsheet as a tab delimited file and created a batch file to call SQL Loader and then write codes in Oracle Form to call this batch file when user click a button using host().
I also created a macro in Excel so user can hit a short-cut key to create the tab delimited file so developer don't have to get involved with this process. 3 easy steps and this works like a charm!
To call SQL Loader at command prompt:
C:\oracle\ora92\bin\sqlldr userid=username/password@databasename control=SQLLoaderCtl.txt log=SQLLoaderCtl.log bad=SQLLoader.bad
ps. you can also use TEXT_IO to read the text file and parse the data but because I have more than 80 columns so I decided to use SQL Loader since it's easier.

Similar Messages

  • Import an Excel Spreadsheet

    How do I import an Excel spreadsheet into an SQL table?

    Hi,
    Try below links :
    http://support.microsoft.com/kb/321686
    https://www.simple-talk.com/sql/ssis/moving-data-from-excel-to-sql-server---10-steps-to-follow/
    http://www.mssqltips.com/sqlservertutorial/203/simple-way-to-import-data-into-sql-server/
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • Import contacts (excel spreadsheet) in to TMS phonebook

    Hi,
    I'm looking for an option to import contacts saved in excel spreadsheet in to the TMS manual phonebook? How to do that? I'm running out of ideas.
    Thanks...

    In TMS 13.x, perform the following actions:
    Login to TMS
    Go to Phone Books > Manage Phone Book Sources
    In the middle of the screen select "New"
    Give it an appropriate name
    In the Type field, select the dropdown and choose "File Based Phone Book"
    Be sure the radio button is selected for "Use Local File or File from URL"
    Click, "Browse Files" in the "File Path"
    A pop-up window will appear requesting where the file is located.  ***txt and csv are the only support formats
    Select your file and Upload.
    - Scott

  • Cannot get grid to print on imported ms excel spreadsheet

    hi,
    i've been through the knowledge base and such on this one and the help files that come with numbers and i can't seem to get the answer i'm looking for.
    there have been a number of people on here who have said they can't get the grid to stop printing on an imported excel spreadsheet. i'm having just the opposite problem ——>> i want the grid to print on a spreadsheet from excel i've imported, but each time i print i waste paper because the grid i want on it never prints.
    i have done extactly what the help instructions say: i have selected the table & sheet it is on in the sheet pane, gone to the view menu and done "Show Print View," opened the inspector and chosen the table inspector button, and clicked on the cell border button to show all the grid lines. each time i print, however, they still do not show.
    this is on a black macbook intel core2 duo, 2.0 ghz, 2 gb RAM, 200 gb hd, mac os x 10.4.10 with all the latest update, security and otherwise, and an hp 2510 PSC ink jet printer.
    if anyone could please help me out with this, it'd be most appreciated. i like numbers so far. but one of the easiest things about ms excel is going into page set-up and choosing to show the gridlines or not in printing — you'd think there would be an easy preference or inspector choice here also, but it is not at all apparent.

    I believe you have too much RAM installed ( sorry just a little Numbers' humor).
    I found if I have print gridlines set in Excel, then the same settings transfer to the Numbers' version. They are _very light_ though. Here is how I change border settings. Select the range of cells, set line type, then number of points and color:
    Regards,

  • Importing and parsing Excel spreadsheets

    Hi,
    I am trying to import an Excel Spreadsheet, extract the
    necessary information, and then post that information into a
    database. Even if I save the Excel Spreadsheet as an XML document,
    it loses some of its characteristics and becomes difficult to
    parse. What should I do in this case to preserve the Excel format
    and extract the relevant information for my application.

    Take a look at this!!!!
    http://mannu.livejournal.com/348299.html?view=1967243#t1967243

  • Import from Excel - Lookup column

    Hi all,
    I would like to import an Excel spreadsheet to SharePoint list. One column in that
    spreadsheet should be lookup column which points to a column in another list in SharePoint. How could I do it?
    Thanks,

    Hi,
    Please offer a screenshot about your excel spreadsheet with a column lookup a SharePoint list column.
    Also, how do you implement your 
    Excel spreadsheet column lookup a SharePoint list column?
    Best Regards,
    Lisa Chen

  • IMporting Excel Spreadsheets

    Hello
    We recently upgraded RH in our company from x5 to HTML 6,
    build 099. In a project I worked on with X5, I had imported Excel
    spreadsheets saved as html and generated a primary layout without
    any problem. However, in 6, when I would generate a layout, it
    would get to Updating Files and RH would crash without any error. I
    narrowed it down to 10 html files that were all Excel spreadsheets
    saved as html and imported into my project in x5. If I deleted
    those 10 files, the project would generate the layout. If I
    imported any of those files, it would crash again.
    To recreate the spreadsheets in RH wold just be too time
    consuming, and really inefficient as I expect to get regular
    updates on these spreadsheets to have available on this website via
    our intranet. Has anyone encountered this before? and
    recommendations?
    Thanks!

    Hi BradPrid and welcome to our community
    Did these spreadsheet files have any conditional text
    applied? If so, I believe a problem exists with merged table cells
    (which seem quite likely coming from Excel) when you use
    conditional text.
    If you can't seem to sort it, one thought would be to simply
    import the Excel HTML files as baggage files. Then simply link to
    them or maybe use redirects.
    Cheers... Rick

  • Is it possible to create a form that allows users to import data from an excel spreadsheet

    I have not been able to start my reading on scripting or other livecycle features to be able to try to figure this out but I was wondering if anyone else had ever created a form with this feature or had any ideas of how it would be possible.  Our company currently uses and excel form that would have a variable number of rows of data for each time it is filled out and we would be replacing it with an adobe form.  I would like to know if the users, who will be using the new adobe form in adobe reader, could have the capability to imort the lines from the previous excel form into the new adobe version.

    Hi,
    You can set up a data connection with an Excel spreadsheet. However for the data connection to work for users with Reader, you would need to Reader Enable the form with the LiveCycle Reader Extensions ES2.5 (server component). See here for summary: http://assure.ly/etkFNU.
    However if you are just trying to get the existing data into the form, you should have a look at some of Stefan Cameron's posts: http://forms.stefcameron.com/ (try a search). You can start a new form using the wizzard and select import from Excel. This will allow you to paste from your spreadsheet to a new form. This should help set up the data structure/schema, which you can then replicate in a new form. I haven't done this before, but it should be possible.
    Hope that helps,
    Niall

  • Can someone help me change the line width of my numbers table, its not set to thin or none and its stuck on .25. its a spreadsheet i imported from excel.

    Can someone help me change the line width of my numbers table, its not set to thin or none and its stuck on pt25. its a spreadsheet i imported from excel.

    MR,
    Apparently the import wasn't a good one.
    The best option at this point might be to start a new table. Insert a new Table, Copy the old table cell range, select the first cell in the new table and Edit > Paste and Match Style. This will throw out all the old formatting. A bit of work, but a nice clean start.
    Jerry

  • Ipad Numbers apps unsuccessfully importing Microsoft Excel 2007 spreadsheet

    Here are what I did. I first sent a Microsoft Excel 2007 spreadsheet (the format is xlsx) to my email. And then I opened it via Numbers in iPad Mini. The Numbers was importing the Microsoft Excel 2007 spreadsheet. It took about 2-3 minutes importing the file. The importing status bar was indicating the progress. When the importing status bar was about completed and then the Numbers apps closed itself. I first thought it completed importing the file. I opened the Numbers apps, there was nothing. I attempted opening it for several times but it ended up the same. That seemed the Numbers was having a problem importing Microsoft Excel 2007 spreadsheet. By the way, there are several tabs in the Microsoft Excel 2007 spreadsheet. Would that be a reason why Numbers couldn't import the file successfully? Or maybe Numbers only import Microsoft Excel 2007 spreadsheet with single tab in the file? Please help!

    gogreen2e wrote:
    It's just general worksheet. No pivot table, no VBA logic. But there are several tabs. One of the tabs has formulas linked to other tabs. For example, formula like: '=Sheet2!B2'.
    Its possible either of those could be a factor. I'm not sure if there is a top end limit on the number of tabs Numbers will handle (at least haven't run into to it yet). The formula syntax you have does not match what number presents, so that could be the issue, but I seem to recall it has not had an issue converting in the past. Could be wrth a look however.

  • Importing data from Excel Spreadsheet into SOP

    Hi,
    Can anyone please tell me where I can find instructions on how to import data into SOP form an Excel spreadsheet. I know there is a used exit MCP20001 EXIT_SAPMMCP6_001 but I don't see a transaction to execute this import exit from. Please help/clarify.
    Thank you
    I will award points to all who respond with useful information on importing info into SOP

    Dear,
    Please note the info structure os not different for different versions. ALl inactive versions are also storead in the same info struture.
    The info structure will be different only of the planning type is different. For standard SOP the info stucture is S076.
    You could also create your own info structures for the planning types you have created using flexible planning.
    For copying within the same info structures use transaction MC78. Here select the inactive version in the source and select the active version in the target. The copy with the button given for this.
    Within the MC87 copying is only possible between different info structures.
    Hope this helps your understanding.
    Regards,
    R.Brahmankar

  • Detect fields and edit imported Excel spreadsheet

    i would like to know how I can detect fields for imported Excel spreadsheets so I can add and edit the spreadsheet

    I have an excel spread sheet that i would like to import into form central & I would like the fields to be editable by other users.  When i try exporting the excel file as a PDF Form Central  I get this message "FormsCentral could not import the PDF document because it does not contain interactive form fields. You need to add fields to your PDF using Adobe Acrobat and import again" Is there any other way for me to do this or do i have to purchase a version of Adobe Acrobat?

  • Excel Spreadsheet Journal Import

    I'm trying to debug an issue related to using the Excel Spreadsheet Journal Import. Where does the validation take place? I'm using Financial 9.0. But what actually happens when you click the import button? It looks like an XML message is sent. Does anyone know if this happens and if so what the name of the message is that is supposed to handle the incoming message??
    Thanks all in advance!!

    Michael Witherell wrote:
    Kathleen,
    No, Data Merge won't do. The context of need in this case is placing an Excel spreadsheet into InDesign; with Show Import Options turned on; with the workflow idea of bringing it in unformatted; yet applying a pre-made TableStyle to it.
    It turns out in this case that you have to follow up with selecting the first row (the header row) and clicking on Table > Convert (something or other) and choosing Header, thus turning the header row into a mechanically-repeating row (as in the case of a very long table that flows over more than one page).
    You can do this in advance if it is a Word doc table. That is, it can be set in Word before placing. Apparently you cannont do so in advance in Excel.
    Therefore, upon placing, the TableStyle appears to fail to some degree until you catch up with the Header Row conversion.
    Best to you,
    Mike Witherell in Alexandria, VA
    I'm not sure if this would help:
    * Create the heading row content on the master page, either as literal text in a text frame, or as a text variable.
    * Use Data Merge multiple records per page mode on the body page.
    This creates a pseudo table heading above the merged data on each new page. You'll have to adjust the height, vertical justification, and text wrap when defining the master page text frame text wrap to force the merged data to begin below it on the page.
    If you truly need a table, perhaps because some column content needs to wrap within cells, then "never mind." But if that's not the problem, perhaps nested and GREP styles could manage the formatting you need.
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Is there a way to import my address book to an excel spreadsheet? into excel

    I would like to transfer my contacts from address book to an excel spreadsheet.  Is this possible. 

    If you can get the data out and related info seperated by tabs, new lines of info seperated by returns, then it can be imported, even pasted into a spreadsheet.
    Name *tab* phone numer *tab* address
    Name *tab* phone numer *tab* address
    like that

  • I want to write a script or Automator workflow/app that emails a random shortcut of the day to three recipients. The source is from an Excel spreadsheet. One column is the shortcut, and the second column is the definition. Anyone have experience?

    I want to write a script or Automator workflow/app that automatically emails a random shortcut of the day to three recipients. The source is from an Excel spreadsheet. One column is the shortcut, and the second column is the definition. Anyone have similar experience and know that this would work?

    I have had a first stab at the script, below.  It uses a file to store the shortcuts and command [descriptions].  You should be able to see from the script annotations how to add a new one.  (I populated 1-4 with real data, but got lazy after that, so you have a few placeholders to work with first.
    As I have noted, once you are happy that you have all the data in the file, you can comment out part of the script for ongoing use.  (BTW, my reluctance to use Excel is that I don't currently have it installed and I don't want to offer wrong advice.  If you have Numbers, I do have that and could probably modify to work with a spreadsheet from there.  This might be especially useful if you have the data already sitting in Excel.)
    A few things came-up whilist I was writing the script:
    1.     Currently, all recipients will not only get the same tip at the same time, but they will see the names and email addresses of the others who receive them.  It is possible to modify this.
    2.     I have added a property gRandomCheck which keeps track of which shortcut has already been used (since the last time the script was compiled.  This will prevent the same tip being sent more than once.    When all tips have been sent once, the script will alert you and not send anything until reset.  It does not check on a per-addressee basis (which would be a refinement).  (If you add a new addressee at this stage, the whole process will start again, and you may not really want this to be the behaviour.)
    3.     The way that I have built the list, commandList, is deliberately cumbersome - it's for the sake of clarity.  If you prefer, you can construct the whole list as {{shortcut:"X", command:"X"}, {shortcut:"Y", command:"Y"}}
    Have a look - I am sure you will have questions!
    SCRIPT STARTS HERE  Paste the following lines (thru the end) into a new AppleScript Editor document and press RUN
    --The property gRandomCheck persists between runs and is used to stop sending the same hint twice.
    property gRandomCheck : {}
    --I am defining a file on the desktop.  It doesn't have to be in this location
    set theFolder to path to desktop
    set commandFile to (theFolder as text) & "CommandFile.csv"
    --(* Unless you need to change the file contents you do not need to write to it each time.  Remove the "--" on this line and before the asterisk about 18 lines below
    --Follow this format and enter as many records as you like on a new line - each with a unique name
    set record1 to {shortcut:"Z", command:"Undo"}
    set record2 to {shortcut:"R", command:"Record"}
    set record3 to {shortcut:"⇧R", command:"Record Toggle"}
    set record4 to {shortcut:"⌘.", command:"Discard Recording & Return to Last Play Position"}
    set record5 to {shortcut:"X", command:"x"}
    set record6 to {shortcut:"X", command:"x"}
    set record7 to {shortcut:"X", command:"x"}
    set record8 to {shortcut:"X", command:"x"}
    set record9 to {shortcut:"X", command:"x"}
    set record10 to {shortcut:"X", command:"x"}
    set record11 to {shortcut:"X", command:"x"}
    set record12 to {shortcut:"X", command:"x"}
    set record13 to {shortcut:"X", command:"x"}
    --Make sure you add the record name before randomCheck:
    set commandList to {record1, record2, record3, record4, record5, record6, record7, record8, record9, record10, record11, record12, record13}
    --This part writes the above records to the file each time.
    set fileRef to open for access commandFile with write permission
    set eof of fileRef to 0
    write commandList to fileRef starting at eof as list
    close access fileRef
    --remove "--" here to stop writing (see above)*)
    --This reads from the file
    set fileRef to open for access commandFile with write permission
    set commandList to read fileRef as list
    close access fileRef
    --Here's where the random record is chosen
    set selected to 0
    if (count of gRandomCheck) is not (count of commandList) then
              repeat
                        set selected to (random number from 1 to (count of commandList))
                        if selected is not in gRandomCheck then
                                  set gRandomCheck to gRandomCheck & selected
                                  exit repeat
                        end if
              end repeat
    else
              display dialog "You have sent all shortcuts to all recipients once.  Recompile to reset"
              return
    end if
    --This is setting-up the format of the mail contents
    set messageText to ("Shortcut: " & shortcut of record selected of commandList & return & "Command: " & command of record selected of commandList)
    tell application "Mail"
      --When you're ready to use, you probably will not want Mail popping to the front, so add "--" before activate
      activate
      --You can change the subject of the message here.  You can also set visible:true to visible:false when you are happy all is working OK
              set theMessage to (make new outgoing message with properties {visible:true, subject:"Today's Logic Pro Shortcut", content:messageText})
              tell theMessage
      --You can add new recipients here.  Just add a new line.  Modify the names and addresses here to real ones
                        make new to recipient with properties {name:"Fred Smith", address:"[email protected]"}
                        make new to recipient with properties {name:"John Smith", address:"[email protected]"}
      --When you are ready to start sending, remove the dashes before "send" below
      --send
              end tell
    end tell

Maybe you are looking for

  • Photo Matrix from folder

    Hello how are you? I really really need your help. I have an aleatory number of squared pictures (ex: 4x4 of 6x6, or 10x10, etc) that may change everytime. These files together become a "big picture". What I want is an action to photoshop make a coll

  • Why are adium users seeing my ichat messages as xml?

    This started recently. As far as I can tell only Adium users are seeing the messages as XML. I have not changed anything in my iChat setup, and as far as I can tell there is not a new, broken version of Adium that they're all using. This is happening

  • Hidden files between Mac and Windows

    I am evaluating Oracle Content Services to replace a traditional (OS X Server with AFP and SMB) file server. I'm doing some tests and I see that when I upload or change files by WebDAV, files starting with '.' appears. Let say I uploaded a file calle

  • Adobe Creative Suite6 for mac

    Hi I downloaded ACS6. But how do I go on with it now when it is downloaded? The download has finished but it seems like not all is downloaded? I can't see the filesize as one usually does. Any advice? Thanks

  • Adobe Fireworks CS6 'redefine' style isn't working properly

    Hi there. I'm having an issue. So I'm creating some graphics.  I have Three Objects. I've created each object, then saved a style for those objects, saving everything but 'text' styling. I made some adjustments to the linear gradient of 2 of these ob