+ Reply to Thread
Results 1 to 4 of 4

Preparing data to insert into SQL table

  1. #1
    Registered User
    Join Date
    08-05-2006
    Posts
    14

    Preparing data to insert into SQL table

    I've got an excel spreadsheet full of data that I want to insert using SQL into an Oracle database.

    The data is separated into columns. The columns are ID, Name, ***, DOB, Address, Phone.

    I want to be able to get this data to fall into the following statement:
    insert into TABLE
    values (0001,'Robert Harvey','M',18/01/1971,'8 Heversham Grove', 'Melton',96816487);

    There are around 900 records with the data laid out similar to the above fashion. How would I get all these values into individual insert statements?

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Try somethng like

    Please Login or Register  to view this content.
    Martin

  3. #3
    Registered User
    Join Date
    08-05-2006
    Posts
    14
    Cheers for that,

    what's the DB access code though?

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Have a look at

    HTML Code: 

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1