Convert from oracle to access

Dear all,
Is there any tool to convert from oracle to access?
Thanks for advance !
chara

I will describe two ways here.
1) By toad
Toad outputs the result in a grid. You can save it as csv file and then can import in access database.
2) By sql* plus spooling
SQL> set heading off
SQL> spool dept.txt
SQL> select 'Dept Number,Dept Name,Location' from dual
2 union all
3 select deptno||','||dname||','||loc from dept;
SQL> spool off
Now you got dept.txt as csv file. Import this file in access database.

Similar Messages

  • MOS Document:  Convert from Oracle to MySQL

    An Oracle tech just pointed out this note:
    Oracle VM Manager 3.2.1 database Migration from Oracle RDBMS to or from MySQL (Doc ID 1522460.1)
    Good stuff!
    Rob

    I will describe two ways here.
    1) By toad
    Toad outputs the result in a grid. You can save it as csv file and then can import in access database.
    2) By sql* plus spooling
    SQL> set heading off
    SQL> spool dept.txt
    SQL> select 'Dept Number,Dept Name,Location' from dual
    2 union all
    3 select deptno||','||dname||','||loc from dept;
    SQL> spool off
    Now you got dept.txt as csv file. Import this file in access database.

  • Migrate schema from oracle to access

    Hello everybody !
    i need to migrate the schema(only tables) from an oracle db to access.
    the migration workbench can do that ?
    thank you regards.

    No, it can't.
    I think you are on the wrong forum. Also think that nobody ever from Oracle will invest time in developing something for helping users to migrate FROM oracle....
    Try Microsoft's forum ;)

  • Convert from Oracle to Paradox

    How is the best way to convert an Oracle 8.1.7 database to Paradox 7 db ?
    Are there any tool available that will be able to do this ?
    I know I can create scripts to create the tables and import the data. But because the datatypes is not similiar, it will not be that straightforward.
    Regards
    Karen

    I can also convert to DBase - if anybody have a solution for that .....

  • Problem using "CASE" (trying convert from IIF in access)

    I try convert a function IIF from ACCESS, replacing "IIF" for a "CASE", and get me a error in "SELECT line 19", can any1 help me ?
    PROCEDURE  [GetInfo_ASN] 
    @P1 smalldatetime     -- Data de Entrada
    AS
    BEGIN
      SET NOCOUNT ON;
    SELECT 
      dados.dbo.GVAL_PEDIDOS.AVAP_Id AS [Reg SIGA], 
      dados.dbo.GVAL_BEM.AVAB_Codigo AS [Cod Bem], 
      select case when (SUBSTRING([dados.dbo.AVAB_Codigo],5,1)="0")
                  then Right([dados.dbo.AVAB_Codigo],6)
     else (SUBSTRING([dados.dbo.AVAB_Codigo],5,1) & Right([dados.dbo.AVAB_Codigo],6))
             end as [UE/UL],
      dados.dbo.GVAL_PEDIDOS.AVAP_dtEnvio AS [Dt Envio], 
      dados.dbo._FREGUESAS.F_Distrito AS Distrito, 
      dados.dbo._FREGUESAS.F_Concelho AS Concelho
    FROM (dados.dbo.GVAL_PEDIDOS INNER JOIN dados.dbo.GVAL_BEM 
    ON GVAL_PEDIDOS.AVAP_Codigo = GVAL_BEM.AVAB_Codigo) INNER JOIN _FREGUESAS 
    ON GVAL_BEM.AVAB_DCF = _FREGUESAS.F_Codigo
    WHERE (((GVAL_PEDIDOS.AVAP_dtEnvio)>=@P1) 
          AND ((GVAL_PEDIDOS.AVAP_Status)=7) 
          AND ((GVAL_PEDIDOS.AVAP_Origem)='7521'));

    Remove the SELECT in front of your CASE Expression, then it should work =>
    PROCEDURE [GetInfo_ASN]
    @P1 smalldatetime -- Data de Entrada
    AS
    BEGIN
    SET NOCOUNT ON;
    SELECT
    dados.dbo.GVAL_PEDIDOS.AVAP_Id AS [Reg SIGA],
    dados.dbo.GVAL_BEM.AVAB_Codigo AS [Cod Bem],
    case when (SUBSTRING([dados.dbo.AVAB_Codigo],5,1)="0")
    then Right([dados.dbo.AVAB_Codigo],6)
    else (SUBSTRING([dados.dbo.AVAB_Codigo],5,1) & Right([dados.dbo.AVAB_Codigo],6))
    end as [UE/UL],
    dados.dbo.GVAL_PEDIDOS.AVAP_dtEnvio AS [Dt Envio],
    dados.dbo._FREGUESAS.F_Distrito AS Distrito,
    dados.dbo._FREGUESAS.F_Concelho AS Concelho
    FROM (dados.dbo.GVAL_PEDIDOS INNER JOIN dados.dbo.GVAL_BEM
    ON GVAL_PEDIDOS.AVAP_Codigo = GVAL_BEM.AVAB_Codigo) INNER JOIN _FREGUESAS
    ON GVAL_BEM.AVAB_DCF = _FREGUESAS.F_Codigo
    WHERE (((GVAL_PEDIDOS.AVAP_dtEnvio)>=@P1)
    AND ((GVAL_PEDIDOS.AVAP_Status)=7)
    AND ((GVAL_PEDIDOS.AVAP_Origem)='7521'));
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Connect from Oracle to Access, what am I doing wrong????

    Hi,
    I'm tying to establish a connection from an Oracle 8.1.7.0.0. Database to an MS Access database,. I'm folowing the exact steps as described in the Oracle documentation, but still I can't get a connection.
    I have the folowing environment:
    Here's what i did. DOES ANYONE KNOW WHAT I'M MISSING?? (i already checked wheter the right Oracle software for odbc support has been installed)
    * Created a system DSN (called farmabc) for the concerning .mdb file using ODBC 'Data Source Administrator'
    * Created a file called initfarmabc.ora file in the ORACLE_HOME/hs/admin directory. This file contains the following: HS_FDS_CONNECT_INFO = farmabc
    * added the folowing statement to the listener.ora file (under SID_LIST_LISTENER):
    (SID_DESC=
    (SID_NAME=farmabc)
    (ORACLE_HOME=D:\oracle817)
    (PROGRAM=farmabc)
    * Added the folowing entry to the tnsnames.ora file:
    farmabc= (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=<hostname>)
    (PORT=1521))
    (CONNECT_DATA = (SID=farmabc))
    (HS = OK))
    * Restarted the listener
    * Restarted the database (just to be sure)

    I'm not particularly familiar with Heterogenous Services, but there is a Heterogenous Services/ Generic Connectivity forum here on OTN. The folks over there are much more likely to have some helpful information for you.
    Justin

  • Connecting from Oracle to Access, what am I doing wrong??

    Hi,
    I'm tying to establish a connection from an Oracle 8.1.7.0.0. Database to an MS Access database,. I'm following the exact steps as described in the Oracle documentation, but still I can't get a connection.
    I have the folowing environment:
    Here's what i did. DOES ANYONE KNOW WHAT I'M MISSING?? (i already checked wheter the right Oracle software for odbc support has been installed)
    * Created a system DSN (called farmabc) for the concerning .mdb file using ODBC 'Data Source Administrator'
    * Created a file called initfarmabc.ora file in the ORACLE_HOME/hs/admin directory. This file contains the following: HS_FDS_CONNECT_INFO = farmabc
    * added the folowing statement to the listener.ora file (under SID_LIST_LISTENER):
    (SID_DESC=
    (SID_NAME=farmabc)
    (ORACLE_HOME=D:\oracle817)
    (PROGRAM=hsodbc)
    * Added the folowing entry to the tnsnames.ora file:
    farmabc= (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=<hostname>) --cannot reveal hostname
    (PORT=1521))
    (CONNECT_DATA = (SID=farmabc))
    (HS = OK))
    * Restarted the listener
    * create database link test using 'farmabc' (in SQL*plus)
    * when I ty to select data from a table within the Access database I get the folowing error:
    ORA-12154: TNS:could not resolve service name
    Setting tracing on in the initfarmabc.ora file does not generate any logging!!
    Does anyone know what's the problem here?????
    Thanx in advance

    hi
    I suggest u simple method to resolve your TNS error.
    gotto access db
    select any db
    click 'file'
    right click 'get external data'
    click 'link tables'
    select files of types='odbc'
    noe click 'machine data source'
    click 'new'
    select 'user data source' & click 'next'
    use scroll & select 'Oracle in Oracle page' & click 'next' & 'finish'
    now
    In data source name= 'give any name'
    description='give any name'
    TNS service name = select globaldb after clicking the combo box
    user id ='type user name'
    after doing all these now click the 'Test connection' , if it succeeds,yes u have overome from the TNS error.
    You can choose the same globaldb for the TNS service name.
    -bala

  • Convert from Oracle Freeware to Licensed version

    Good day,
    We have a development database on Oracle9i and our Dev Team wants us (urgently) to migrate it to Oracle10g R2. We are planning to use the OTN License version while we are waiting for the license.
    My question is, is their a way/shortcut to convert the OTN License version to a licensed version without having to remigrate the database? Any info will be appreciated. Thank you.

    Good day,
    We have a development database on Oracle9i and our
    Dev Team wants us (urgently) to migrate it to
    Oracle10g R2. We are planning to use the OTN License
    version while we are waiting for the license. Apparently your legal department has not haad a chance to see the Oracle License agreement. The Oracle9i license you used was for Prototype and evaluation, not for Development.
    My question is, is their a way/shortcut to convert
    the OTN License version to a licensed version without
    having to remigrate the database? Any info will be
    appreciated. Thank you.It's exactly the same software. The Oracle License is simply a 'permission to use the software under certain circumstances'. There is absolutely no change in what you are doing.
    Well, not quite .... when you license the software properly for development and production, you have nthe opportunity to purchase support. So the big change is that you will be able to get and apply patches.

  • Export Images from ORACLE to ACCESS

    Hi,
    i stored some image data as LONG RAW and have to export that data to ACCESS-DB. How can i do that.
    An import into ACCESS via ODBC is not possible.
    Thanks
    Astrid

    Dear all.
    normaly I prefere to use that OTN-Forum because i get an answer very quick. But now i didn't get an answer since 2 days. Is the reason because i have to download data to another product than ORACLE?
    I'm an ORACLe Customer since more than 15 years. That request is an exception. I hope i can show my customer that i can do everything i want with ORACLE! So please give me some hints.
    Thanks a lot
    Astrid

  • Transfere from Oracle to Access

    HI
    I have took an exported file for one table and I want to import it in Access database.
    Is there any way to do that,If yes ,How can I do that?
    bye

    user1089169 wrote:
    HI
    I have took an exported file for one table and I want to import it in Access database.
    Is there any way to do that,If yes ,How can I do that?
    byeIf by "exported file" you mean a file created by oracle export utilities (exp or expdb), then the answer is no. That file is oracle propriatery format, recognized only by the complementary oracle import utility (imp or impdp).
    Access can connect directly to Oracle via ODBC, allowing you to create either an imported or linked table.

  • Converting from Oracle Express Objects to Standard Form

    Hi,
    I have create an EIF file from our Oracle Express database, then I have created an Analytic Workspace and imported the EIF file. After this I identify the Time dimensions. But when I want to identify the hierarchie dimension of each time dimension, it brings an Error: "ORA-34492: Analytic Workspace Object Jan96 does not exists", but when I look in the OX there exists the object. Where is the problem?
    Thanks Diana

    Did you run the conversion program listed in the documentation:
    If your Express database contains Oracle Express Objects metadata (that is, it was created by Oracle Express Administrator), then you can use a conversion program named CREATE_DB_STDFORM. Without Oracle Express Objects metadata, CREATE_DB_STDFORM cannot generate sufficient standard form metadata for the OLAP tools to work.
    This should generate the required metadata but you will not to create some additional attributes to correctly manage time as the conversion utility does not do everything for you:
    If you want to perform time-based analysis on your data, you must identify all time dimensions and populate end date and time span attributes before using CREATE_DB_STDFORM. A sample program is provided in this appendix:
    Create date and time span attributes for each dimension.
    DEFINE TIME_TIME_SPAN VARIABLE INTEGER <timedim hierdim>
    PROPERTY 'USERDATA' FALSE
    DEFINE TIME_END_DATE VARIABLE DATE <timedim hierdim>
    PROPERTY 'USERDATA' FALSE
    Populate the end date and time span attributes, as described in "Populating Time Attributes".
    Set properties on the Time dimension:
    CONSIDER timedim
    PROPERTY 'END_DATE' attribute_name
    PROPERTY 'TIME_SPAN' attribute_name
    The END_DATE and TIME_SPAN values (attribute_name) identify the names of the variables that you just created.
    Run the conversion tool with a command like this:
    CALL CREATE_DB_STDFORM('aw')
    Refer to the syntax description in "CREATE_DB_STDFORM Syntax". After the conversion tool completes successfully, save the changes:
    UPDATE
    COMMIT
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Why data change in linked table in Access - link from Oracle DB

    Can someone please help me to solve this situation? I try to find out why data is changed from Oracle to Access. I must come back to this thread because lot of data in my Oracle database is defined as NUMBER(22), and I am using Access heavily.
    Here is the problem:
    In Access, I created ODBC connection (System DSN) to Oracle 9.2 database by using Oracle driver (NOT Microsoft ODBC for Oracle). Then I linked tables from Access with the Oracle table. What happens is that the number in Access linked table is displayed as a scientific number. Is there a way that I can preserve whatever I have in Oracle database?
    For example:
    Comp_ID in Oralce is defined as NUMBER(22) = 40000000000324003; In Access it looks like this 4.0000000000324E+16.
    What I have in my system:
    1- Oracle 9.2 client
    2- Oracle driver
    3- Access 2003
    4- Jet - SP 8

    Can someone please help me to solve this situation? I try to find out why data is changed from Oracle to Access. I must come back to this thread because lot of data in my Oracle database is defined as NUMBER(22), and I am using Access heavily.
    Here is the problem:
    In Access, I created ODBC connection (System DSN) to Oracle 9.2 database by using Oracle driver (NOT Microsoft ODBC for Oracle). Then I linked tables from Access with the Oracle table. What happens is that the number in Access linked table is displayed as a scientific number. Is there a way that I can preserve whatever I have in Oracle database?
    For example:
    Comp_ID in Oralce is defined as NUMBER(22) = 40000000000324003; In Access it looks like this 4.0000000000324E+16.
    What I have in my system:
    1- Oracle 9.2 client
    2- Oracle driver
    3- Access 2003
    4- Jet - SP 8

  • Using Oracle Generic Connectivity to connect from Oracle to Microsoft Acces

    I am trying to connect from Oracle to Access using ODBC. I followed the steps described in oracle documentation but was not sucessful. Could you plase take a look at my code let me know where I went wrong. It is as follows :
    1)Created an ODBC connection for Microsoft Access called 'MSACCESS' (System DSN). And associated accdb1.mdb to this ODBC connection.
    2)Created a table called orders in accdb1.mdb.
    3)Added the foll lines in tnsnames.ora
    accdb1 =
    (DESCRIPTION=
    (ADDRESS=
                   (PROTOCOL=tcp)
                   (HOST=kdandapani.170systems.com)
                   (PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=accdb1)
    (HS=OK)
    4)added the following lines in listner.ora :
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=accdb1)
    (ORACLE_HOME=c:\orasrv)
    (PROGRAM=accdb1)
    5) Copied inithsodbc.ora to iniths_accdb1.ora in the ORACLE_HOME/hs/admin directory. Added the following line there :
    HS_FDS_CONNECT_INFO = MSACCESS
    6)Created the foll dblink :
    create database link access1
    using 'accdb1';
    7)tried to access table ORDERS in the MSACCESS database with the foll SQL -
    select * from orders@access1;
    Resulted in the foll error message
    ERROR at line 1:
    ORA-12154: TNS:could not resolve service name

    hi,
    I am new to Generic Connectivity i have just followed all the steps you wrote once in this forum but i m getting the following error :
    SQL> SELECT * FROM LOGIN@MSACCESS;
    SELECT * FROM LOGIN@MSACCESS
    ERROR at line 1:
    ORA-28509: unable to establish a connection to non-Oracle system
    ORA-02063: preceding line from MSACCESS
    Following are the steps you suggested in this forum :
    1)Created an ODBC connection for Microsoft Access called 'MSACCESS'. And associated accdb1.mdb to this ODBC connection.
    2)Created a table called ORDERS in accdb1.mdb.
    3)Added the foll lines in tnsnames.ora
    MSACCESS.170SYSTEMS.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = kdandapani.170systems.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = MSACCESS)
    (HS = OK)
    4)This is how the listner.ora looks after I added SID_NAME=MSACCESS :
    # LISTENER.ORA Network Configuration File: c:\orasrv\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = kdandapani)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ORALOCAL)
    (ORACLE_HOME = c:\orasrv)
    (SID_NAME = ORALOCAL)
    (SID_DESC =
    (PROGRAM = extproc)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\orasrv)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = MSACCESS)
    (ORACLE_HOME = c:\orasrv)
    5) Copied inithsodbc.ora to iniths_MSACCESS.ora in the ORACLE_HOME/hs/admin directory. Added the following line there :
    HS_FDS_CONNECT_INFO = MSACCESS
    6)Created the foll dblink :
    create database link MSACCESS
    using 'MSACCESS';
    7)tried to access table ORDERS in the MSACCESS database with the foll SQL -
    select * from orders@MSACCESS;
    I have used my login table instead of orders. But i got an error that i have stated earlier.
    Can you please help me ? if possible than please forward your reply to : [email protected]
    -thank you man,
    -imran

  • Exporting Data From Oracle 10g to Access

    Hi Experts,
    I need to export data from oracle apps shcema(each and every object in it) to MS ACCESS File.
    Please let me know how to do it
    Thanks and Regards,
    Andy

    Since you did not provide details of what you are planning to do, a very simple, however, depending upon the number of your tables, very labour intensive solution:
    Although being not very familiar with access, I think access offers a means to import csv files.
    So e.g. using SQL*Plus you can execute the following steps.
    set pagesize <nnn>
    set linesize <nnn>
    set colsep ',' -- You may choose other special characters to separate columns of your output
    spool <csv-file>
    select * from <tab>;
    spool offWherever you see <nnn> exchange by appropriate numeric values to get just one page as result and to configure your line size to hold a complete record in one output line.
    Replace <csv-file> and <tab> by the name of your output file to be read in to access and by the name of your table, respectively.

  • How to access a PDF file from Oracle DATABASE SERVER

    Hi
    I have some pdf files in "\home2\docs" directory in Oracle database server 10g. (OS is Linux) I want to access those pdf files from my client system through Oracle Forms. How is it possible?
    Please Help!!!! It is very urgent !!!
    Expecting fast response!!!!!
    Bye

    hi
    Thank u for ur response.
    Initially i tried to access pdf file from database server. I didn't get any solution for that. So I copied all my pdf files to Application server which is in Linux environment at "/home2/docs" directory.
    I gave the following command for accessing the pdf files kept in Lnux Application Server from Oracle 10g forms in a button press trigger.
    web.show_document('http://192.168.1.53:7779/home2/docs/test.pdf');
    It says "page cannot be found"
    So I copied one of the pdf file named "test.pdf" to "/oracle/oas10g/IasHome/forms90/java" in Linux Application Server . Then the following command
    web.show_document('http://192.168.1.53:7779/forms90/java/test.pdf');
    has opened the the pdf file in browser.
    192.168.1.53 is my Linux Application Server IP. and 7779 is the port.
    Actually we have lacs of pdf files. So i cannot keep all the pdf files in "/oracle/oas10g/IasHome/forms90/java" directory in Linux Application Server. And also all the pdf files not in the same directory , "/home2/docs" some of the pdf files r in the subdirectories of "/home2/docs/" like /home2/docs/sub1, /home2/docs/sub2, /home2/docs/sub3 etc.
    Then how to configure my "/oracle/oas10g/IasHome/forms90/server/forms90.conf" file for retrieving pdf files from "/home2/docs/" and its subdirectories. Is Anything other than this, required for solving my problems.
    Now My PDF files r in LINUX APPLICATION SERVER not in database server.
    Please help!! It is VERY URGENT!!!

Maybe you are looking for