Results 1 to 4 of 4

Thread: oracle, Microsoft, dbase

  1. #1

    Thread Starter
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872

    oracle, Microsoft, dbase

    I need to access an Dbase database, an oracle database, an Microsoft sql database and an access (maybe DB2) database in one project.

    and i doe have to gat some info out of it using sql statements. How can i do this without have to use different sql, and without accessing each dbase on another way.

    I have to do it in VB.NET
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

  2. #2

    Thread Starter
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872
    i do not have to open them at the same time. The user selects a database (one of the 4 types I talked about)
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

  3. #3
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    Unhappy


    I don't think you can actually get away with using the same sql unless you are planning to use simple ANSI - Compliant sql statements. Then too I am not very sure if Dbase would support these.

    I am working on an application which has both ORacle as well as SQL database servers and what I do is keep a global variable called gDBType to store the database type that I am connected to. Depending upon the gDBType, my code has a lot of if-then-else statements to take care of the various quirks of SQL and Oracle.

    Cheers!
    Abhijit

  4. #4

    Thread Starter
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872
    thx,
    I already thought so, didn't know it for sure.
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

Posting Permissions

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



Click Here to Expand Forum to Full Width