3 range parameter query to Oracle data base from Excel 2000

A user bas been trying to setup parameter queries into an Oracle
DB. He normally used MS query and written VBA code to
modify the query for daily or adhoc updates.
With Excel 2000, he wanted to take advantage of parameter
queries linked directly to cells in a spreadsheet.
He was able to get single or two level parameter queries
directly linked to the spreadsheet to run, however every time he
went to a
three level parameter query it crashed while returning the data
to Excel.
The error windows read: Microsoft Excel [Oracle][ODBC] with no
other details.
Is there a limit on the number of "levels" for parameter
queries.
The user was able to build and see the results of a three level
query in MS Query, but every time he tried to return the data to
Excel, it crashed.
Jeff

This is an Microsoft Access problem. When you initally connect
to an ODBC source database Access caches the connection and does
not ask for connection information on subsequent linked table
accesses. This causes a problem if you request information from
tables belonging to different users during the same Access
session. The way to avoid this error happening is to create a
user with access privileges to both users being used by the
Access front end. When you connect to Oracle use the new user
and you should be able to connect to all the linked tables. It
may also be worth copying the Access databases to one single
database and trying the migration that way.
Regards
Daniel

Similar Messages

  • Access non-Oracle data base from Oracle Data base?

    Hi,
    I have a system using Oracle data base but i have to query some data in
    Access data base called TA_2008.mdb for specific table called FPTrans
    My oracle database SID=Ahmed10g my schema is attend/attend.
    I have tried to use the Heterogenous Services Generic Connectivity Agents .
    I think i have to build the ODBC driver for Access database not for oracle and specify the Access DB name
    But i built the driver for oracle.
    Please clear the steps for me and correct me if i am wrong .......................
    1. Create ODBC driver [microsoft ODBC for Oracle] as File Data Source Name =attendoraclefds
    user : attend
    password : attend
    Server :ahmed10g
    2. create intilization Parameter file in the path D:\oracle10gDB\product\10.2.0\db_1\hs\admin
    called : initATTENDORACLEFDS.ora
    CONTAINS PARAMETERS:
    HS_FDS_CONNECT_INFO=FILEDSN=attendoraclefds
    HS_FDS_TRACE_LEVEL=ON
    3. Edit TNSname.ora file :
    attendoraclefds =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = awahaishi_lptp.sepocye.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = attendoraclefds)
    (HS = OK)
    4. Edit Listener.ora file :
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM = extproc)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle10gDB\product\10.2.0\db_1)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = attendoraclefds)
    (ORACLE_HOME = D:\oracle10gDB\product\10.2.0\db_1)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = awahaishi_lptp.sepocye.com)(PORT = 1521))
    5. Restart the listener
    6. create the data base link:
    CREATE DATABASE LINK accessDB
    CONNECT TO attend IDENTIFIED BY attend
    USING 'attendoraclefds';
    select * from EMP_JOBS@accessDB;
    Error occures say :
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-28541: Error in HS init file on line 9.
    ORA-02063: preceding 2 lines from AAL
    Edited by: StillYoung on Mar 18, 2009 1:10 AM

    Please see if the following link is helpful:
    a question about transparent gateway,sb help me plz!!

  • Need to copy CMS data base from MySQL to oracle

    Hi,
    Right now our CMS data base is My SQL and we are planning to use oracle db as CMS data base. For that we will copy all CMS tables from My SQL to oracle. But I am not sure whether we can copy My SQL db to oracle db using copy option of script cmsdbsetup.sh.
    Below are my environment details:
    ============================================
    Product: BO XI R3.1
    OS: Linux
    CMS DB: My SQL
    Aplication server: Aapche-Tomcat
    ============================================
    Let me know whether I can copy CMS My SQL data base into Oracle data base using copy option of cmsdbsetup.sh script.
    Thanks,
    Swapnil Rodge.

    hillelhalevi wrote:
    I don't have TOAD nor any other tool for querying the database.  I'm wondering how I can load a large data set from an Oracle table onto my desktop using Excel or Access or some other tool using ODBC or not using ODBC if that's possible.  I need results to be in a .csv file or something similar. Speed is what is important here.  I'm looking to load more than 1 million but less than 10 million records at once.   Thanks.
    Use Oracle's free Sql Developer
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    You can just issue a query like this
    SELECT /*csv*/ * FROM SCOTT.EMP
    Then just save the results to a file
    See this article by Jeff Smith for other options
    http://www.thatjeffsmith.com/archive/2012/05/formatting-query-results-to-csv-in-oracle-sql-developer/

  • I need to download data from Oracle data base into a Excel spread sheet

    I need to download data from Oracle data base into a Excel spread sheet.
    Any input will be appreciated.

    Goes something like this:
    1) create an ODBC connection (on NT/WIN: ODBC DATA SOURCES in the control panel, create a USER DSN.
    2) in EXCEL-menu: DATA->GET EXTERNAL DATA->CREATE NEW QUERY. In the wizzard you will see the DSN created in the previous step. Select that source.
    3) follow the wizzard.
    Hope this does any good...
    Regards,

  • How to export a data as an XML file from oracle data base?

    could u pls tell me the step by step procedure for following questions...? how to export a data as an XML file from oracle data base? is it possible? plz tell me itz urgent requirement...
    Thankz in advance
    Bala

    SQL> SELECT * FROM v$version;
    BANNER
    Oracle DATABASE 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS FOR 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    5 rows selected.
    SQL> CREATE OR REPLACE directory utldata AS 'C:\temp';
    Directory created.
    SQL> declare                                                                                                               
      2    doc  DBMS_XMLDOM.DOMDocument;                                                                                       
      3    xdata  XMLTYPE;                                                                                                     
      4                                                                                                                        
      5    CURSOR xmlcur IS                                                                                                    
      6    SELECT xmlelement("Employee",XMLAttributes('http://www.w3.org/2001/XMLSchema' AS "xmlns:xsi",                       
      7                                  'http://www.oracle.com/Employee.xsd' AS "xsi:nonamespaceSchemaLocation")              
      8                              ,xmlelement("EmployeeNumber",e.empno)                                                     
      9                              ,xmlelement("EmployeeName",e.ename)                                                       
    10                              ,xmlelement("Department",xmlelement("DepartmentName",d.dname)                             
    11                                                      ,xmlelement("Location",d.loc)                                     
    12                                         )                                                                              
    13                   )                                                                                                    
    14     FROM   emp e                                                                                                       
    15     ,      dept d                                                                                                      
    16     WHERE  e.DEPTNO=d.DEPTNO;                                                                                          
    17                                                                                                                        
    18  begin                                                                                                                 
    19    OPEN xmlcur;                                                                                                        
    20    FETCH xmlcur INTO xdata;                                                                                            
    21    CLOSE xmlcur;                                                                                                       
    22    doc := DBMS_XMLDOM.NewDOMDocument(xdata);                                                                           
    23    DBMS_XMLDOM.WRITETOFILE(doc, 'UTLDATA/marco.xml');                                                                  
    24  end;                                                                                                                  
    25  /                                                                                                                      
    PL/SQL procedure successfully completed.
    .

  • Load data from xml file in oracle data base

    Hi all,
    I'd like to know if is posible to load data from a file xml into a table of oracle data base through SQL*LOADER, loaded only in a normal column no with type XMLType , for example
    I have a xml file
    <person name="kate" surname="fari" city="new york" >
    <son name="faus" age="18"/>
    <son name="doly" age="10"/>
    </person>
    and I load in table :
    table :person
    column
    name surname city
    kate fari new york
    table : son
    name age
    doly 10
    faus 18
    thank you for your return !!!!!!!!!
    Ninova
    Edited by: user10474037 on 30 mai 2011 08:47
    Edited by: user10474037 on 30 mai 2011 08:48
    Edited by: user10474037 on 30 mai 2011 08:48
    Edited by: user10474037 on 30 mai 2011 08:49
    Edited by: user10474037 on 30 mai 2011 08:50

    Hi
    This May be found at
    SQL Loader to upload XML file

  • Using R function on Oracle data base

    for using R, I only can use Oracle data mining algorithms or I can use R function like social network in Oracle data base?

    Oracle Advanced Analytics provides multiple language (SQL, R and if we include GUIs, Oracle Data Miner workflow UI) support to the in-DB analytics. Using SQL, R or the ODM'r GUI, you can access a library of simple descriptive, summary and coparative statistics that have been implemented in the Oracle Database + a dozen hi-perf in-DB data mining algorithms (e.g. regression, decision trees, text mining, clustering, associations, anomaly detection, etc.) and solve a wide range of business and technical problems.
    Should you require additional techniques e.g. R CRAN packages, then Oracle Advanced Analytics supports that through R to SQL transparancy where it "pushes down" R language intentions to matching in-DB SQL functions e.g. ETL, stats and data mining OR it can make a callout to R via "embedded R mode" and have the Database manage the flow of data and the process.
    There is an OTN Discussion Forum that focuses entirely on the "R" aspects of the Oracle Advanced Analytics Option. I suggest that you re-post your questiion here R Technologies for additional discusssions and for the benefit of that Oracle Advanced Analytics/Oracle R Enterprise OTN forum/community.
    cb

  • Abnormal increase in the oracle data base of XI dev

    Hi Experts,
    The size of the oracle data base for SAP-XI is increased by 9% abnormally in 1 day, where as 1% increase in the oracle data base size normally takes 1 to 2 weeks.
    What could be the problem? Please give me some links or some idea how to check to know what causes this problem.
    Thnx
    Subbu

    Hi Rama
    You should look out for big tables. You can do this in transaction DB02 -> Detailed Analysis -> Size / Kbyte > 100000
    This will give you all segments larger than 100mb. In an XI system the messages are stored in table XI_AF_MSG. It is also possible that your largest segment is a lob segment. You will then see something like SYS_LOB0000039303C00020$$.
    To see which table it is just use this SQL:
    [code]SQL> select table_name from dba_lobs where SEGMENT_NAME = 'SYS_LOB0000039303C00020$$';
    TABLE_NAME
    XI_AF_MSG[/code]
    In DB02 you can also select the segment and view its history to make sure it is responsible for the database growth.
    Best regards, Michael

  • Can you use SQL Developer against non Oracle data bases?

    If so, then how do you define the connection for non Oracle data bases?

    Look, SQL Developer has got to be a 'gateway' into Oracle DBs from other databases. JDBC allows simple introspection and execution of SQL commands. So the 'explain' button won't be available, or some of the DDL stuff, big deal! Let them get a taste of what they are missing by not having an Oracle database.
    If we can get non-Oracle developers (especially MS SQL Server) to use SQL Developer it will expose them to the superiority of the Oracle DB server.
    If they have heterogenous services installed they are already an Oracle customer -- we have little additional DB server sale opportunity there. SQL Developer is a really sweet tool and it could be a real draw into the DB server sales.
    SQL Developer must be easily usable by non-Oracle customers in order to help us sell the DB server to them!

  • Auto Reconnection of Oracle Tuxedo 11.1.1.2.0, 64-bit to Oracle Data Base

    Hi Dear,
    We have Recently Migrated to Oracle Tuxedo 11.1.1.2.0 Running on RHEL 6.3 and connecting Oracle Data Base 11.0.2.0.
    We are informed by the Oracle Tuxedo Support that This tuxedo version Automatically re-connects to the oracle database once the Data base is rebooted.
    Because of the above impression we removed all our reconnection code from our applications.
    But unfortunately the servers are not automatically re-connecting to Oracle DB.
    Can you Please let us know, whether really this version automatically re-connects to Oracle DB??
    If Yes, How?? I mean is there any specific configuration to be done on Tuxedo??
    Thanks in Advance .... :)
    Rgds,
    Plaban

    Plaban,
    There are two ways to manage connections to Oracle Database (or any other XA compliant resource manager) with Tuxedo.
    One way is to use the XA interface. This involves spcifying information about the resource manager in $TUXDIR/udataobj/RM, building TMS servers linked with the resource manager, using the "-r rmname" option on buildserver, and specifying the TMS server names and an OPENINFO string *GROUPS section of the UBBCONFIG file.  When this option is chosen, application servers will not contain any logic to connect to or disconnect from the database and appllication servers will not contain any SQL statments to COMMIT WORK or ROLLBACK WORK.  All of this will be managed by Tuxedo.  If an XA call indicates that the resource manager is unavailable, Tuxedo will try to reconnect to the resource manager when subsequent tranasctional requests are received.  (Note that if a server in an XA-associated group receives requests outside of transaction mode, then Tuxedo will not issue any XA calls and will not know if there are any problems with the database.  You can specify AUTOTRAN=Y if you want to ensure that requests to certain services are processed in transaction mode.)
    In releases prior to Tuxedo 11.1.1.2.0, it was necessary to set the TUXWA4ORACLE environment variable for this automatic reconnection to work when using Tuxedo with Oracle Database. (This was due to different interpretations of the XA standard back when BEA and Oracle were separate companies.) Starting with Release 11.1.1.2.0, it is no longer necessary to set TUXWA4ORACLE when using Oracle Database with Tuxedo.
    There are also special considerations when using Tuxedo with Oracle Real Application Clusters, as described at http://docs.oracle.com/cd/E35855_01/tuxedo/docs12c/ads/adorac.html .
    The other way to use Tuxedo with a database is to not use the XA interface and to manage connections to the database in the application. If this is done, then the application needs code to connect, disconnect, and reconnect to the database and to commit or rollback work where appropriate. If the XA interface is not used, then Tuxedo will not have any involvement with connection or reconnection to the database.
    Regards,
    Ed

  • Importing music, artwork and data base from external hard drive

    I purchased a MacBook to use primarily as a music server. I have an external hard drive with over 300GB of music files ripped from CDs in Apple Lossless with a computer using Windows XP. I also have another external hard drive formatted for the Mac. My goal is to attach both drives to the MacBook via USB and transfer the music files, album art, and iTunes data base from the Windows system hard drive to the new Mac formatted hard drive. Then I am going to reformat the Windows system hard drive to the Mac format and use it as a back up for the other hard drive. Has anyone ever done something similar? If so, I would appreciate some guidance. If possible, I want to do the above so that the file names and artwork from the Windows itunes system do not get changed or left out when making the transfer to the Mac system. All music files will still be in ALAC. Thanks to all for your help.

    Lots of programs out there from which to choose. In the meantime, don't access the drive.
       18 Free Data Recovery Software Tools
    -Jerry

  • PLEASE REPLY ASAP.Unbale to connect to oracle data base using JSP.

    hi,
    I am not able to connect to oracle data base using JSP. PFB the code and out put.
    <html>
    <!--Importing the Packages-->
    <%@ page import = "java.sql.*" %>
    <body>
    <%
    try
         out.println("hi<br>");
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci:@xxx.xxx.xx.xxx:xxxx:flstr800","user","paswordd");
         out.println("connected<br>");
    catch (SQLException e)
    out.println("ERROR: failed to connect!");
    out.println("ERROR: " + e.getMessage());
    e.printStackTrace();
    return;
    %>
    </body>
    </html>
    OUTPUT:
    hi
    ERROR: failed to connect! ERROR: No suitable driver found for jdbc:oracle:oci:@host:port
    Please guide me on this issue.
    Edited by: user10997061 on Apr 10, 2009 4:27 AM

    I definitely do not know much about JSP but
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
    indicates
    <quote>
    This URL connects to the same database using the the OCI driver and the SID inst1 without specifying the username or password.
    jdbc:oracle:oci:@myhost:1521:inst1
    <quote>
    I do not see the port information in your connect string. Is that an issue?

  • How to access Oracle Data Base on Unix using Visual Basic ?

    Hi !
    I want to use visual basic and access the Oracle Data Base on Unix server. How can i do that ? Do i need any software?
    .Prashant

    You need an oracle client installation and setup your TNS names.

  • Can I recover my data information from excel file?

    For any reason I already lost (clear all) my data information, have any option where import the data information from excel file to view responses sheet? or , how, can I recover my data information?
    Antonio

    If you had saved your Excel file, then you may revert the Excel file to the last saved version. Follow below steps to do this:
    On the File tab, click Open.
    Double-click the name of the file that you have open in Excel.
    Click Yes to reopen the Excel file.
    If you had not saved Excel file, then follow below steps to recover your file.
    Click the File tab.
    Click Recent.
    Click Recover Unsaved Workbooks.

  • Date conversion from Excel to the SAP format

    Hi,
    I have created a BDC program which uploads daat from Excel sheet.
    There is a date field also, the format of which can be any as per the end user (it will be one of those allowed by SAP).
    However, the file will be used for execution by another user who may have a date setting which is different than that from the one in Excel.
    Eg. End User's date format: DD.MM.YYYY, SAP User's date format: MM/DD/YYYY
    So, how do I convert the date format from excel to the format which will be accepted by the transaction during the recording?
    Regards,
    Dave

    Hi Dave,
    I have faced the same issue while uploading the date to the bdc.
    if ur date format is DD.MM.YYYY in the excel file, first of all you need to change this to dats format ie YYYYMMDD ie character8 format and pass to the bdc, it will automatically convert to sap format
    ie you need to convert splitting at .
    data lv_date type char10,
            lv_dd type char02,
            lv_mm type char02,
           lv_yyyy type char04,
    v_date type char08.
    lv_date = '30.12.2011'.
    split lv_date at '.' into lv_dd lv_mm lv_yyyy.
    if strlen(lv_dd) lt 2.
       concatenate '0' lv_dd into lv_dd.
    endif.
    if strlen(lv_mm) lt 2.
       concatenate '0' lv_mm into lv_mm.
    endif.
    concatenate lv_yyyy lv_mm lv_dd into v_date.
    "Please use the variable V_DATE to populate to ur bdc"
    Edited by: Rahul Babukuttan on Aug 11, 2011 5:35 PM

Maybe you are looking for

  • Where to look for info about creation of a complex web site ?

    I'm more of an artist and graphic designer than web site creator but one of my clients now want to have what I believe is a very complex enterprise level web site for e-commerce. They have a fairly clear idea in terms of user experience and features

  • Active directory issue

    This is the replication status for the following directory partition on this directory server.  Directory partition: DC=ForestDnsZones,DC=shankarpack,DC=com  This directory server has not received replication information from a number of directory se

  • Business Objects Level

    Hi Experts, I heard ESOA is different from R/3 in such a way that there are no tables but Business Object levels Example : (SAP TMS standalone system). I am not able imagine any transaction or postings not going to tables in SAP. Kindly somebody thro

  • How to disable International Data Roaming

    Today I connected to wireless data service from my Samsung Tab from India unintentionally and without being aware of the extremely high cost of such usage.  I got an email alert and estimated charges of $ 81.92 for merely 3.53 MB.   More expensive th

  • SHOCKWAVE PLAYER CRASH MANY TIME!

    this is my first time my shockwave crash ever since i update my adobe flash player10 plugin...it also effect my google chrome performane. i cant play games cause of it...can you help me recover it to normal pls..?