Connect to Oracle DB using Connection String

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Connect to Oracle DB using Connection String

    :confused; Please help me out here. I want to connect to Oracle 9i / 10g
    database using connection string defined in the application.cfm to create a on
    demand database connection and not using Data Sources in the CF Admin. Also I
    am using the DB for storing Client variables..... Thanks in Advanve CFRAM

    CFRAM Guest

  2. Similar Questions and Discussions

    1. Best connection string to connect to SQL dbase...
      I need to connect to a dbase. I will be using ASP.NET, Windows 2003 Server, and SQL 2000. What would the best connection method be: OLE DB : <%...
    2. Create a DSNless connection IN VBscript to connect to an Oracle Database
      Cheers for all the great help!!! I have now got the connection working and i can now write to the database; but the problem i have now is i need...
    3. OLEDB COnnection String to Oracle
      Does someone know the proper connection string for using OLE DB connection to an oracle server ? Jon Spartan
    4. Oracle DSN Less Connection String
      Greetings.... Okay so far Dreamweaver MX connection to Oracle has left an awful bitter taste in my mouth.... I am trying a DSN Less Oracle...
    5. Connection String to connect to SQL Server Database
      http://www.able-consulting.com/ADO_Conn.htm Brian Staff
  3. #2

    Default Re: Connect to Oracle DB using Connection String

    Hi

    Try this:

    "Provider=OraOledb.Oracle.1;User Id=Scott;Password=Tiger;"

    this was to use in the vb. i dont know whether it will works or not ... as i can't check as i dont have oracle.

    vkunirs Guest

  4. #3

    Default Re: Connect to Oracle DB using Connection String

    Hi, I did something like this it did not work with Oracle 9i <cfquery
    dbtype='dynamic' provider='OraOledb.Oracle.1;User Id=cp;Password=change'
    name='sample'> select * from agent </cfquery> <cfoutput query='sample'>
    #agent_code# </cfoutput>

    CFRAM Guest

  5. #4

    Default Re: Connect to Oracle DB using Connection String

    Hi

    try this :

    "Provider=MSDAORA.1;User Id=Scott;Password=Tiger;"

    vkunirs Guest

  6. #5

    Default Re: Connect to Oracle DB using Connection String

    Did not work any better idea.

    Thanks
    CFRAM Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139