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
--Ajay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Hi 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

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 top Open a Excel Document from share point document library using jquery

    How top Open a Excel Document  from share point document library using jquery

    Hi,
    According to your post, my understanding is that you want to open excel file via JQuery.
    To open excel file, we can use the following code.
    <script type="text/javascript">
    function openExcel(strFilePath) {
    var yourSite = "http://www.yoursite.com";
    openExcelDocPath(yourSite + strFilePath, false);
    function openExcelDocPath(strLocation, boolReadOnly) {
    var objExcel;
    objExcel = new ActiveXObject("Excel.Application");
    objExcel.Visible = true;
    objExcel.Workbooks.Open(strLocation, false, boolReadOnly);
    </script>
    For more reference:
    http://www.kavoir.com/2009/01/using-javascript-to-open-excel-and-word-files-in-html.html
    http://www.dotnetspider.com/resources/43453-Open-Word-Excel-files-using-Javascript.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How i can load excel sheet into a table in oracle through pl/sql procedure

    Hi,
    How i can load excel sheet into a table in oracle through pl/sql procedure or a pl/sql block. Excel sheet is saved on my c or d drive on my machine. In xls format.

    Depending on how big your spreadsheet is and how frequently you want to do this you might want to contruct insert statements in excel, then run these. I have done this to load a few hundred rows for a one off test on dev.
    e.g. if you have values 1 and 'a' in you spread sheet and want to insert them in to table xxx col1 & 2:
    | /|   A   |   B   |    C
    |1 |col1   |col2   |
    |2 |      1|a      |="insert into xxx ("&$A$1&","&B1&") values ("&A2&",'"&B2&"');"then paste the contents of colum C
    insert into xxx (col1,col2) values (1,'a');into sqlplus or a script.

  • How we can call or execute a SHELL script through Oracle forms or Reports

    How we can call or execute a SHELL script through Oracle forms or Reports.Its urgent.......

    Use HOST command.

  • How to Connect My Printer to The Network

    My printer is LaserJet M1212nf.  According to the brief introduction I should connect the printer to the network first in order to enable its e-printing function.  I'm working at home.  I don't share information with other computers.  Does "network" mean my home internet?  Do I need to use either a cable or a USB to connect it to the home internet?  Or is there another way?  Once it is connected, how can I get an email address from HP for my printer?

    Hi,
    Your printer can be connected to your network to print but it's not an ePrint printer:
          http://www.shopping.hp.com/shopping/pdf/ce841a.pdf
    It has a LAN card, you can connect it to your network and print wirelessly (note: print wirelessly and ePrint are two different things).
         http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c02272928
    Regards. 
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How can I display Excel document saved as html in ebDynpro Office Contol?

    Hello,
    I have a problem with displaying of Excel document saved as html inside WebDynpro Office Control.
    Could you explain why OfficeControl cannot display Excel document with content type =text/htm?
    How you know, control must be bound to binary data. And then mime type is set as
    bin.setMimeType(new WebResourceType("html", "text/html", false));
    The empty document is displayed always.
    Nevertheless, excel file is displayed perfect, when
    bin.setMimeType(new WebResourceType("xls ", "application/msexcel", false));

    The OfficeControl UI element is made available as an ActiveX control, so that the UI element can be displayed in browsers that support ActiveX controls.
    The ActiveX control enables display of the following documents:
    1.Microsoft Word documents with the doc file extension
    2.Microsoft Excel documents with the xls file extension
    This is the reason why document with other content types are not displayed.
    Data source must be bound to binary data because files are read as bytes in this scenario.
    Hope this helps you.
    Do let me know if your problem is solved.
    Regards,
    Vijith

  • 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.

  • How to attach an Excel document with the Workflow notification?

    Hi,
    I need to pass an Excel document through workflow process in several notification nodes. Do you have any demonstration example which shows how to implement it? I found some threads like this, but nobody send me the example. I think I need the example's with Oracle Text and workflow 2.6.3 and an example inside Oracle Collaboration Suite(OCS) Files. Please send these examples to [email protected]
    Thanks a million
    Tulip

    Hi,
    I had the same issue and I found that Oracle Workflow does not attach files. The solution is to create a table with blob, clob, ordsys, etc data types and reference to the file from a notification and a message.
    I did an interface with java to read the document, and then put the link in the oracle workflow message. The link opened the file.
    So, for any workflow development is recomended to use your own Entity-Relation Model, including the process number and the files attached to that process.
    Regards,
    Santiago Meneses
    [email protected]
    Quito-Ecuador

  • How to upload a Excel document in background mode

    Hello there, how are you?
    I am doing an interface program that needs to upload an excel document into an internal table, to do this I used the FM ALSM_EXCEL_TO_INTERNAL_TABLE. The problem with this FM is that only works in foregroung mode, If I run the programin bcakground the FM does not work.
    I would like to know if exist a way to upload an excel document into an internal table, for a program that have to be execute in background mode.
    Thanks in advance
    Best Regards
    Alexis Ramirez

    *& Form application_server
    * text
    * --> p1 text
    * <-- p2 text
    *----------------------------------------------------------------------*FORM APPLICATION_SERVER .
    TYPE-POOLS: KCDE.
    DATA : lt_intern TYPE kcde_cells OCCURS 0 WITH HEADER LINE.*DATA : INTERN1 TYPE KCDE_INTERN.FILE = PATH.
    OPEN DATASET FILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.**--- Display error messages if any.IF SY-SUBRC NE 0.
    MESSAGE E001(ZSD_MES).
    EXIT.* ENDIF.ELSE.
    DO.
    READ DATASET FILE INTO Wa_TAB.
    append wa_tab to IT_TAB.
    IF SY-SUBRC <> 0.
    EXIT.
    ENDIF.
    ENDDO.
    clear wa_TAB.
    LOOP AT IT_TAB into wa_tab.
    CASE wa_tab-COL.
    WHEN '0001'.
    WA_TAB2-PLANT = wa_tab-VALUE.
    WHEN '0002'.
    WA_TAB2-STGE_LOC = wa_tab-VALUE.
    WHEN '0003'.
    WA_TAB2-MATERIAL = wa_tab-VALUE.
    WHEN '0004'.
    WA_TAB2-QUANTITY = wa_tab-VALUE.
    WHEN '0005'.
    WA_TAB2-BASE_UOM = wa_tab-VALUE.
    WHEN '0006'.
    WA_TAB2-COSTCENTER = wa_tab-VALUE.
    ENDCASE.
    AT END OF ROW.
    APPEND WA_TAB2 TO IT_TAB2.
    CLEAR WA_TAB2.
    ENDAT.
    clear wa_tab.
    ENDLOOP.
    ENDIF.
    CLOSE DATASET FILE.
    ENDFORM. " application_server
    Refer here:[How to Read Excel file from Application or Presentation Server and Download into Internal Table. |https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/how%252bto%252bread%252bexcel%252bfile%252bfrom%252bapplication%252bor%252bpresentation%252bserver%252band%252bdownload%252binto%252binternal%252btable.]

  • How to connect Forms 5.0.6.0.8 to Oracle 8i?

    Please somebody let me know the step by step procedure to create the connection of Developer 2000 Forms 5.0.6.0.8 with the local database(Client & Server both same machine)'
    I managed to connect to the database using 'SQL Net 8 Easy Config'.
    My problem is with 'SQL Net easy config'
    Although I make a connection with 'SQL Net easy config', when the machine restarts It gives the error 'STRTDB80.EXE has encountered a problem and needs to close. We are sorry for the inconvenience'
    My Operating System is Windows XP Professional 2003.
    I had been trying hard to correct this problem for the past 3 weeks. Please, Please somebody help me with this.
    I'm new to Oracle.
    Thanks,
    Sujeevanie

    Hello Abdul,
    This should help you
    How to connect IDES ECC 5.0 to EP ?
    Also check
    http://help.sap.com/saphelp_nw04/helpdata/en/77/931440a1c32402e10000000a1550b0/frameset.htm
    regards
    Mahesh

  • How to connect Photosmart C4795 to Wireless Network - Mac OSX 10.8.4

    I am desperately confused here!  When I bought the printer 2-ish years ago I was able to set it up and have it connected to my network no problem.  Since then I have moved and updated my OS to Mountain Lion and lost my installation CD.  As of now, this is where things stand.
    When I turned the printer on and connected it to my iMac via the USB cable, the computer found it and installed it with no issues.  I can print with no issues when the USB cable is plugged in.  
    Using the printers built in display, I have run the HP Network Configuration and the Wireless Network Test.  The printer can see my network, but it won't connect to it.  I have no bloody idea where I need to go to enter my network password so the printer can get online.  
    I've manually downloaded the HP Driver found at http://support.apple.com/kb/DL907  and that put the HP Utility on my computer (which was already there) but I don't see any place in the utility software that would let me enter my network password or even configure network settings for the printer. 
    My router is an Apple Airport Extreme, and the firmware is up to date.  Everything on my computer seems to be up to date.  I just cannot for the life of me figure out how to get this thing online.  Any help would be greatly appreciated =)

    Yup, there is no way to install your printer using OS X 10.8, sorry.
    However, there are alternatives.  Here is the easiest way:
    1. On the front of the printer: Setup [Scan] > Wireless > Restore Defaults.
    2. In the same Wireless menu, start WPS Pushbutton.
    3. On your Mac go to Applications > Utilities > Airport Utility.  Choose your Airport and click Edit.
    4. In the menu bar at the top of your screen go to Base Station > Add WPS Printer.
    5. Choose the FIrst Attempt mode, then Continue.
    Now your printer should be connected to your wireless network.  Next, go to System Prefs > Print & Scan, click the '+' sign to add your printer.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • How to Connect SbRIO to Host using NEtwork Stream

    Hi,
    I am using a program to transfer data from the PC to the Starter Kit using NEtwork Streams.Can anybody tell me how the IP of the PC / SbRIo should be configured in order to connect successfully.

    Hey,
    The first thing to do is make sure that the sbRIO can been seen in MAX under Remote Systems.  There is lots of info on the web for connecting cRIO which will be the same for a sbRIO.  Try these:
    Install NI LabVIEW, LabVIEW Real-Time and FPGA Modules, and NI-RIO Driver
    Assemble Your NI CompactRIO System
    Configure Your NI CompactRIO System for First Use
    Configure NI CompactRIO for DHCP
    Configure NI CompactRIO With a Static IP Address
    Install Software on Your NI CompactRIO Controller
    Introduction to NI LabVIEW
    Lewis Gear CLD
    Check out my LabVIEW UAV

  • How to connect extreme to an office network

    Hi Folks,
    Do you any of you know if it is possible to connect the Airport Extreme to an office network?
    If so, how would this be done?

    Not sure what you mean by office network. Is this a network that someone else has set up and administers?
    If yes, you would need to check with the network administrator to see whether or not a router like the AirPort Extreme would be allowed to connect to the network.
    If yes, the AirPort Extreme would need to connect using an Ethernet cable from the WAN "O" port on the AirPort Extreme to an available Ethernet port on the network.
    You don't mention what service you want the AirPort Extreme to provide. What might that be?

  • How to connect Apple TV to wireless network needing two passwords?

    The device will connect initially just fine, and I type in the first password and it connects. The issue with the network is that after typing in the initial password you need to open a web browser to type in a second password, kind of like some hotels require you to do. I read somewhere that you can call the internet provider and have them add your MAC/wifi address for your Apple TV straight into the network for connection, so my apartment manager called the internet provider to do so, but claims they won't do such a thing.
    Anyone have a different solution? Connection through a computer or external device? I don't have a clue what else could be possible since my computer/phone can see my Apple TV but the Apple TV can't see other devices because it's not actually connected to the internet. I'm out of options!
    Help is much appreciated, thank you!!!

    https://www.google.dk/search?client=opera&q=internet+sharing+in+osx&sourceid=ope ra&ie=UTF-8&oe=UTF-8
    it take a bit of skills and knowledge to setup
    so read up on it and give it a go
    or give up
    or ask somebody you know who got some skills to show you

Maybe you are looking for

  • I have an iPad 2 and would like to know how to download photos on iPad to an external memory card for printing purposes

    I have an iPad 2 and have quite a lot of photos stored on the device. I would like to be able to download them onto an SD Card or a memory stick which would then allow me to go to a print shop and print out some hard copy prints of the photos I requi

  • Appending  a list in a textarea problem

    Hi im new too java as you will probably guess from my problem but anyway. Im writing an application that needs to output a dynamic list to textarea that is affected by buttons that increase and decrease the number of items next to the item in questio

  • Can any Ringtone be set to be ascending?

    I prefer an ascending ringtone but do not like the Ascending ringtone on the iPhone. Does anyone know if there is any way to set any ringtone to be ascending?

  • MULTI PXI CHASSIS

    Dear All, Based on my requirement i wanted to use 8 modules of NI PXI-6238. I thought to use 9-slot chassis with Processor and 8 modules of NI-PXI-6238, However, the PXI Advisor did not allow me to insert 8 modules of the above type (Reason unknown).

  • For direct activation of hierarchy, Aggregates have to be deactivated

    Hi, There are 2 monthly master data hierarchies loaded. We face some problem while loading the hierarchies. Now the 2 hierarchies are seen as Modified version. When I try to activate the hierarchies manually I receive the below message "For direct ac