Results 1 to 2 of 2

EXCEL VBA to insert data in Oracle Database

Threaded View

  1. #1
    Registered User
    Join Date
    01-16-2015
    Location
    St Louis
    MS-Off Ver
    10
    Posts
    9

    EXCEL VBA to insert data in Oracle Database

    Ok, my intention is to create an excel userform that takes input and inserts the data in an oracle database tabel. But first I am just trying to get a simple macro to work at inserting some data into the database. I believe the connection is fine, it doesn't give any errors there. But it gives an error saying there is a missing 'select' statement.

    SOIDOWNTIME2 is the tabe, the columns are (SDT_ID, SDT_Date, SDT_Shift, SDT_Tool, SDT_Output, SDT_Goal, SDT_Oper, SDT_StartDown, SDT_EndDown, SDT_Duration, SDT_Comment, SDT_Type)

    Right now I am just trying to add text to the STD_Comment column. Any help is appreciated. I've actually tried multiple macros that i have found on the web and I alwasy end up with the missing select statement.

    I couldn't post the code... SQL blocked. So it is attached.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Fetch data from Oracle to Excel with Oracle ODBC driver using VBA
    By clam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-05-2022, 11:39 AM
  2. Excel to Oracle database communication
    By syparth in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-12-2013, 04:50 AM
  3. extract data from Oracle database
    By myguess21 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-25-2013, 01:30 PM
  4. Database connectivity -- Excel to Oracle Database
    By Kamalakar M in forum Access Tables & Databases
    Replies: 0
    Last Post: 08-01-2012, 02:06 AM
  5. Linking Excel to an Oracle Database
    By ssorcp in forum Excel General
    Replies: 0
    Last Post: 06-19-2012, 02:34 PM
  6. [SOLVED] How to get data from Oracle Database to Excel?
    By David Willis in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-07-2011, 10:44 AM
  7. Lookup data in Oracle database
    By SQUASH JUNKIE in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2008, 07:44 AM
  8. Excel - Oracle database connection
    By b_r in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2006, 04:25 PM

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