Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, How to connect the ORACLE

Status
Not open for further replies.

unirams

Programmer
Dec 25, 2001
20
IN
Hi,

How to connect the ORACLE database available in UNIX platform through 32bits ODBC for Windows. Actually, i am going to do the project in VB, but the database is already available in ORACLE under Unix. Just i want to make the connection established to that database (under unix) from my program in VB (ODBC Connectivity calls). Please let me know how do i connect to oracle under unix using ODBC.

Thanks in Advance

Regards,
Ram
 
Hi There,

You need an Oracle ODBC driver AND the Oracle SQLNET
installed on the client. The ODBC driver is usually
on the SQLNET install disk. Once SQLNET is installed,
set up your tnsnames to be the same as that of you Unix
host. The ODBC connection is then the same as any other.

tnsnames goes under your install directory\network\admin

Regards

Chris
 
Hi Chris,

Thanks for your response. I am little bit beginner to these types of programming. Can you explain me in depth.

Thanks again

Regards,
Ram
 
Hi Ram,

I will put something together tomorrow in detail. Is that
OK.

Regards

Chris
 
hi raam..

u can try this connection..

dim cn as adodb.connection

set cn = new adodb.connection
cn.provider="msdaora.1"
cn.open "server","scott","tiger"

where... "server" is ur oracle server connection string..

but i ve never tried on a unix server... this is the connection available for windows platform...
u can try it on unix also..

regards..

Varnit Good Luck
Varnit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top