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 January 21st, 2005, 03:06 AM
Authorized User
 
Join Date: Dec 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Best method to connect Oracle from VB

All,

anybody post me which is the best & fastest method to connect oracle from visual basic, i am using Ole provider MSDAORA,but in this the processing is taking in the ratio of 2:1 i.e 2 parsing and 1 execution in the backend.

 
Old January 28th, 2005, 06:04 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

This is currently called “the best”:
Code:
    c.Provider = "MSDAORA.1"              ' OLE-DB Provider for Oracle.
    c.ConnectionString = "Data Source=DIS;" & _
                         "User ID=" & UserNm & ";" & _
                         "Password=" & pw & ";" & _
                         "Persist Security Info=False"

What makes you say “processing is taking in the ratio of 2:1. i.e., 2 parsing and 1 execution in the backend?”





Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect to Oracle. rupen Classic ASP Databases 0 August 18th, 2008 02:50 AM
how to connect the oracle with c# .net bhasker_braj121 General .NET 1 June 19th, 2007 10:34 AM
Trying to connect to an oracle database aviand VS.NET 2002/2003 0 August 23rd, 2006 12:31 PM
connect Oracle from VB davElbaz Oracle 6 December 17th, 2004 11:08 AM
Using PHP to connect to Oracle cooldude87801 Oracle 2 June 4th, 2004 12:43 AM





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