How To Connect Microsoft Excel To Oracle DB
Hi,
My team recently took over a process from another company. The other company had a macro written which connects to oracle DB and gets the o/p result in Excel.
If i try to use this macro based sheet, I get error.
Though i pass the right password it through's error.
Error is "ORA-06413: Connection not open"
Where as if i try the same user name and password in toad it works.
I see that in my system i don't have "ORACLE Provider for OLE DB" and i also don't have "Oracle DB Driver".
I downloaded 64-bit Oracle Data Access Components (ODAC) Downloads from the bellow link
[http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html]
But it had install file as install.bat and configure.bat and on clicking nothing much happened.
I also tried using the bellow link
[http://blog.mclaughlinsoftware.com/microsoft-excel/how-to-query-oracle-from-excel-2007/]
and
[http://www.youtube.com/watch?v=Adz0zZFePf8]
Got stuck where oracle connectivity was needed.
Thanks,
Vishwamber Shetty
Edited by: Vishwamber Shetty on Apr 24, 2013 6:09 PM
Asad99 wrote:
is it possible without client installation on client machine??No, it is not. The very nature of ODBC drives is that they provide a generic interface to whatever client layer is necessary for the database product in question. So, for Oracle that means the (any) oracle odbc driver simply sits between the application (Excel, in this case) and the oracle client layer.
Similar Messages
-
How to connect to excel sheet and create a universe on top of that
hi,
can any tell me how to connect to excel sheet and create a universe on top of that.what connection should i keep.Hi Vishal,
Here is how you can create a universe from an excel file:
Here are the steps to follow:
1. Launch Designer, select the Quick Design Wizard if not already open, and click "Begin".
2. Type in a universe name then click "New".
3. Select the Network layer "ODBC Drivers" and then click OK.
4. In the ODBC Drivers window, select the "Login" tab and then type in a name for this connection.
5. Select "Generic ODBC data source" from the drop-down list for database engine.
6. Click the "ODBC Admin" button to define data source name.
7. In the ODBC Data Source Administrator window, click Add.
8. Select "Microsoft Excel Drivers" and click Finish.
9. Enter a data source name.
10. Click "Workbook", select the file you want to access, and click OK.
11. Locate and select the data source name from the drop-down list.
12. Click "Test" to make sure that the server is responding.
You will be back at the Quick Design Wizard "Step 1 of 4". Click the "Next" button and follow through the rest of the steps in order to complete the universe.
-Shreyash -
How to integrate Microsoft project to Oracle Project Management?
Dear All,
How to integrate Microsoft project to Oracle Project Management?
I tried to find Oracle Project button in Microsoft Project to send Project plan to oracle projects. But I didn’t not found any button like Oracle project to upload.
Can anyone please let me know what the prerequisites to integrate and how to import the same data in oracle Project Management Module from Microsoft Project?Hi,
Please see "Oracle Project Management User Guide", Chapter 5.
Applications Releases 11i and 12
http://www.oracle.com/technology/documentation/applications.html
The following documents should be also helpful.
Note: 277096.1 - **FAQ Integration with Microsoft Projects**
Note: 236522.1 - Oracle Project Management Release & Installation Notes
Note: 236585.1 - Oracle Project Management Documentation
Note: 804746.1 - Is It Possible To Use Microsoft Projects Integration Without Oracle Project Management?
Regards,
Hussein -
How to connect google maps with oracle
Hello people ,
i read an artical there is a way to connect google maps with oracle .
can anyone give us lesson or more information to do that ?
regards .I guess, using Google for the same should be the best way to find the solution for it,
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=How+to+connect+google+maps+with+oracle
HTH
Aman.... -
How to connect to excel document at network machine through oracle ?
Hello !
I am able to read excel doc at my local drive through sqlplus(oracle).
Please help me to modify steps to access excel docs at network machine.
steps:->
1) start\settings\control\panel\administartive tolls\data source odbc\system dns\driver for microsoft excel (*.xls)\dns source at my local drive.
2)C:\oracle10g\product\10.2.0\db_1\hs\admin\initNITIN.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = TESTDS
HS_FDS_TRACE_LEVEL = 0
#HS_FDS_TRACE_FILE_NAME = aetna_xls.trc
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
3) adding one more listener in listner.ora
SID_LIST_HSODBC_LISTENER =
(SID_LIST=
(SID_DESC=
(SID_NAME=NITIN)
(ORACLE_HOME=C:\oracle10g\product\10.2.0\db_1)
(PROGRAM=hsodbc)
HSODBC_LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1555))
4) entry in tnsnames.ora
ABC.SCF.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1555))
(CONNECT_DATA =
(SID=NITIN)
(HS=OK)
5)lsnrctl stop listner
6) listner start HSODBC_LISTENER
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
System parameter file is C:\oracle10g\product\10.2.0\db_1\network\admin\listener
.ora
Log messages written to C:\oracle10g\product\10.2.0\db_1\network\log\hsodbc_list
ener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1555)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1555)))
STATUS of the LISTENER
Alias HSODBC_LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 30-JUN-2007 12:30:25
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle10g\product\10.2.0\db_1\network\admin\listene
r.ora
Listener Log File C:\oracle10g\product\10.2.0\db_1\network\log\hsodbc_li
stener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1555)))
Services Summary...
Service "NITIN" has 1 instance(s).
Instance "NITIN", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
7)create database link test
connect to "ben"
identified by joe
using 'ABC.SCF.COM';
8)SQL> select * from all_objects@testin;
OWNER OBJECT_NAME S OBJECT_ID
DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_ T S T G S
Sheet1$ 0
0 TABLE 30-JUN-07 30-JUN-07
Sheet2$ 0
0 TABLE 30-JUN-07 30-JUN-07
Sheet3$ 0
0 TABLE 30-JUN-07 30-JUN-07
My queries are :
1)Is it possible to connect to a document at network
if yes then for , do i need to map a drive.
please explaqin how what changes required to make it possible to read a network excel documnet through oracle.
Thanks in Advance
--AjayHi Justin ,
Thanks for your prompt reply ...
I have mapped network machine folder to X:\
now I can access this on my local machine by x:\
And dsn it pointing to document on x:\
then i tried to connect , but got an error.
SQL> select * from all_objects@testin;
select * from all_objects@testin
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Microsoft][ODBC Excel Driver] '(unknown)' is
not a valid path. Make sure that the path name is spelled correctly and that
you are connected to the server on which the file resides. (SQL State: S1009;
SQL Code: -1023)
ORA-02063: preceding 2 lines from TESTIN
Do I need need any other changes in above confiiguration..
or create link statement need to be modified...
SQL> create database link testin
2 connect to "SCF\ben"
3 identified by "joe"
4 using 'ABC.SCF.COM';
please suggest -
How to convert microsoft excel to odi table
I have data in Microsoft excel file and i want that data in odi in table format. how can i get it?
Refer
http://bhabaniranjan.com/microsoft-excel-as-a-source-and-a-target-as-oracle-in-odi-11-1-1-6/
Thanks -
Error while connecting microsoft Excel to sap business objects
Hi,
I am trying to connect sap business objects to Microsoft Excel using Power Query add in but i am getting Proxy time out connection error when adding
Credentials, As per the SAP documents i am using SAP Restful Web service URL when connecting to Business objects
Details are as follows:
Opearting System-:Windows 7
SAP BO Platform-:BO 4.0 SP 6 (OS-Windows server 2008 R2)
Excel Version-:Microsoft Excel 2013
ADD IN-:Power Query
Please check attach Error Screen-Shot for Detail information
Regards,
RupeshHi,
please be aware that you need SAP BI 4.1 SP2 at least for using Power Query
So maybe this error results in a non suported Environment.
Regards
-Seb. -
How to connect sql server using oracle Client
Hi,
I am working in oracle9i and windows os 32 bit.
I need to connect SQL server 2000 from my oracle client..
I heard about heterogeneous connectivity ...
Please expalin me the steps what to add and how to connect the sql server...
Regs....Are you trying to connect to SQL Server from your Oracle database (i.e. create a database link in Oracle to SQL Server)? Or are you trying to connect to SQL Server using your Oracle client software (i.e. SQL*Plus)?
The former just requires Heterogeneous Services with Generic Connectivity. The latter is functionality that has been depricated and probably no longer works in your environment.
Justin -
How to Connect Logitec Webcam in Oracle Forms 6i
Hi all,
I am using Logitech Webcam-V-UAP9 MODEL, If there is possible to connect to forms 6i and How to connect to Oracle Forms 6i. Please help me.You can also use a java bean with
native webcam support
http://demo.smaxe.com/juv-na-demo-webcam.html
JavaCV
http://code.google.com/p/javacv/
http://ganeshtiwaridotcomdotnp.blogspot.com/2011/12/opencv-javacv-eclipse-project.html
Java Media Framework,
Marvin Project
http://marvinproject.sourceforge.net/en/index.html
Myron
http://webcamxtra.sourceforge.net/ -
How to connect access database through oracle sql prompt
i want to connect access database via oracle , i am trying to import all the data in Access table into oracle table how it is possible .
A.RThe simplest way, if You have already created tables in Oracle DB, is to open the Access MDB, link Oracle tables via ODBC and build a query to append rows reading from Access tables to Oracle tables.
Hope this helps
Max -
How to Format Microsoft Excel spreadsheet generated using RFC
Hi Portal Experts,
Currently, I've managed to generate a Microsoft Excel spreadsheet using a customized RFC. The spreadsheet was initiated when submitting data from Portal.
But, the data generated in Microsoft Excel was not formatted according to my specification. How could I format the data, alignment and to inset image file in Microsoft Excel automatically when this RFC is being called?
Cheers.
BryanHi Jithu,
If you tried to write the the template the proper (textual) datatypes and the column is and it does not work then
I only can suggest to write a macro that does the Text Column conversion and have the macro triggered from within the package perhaps better off using a separate process (e.g. a console app that is done using Office interop libraries) as doing it right in
the package is quite laborious.
Arthur
MyBlog
Twitter -
How to connect pocket pc with oracle 9.2.0.6 databse
hi,
i have oracle 9 databse and erp which works with it.
i need to create application for pocket pc which must work with oracle 9 database.
how can i connect pda device with oracle databse?
how to use oracle databse lite to do this?
best regardsI know there was a problem in 6i where you would get a crash if your query returned more than {Max Length} characters of the field representing the CLOB column.
-
How to Connect Microsoft SQL 2000 database using JDBC
Hi all..
I want to connect Microsoft SQL 2000 database using JDBC. I want from initial steps also. (about JDBC driver & its installation)
ThankzJust checkout the SQL Server JDBC Driver Documentation at the manfacturer's site: http://msdn2.microsoft.com/en-us/data/aa937724.aspx
-
How to connect BISE1 to an Oracle EE on 64 Bit Linux?
Hello all,
I managed to use BISE1 with the supplied BISE1DB Database on Windows XP Prof SP2.
Now I want to use "one other database" as is allowed in the license information,
specifically an Oracle 10gR2 EE on Linux (64 Bit), which is on another node.
How do I setup connectivity to this database?
In the administration tool ODBC is used and I was able to successful import some
metadata (tables).
But how do I setup the Connection Pool in BISE1 to use the other machine?
What I am missing? Any pointers are welcome, including "rtfm" if you tell me where
this is covered ;-)
Best regards,
WolfgangIn <drive>:\oracle\bise1\db\network\ADMIN\tnsnames.ora
you have the following
BISE1DB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = bise1db)
add another one like this
BIEE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = BIEE_IP_OR_HOSTNAME)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl_or_sid_name)
after that on repository at connection pool
Call interface: Default (OCI 10g)
datasource name: biee
username: the_name_of_the_schema
password: pass_for_that_user
This worked for for me
Goodluck
Nicolae Ancuta -
How to connect vb6.0 with oracle Express 11g
hello
i am new in oracle and in a few concepts
i have 4 days left to make a few conversion screens to upload a data..
i'm workin with visual basic 6.0
i have installed Oracle Database 11g Release 2 Client
the ODAC 11.2
i am using ADODB with Microsoft ActiveX Data Objects 2.8
I tried with OLEDB.oracle, MSDASQL.1, MSDAORA.1 as providers and NOTHING..
example of my code:
Set oConn = New ADODB.Connection
Conn.Open "Provider=msdaora.1;Data Source=XE;User Id=aaaa;Password=bbbbb;"
can not find the components of oracle network
PLEASE HELP ME!!Hi Pradeep,
First of all, go to the registry and search for the key LISTENER_START. Most Probably you'll find the entry as NOAUTO. Change it to AUTO. And while installing FORMS6 make sure that you've installed NET80 products.
In the most likeliest casec, you'll get a connection . In case you don't, then go and make an entry using NET80 configuratio.
Tell us more if you have any problem.
Piyush.
Maybe you are looking for
-
HP Laserjet 2100M not on printer list
I have a HP Laserjet 2100M and have been trying to get it to work with my Macbook, freshly running Snow Leopard 10.6.2. The printer worked fine with OS 10.4.11 before I added Snow Leopard (it was a clean install, I had a HD failure and started out wi
-
I want to create store procedure that reads datas from text file and using API to create the record in database. I've try to write the simple code by follow the code example in "Oracle Order Management Suit API and Open Interface". I have the followi
-
Smartforms Routine ENTRY Error
Hi, I have a problem in the vf03 for edit an invoice. I have the message : La routine de traitement ENTRY n'existe pas dans le programme ZRLB_INVOICE Traduction : The routine ENTRY not exist in the program ZRLB_INVOICE. But in the program ZRLB_INVOI
-
Does com.evermind.sql.DriverManagerDataSource provide connection pooling?
Hi, The class defined in default data-sources.xml file is com.evermind.sql.DriverManagerDataSource. In Oracle9i JDBC Developer's Guide and Reference Release 1 (9.0.1) documentation's chapter 15, Oracle encourages to use this emulated data source for
-
Bug in JDev 9.0.3.3 when removing joined entities from a view
Hi, I observed in JDev 9.0.3.3 the following behavior for views containing several joined entities: -I'm creating the view V1 based on the entity E1 and generate the row implementation java file with accessors (close wizard) -I'm joining a