Connect with an Oracle database

Please discuss general Delphi programming topics here.

Connect with an Oracle database

Postby araldi » October 19th, 2009, 9:49 am

Hello.

I'm trying to connect with an Oracle database but i can't. This is the code that i have write:

dbConexion : TADOConnection;
dbCursor : TADODataSet;
begin
dbConexion := TADOConnection.Create(nil);
dbConexion.ConnectionString := 'Provider={Microsoft ODBC for Oracle};Server=ss-server;Data Source=;User Id=id;Password=password;';
dbConexion.LoginPrompt := False;
dbConexion.Open;

I don't know whats wrong there.
User id and password are corrects.

I'm programing in delphi 6.0 and Oracle version is 10g.

Someone can help me?

Thank you very much.

P.S.: Sorry for my low level english.
araldi
Member
Member
 
Posts: 2
Joined: October 14th, 2009, 10:20 am

Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron