Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 9th, 2004, 12:30 PM
Registered User
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default database problem


I am trying to give a connection string to get the records from the oracle9i database. I have put my database in useraccount scott. When i try to retrieve record through this code it is troubling me. Can anybody help? Thanks in advance.

Public con As adodb.connection
Public Sub connection()
Set con = New adodb.connection
con.Open = "Provider=MSDAORA.1;User ID=scott; Persist Security Info=False"
End Sub

Old September 10th, 2004, 02:07 AM
Friend of Wrox
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr

 OLE DB, OleDbConnection (.NET)

 Standard security:

"Provider=msdaora;Data Source=MyOracleDB;User Id=UserName;Password=asdasd;"
This one's from Microsoft, the following are from Oracle
 Standard Security:

"Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;User Id=Username;Password=asdasd;"

 Trusted Connection:

"Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;OSAuthent=1;"

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem to restore database in C#2005 database acmuralee MySQL 0 March 25th, 2008 04:42 AM
DATABASE PROBLEM. PLEASE HELP! dextergaisie Crystal Reports 2 May 15th, 2007 05:58 AM
database problem rahul8346 SQL Server 2000 1 May 16th, 2006 11:13 AM
Database Problem kanoorani Beginning VB 6 3 April 27th, 2006 02:16 AM
database problem? hosefo81 PHP Databases 4 January 9th, 2004 09:00 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.