Syntax for Oracle bind variables with VB6

Posted on 2006-06-06
Last Modified: 2009-07-21
Please provide examples of how to submit select, update, and insert SQL to an Oracle database.   Use bind variables in your examples.   Include some error checking.
Question by:codefinger
    LVL 8

    Accepted Solution

    Sounds like homework.

    Author Comment


    Hmmmm....yeah, it does, sorry.

    Let me rephrase  ...  (can't edit or delete)

    Could someone please provide examples of how to submit select, update, and insert SQL to an Oracle database using bind variables?   (All my Google inquiries keep leading me to VB.NET code.)  

    Since this is an select/update that takes place every five minutes against a huge table, bind variables are essential.  And I have a feeling the ADO method I used wasn't the best.

    It would also be great if the examples included some error checking.

    Thanks in advance for your kind response.


    Expert Comment

    It might have been homework but I would really like to have seen the answer here so I could have used it for my work.

    What use is this being here as a "solution"??

    Frustrating website this can be sometimes....
    LVL 5

    Expert Comment

    isnt it... about of stupid "Experts" on here

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Suggested Solutions

    There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
    When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now