Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SQL.REQUEST Connection to Oracle Query (2003)

    I have been able to access MYSQL databases through the SQL.REQUEST function through ODBC.

    I have not been able to connect to an Oracle DB however.

    The connection string examples include the DSN parameter and the DBQ parameter.

    Is there an explanation of the values I should be using to access a Oracle DB?

    --Mark

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: SQL.REQUEST Connection to Oracle Query (2003)

    The connection string for Oracle looks like

    "Driver={Microsoft ODBC for Oracle};Server=OracleServer.world;Uid=MyUsername;P wd=MyPassword;"

    with the correct names for the server, username and password, of course.

  3. #3
    New Lounger
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: SQL.REQUEST Connection to Oracle Query (2003)

    The connection string I came up with then is:

    DRIVER={Oracle ODBC Driver};SERVER=HAWK_REPORTS.SHVP.xx.xx.COM;UID=xxx ;PWD=xxx

    Does the DSN name not show up in the string?

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: SQL.REQUEST Connection to Oracle Query (2003)

    This is a DSN-less connection string, the necessary information is provided in the string itself.

Posting Permissions

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