PDA

View Full Version : Connect to Oracle DataBase



gopi09_m
11-25-2008, 09:21 PM
Hi,

How do i connect to DataBase in Excel VBA.I have the following details about the DSN and DataBase Table..

ConnectionString= "DSN=OracleDSN;UID=OrUser1;PWD=****"
DataBase Table = Emp

I want to execute the query "Select * from Emp" and retrieve all the values of
Emp table..

Thanks
Krrishna

shamsam1
11-25-2008, 11:10 PM
check this out

http://www.connectionstrings.com/?carrier=oracle

Bob Phillips
11-26-2008, 01:40 AM
Here is my suggestion http://www.carlprothman.net/Default.aspx?tabid=87#OLEDBProviderForOracleFromOracle

gopi09_m
12-01-2008, 11:41 PM
thanks for that.