Access-to-Oracle via scripts

Hi,
I've been asked to export my Access 2000 database as scripts and data, for the DBA to import into Oracle 10.
I've been using 10g Express, SQL Developer and a multi-step procedure. Is there any easier/cleaner way to do this?
Thanks for your time.
Bruce

Bruce,
If you have the Oracle ODBC driver, you should be able to set up attached tables within Access and then "select into..."
or copy/paste to get the data into the Oracle tables. You should be able to search the Access help for "attached tables".
I think this minimizes the number of steps and the number of different tools to use.
Karl

Similar Messages

  • Accessing X11 menus via scripting

    Hello folks... I'm using a unix program that provides a GUI through X11, and I need to access a particular menu item from the GUI using a script (see image). Is there any easy way to access the menu items using a generic shell script of some sort? Thanks!
    Figure for clarification:
    !http://erikdev.com/X11_menu.png!

    I think in general the answer is no. There must be a command-line invocation for this, and if so, the program might accept as an argument the thing you need.
    There are utilities like xwit, but I think even that won't enable you to select a menu item. There is a gui-scripting option within Applescript, which works with Cocoa and Carbon applications. But I know of no general analogue for X11 in general. The GUI interface looks ancient, too, which doesn't help. If it were tk or gtk+2 based, it might be possible to hack into it.

  • SQL from Access to Oracle

    Hi,
    I've been developing queries in Access, using pivot tables. Oracle SQL*Plus does not recognize either TRANSFORM or PIVOT keywords from Jet SQL.
    Can anyone help me find the necessary equivalents for SQL*Plus?
    Thanks,
    Joe

    Hi Meena,
    You mention that you have created the schema and tables in Oracle using DDL scripts. Did you use the Oracle SQL Developer Migration Workbench, creating a Migration Repository, to carry out this process? I see from your other postings that you are experiencing issues using the Exporter tool, which would lead me to believe that you haven't used the Migration Workbench to migrate your database. Obviously you will need to resolve your Exporter issues before you can proceed to the next phase of the migration process. I will aim to assist you with those issues on the seperate thread - ShowSplashScreen("_OracleSplashScreen",3) error The XML file generated by the Exporter tool forms the basis of your MS Access migration.
    In order to migrate your data from MS Access to Oracle using the Migrate Data option in Oracle SQL Developer, you will need to have access to the Migration Repository used for the migration of the MS Access database. The information contained in the Converted Model, in the Migration Repository, is used during the data migration process. The data migration requires the following connections:
    1. a source database connection i.e. a database connection to the MS Access MDB file
    2. a target database connection i.e. a database connection to the migration Oracle schema
    3. a Converted Model connection
    For further information on the creation of a Migration Repository, and the migration process, please refer to the accompanying documentation available via the online Help within Oracle SQL Developer, and also from OTN - http://download.oracle.com/docs/cd/E10405_01/doc/nav/portal_booklist.htm.
    I hope this helps.
    Regards,
    Hilary

  • Migration from Access to Oracle through SQL developer

    Hi,
    I want to migrate an mdb file which contains a set of tables to oracle. During this process, i have created schema and all the tables in Oracle using DDL scripts. I would like to transfer only the data to Oracle from access through SQL developer. How can I do that?
    Regards,
    Meena

    Hi Meena,
    You mention that you have created the schema and tables in Oracle using DDL scripts. Did you use the Oracle SQL Developer Migration Workbench, creating a Migration Repository, to carry out this process? I see from your other postings that you are experiencing issues using the Exporter tool, which would lead me to believe that you haven't used the Migration Workbench to migrate your database. Obviously you will need to resolve your Exporter issues before you can proceed to the next phase of the migration process. I will aim to assist you with those issues on the seperate thread - ShowSplashScreen("_OracleSplashScreen",3) error The XML file generated by the Exporter tool forms the basis of your MS Access migration.
    In order to migrate your data from MS Access to Oracle using the Migrate Data option in Oracle SQL Developer, you will need to have access to the Migration Repository used for the migration of the MS Access database. The information contained in the Converted Model, in the Migration Repository, is used during the data migration process. The data migration requires the following connections:
    1. a source database connection i.e. a database connection to the MS Access MDB file
    2. a target database connection i.e. a database connection to the migration Oracle schema
    3. a Converted Model connection
    For further information on the creation of a Migration Repository, and the migration process, please refer to the accompanying documentation available via the online Help within Oracle SQL Developer, and also from OTN - http://download.oracle.com/docs/cd/E10405_01/doc/nav/portal_booklist.htm.
    I hope this helps.
    Regards,
    Hilary

  • SQL Server 2005 to Oracle via OLE DB

    I've got a project where I need to access several tables in an Oracle (9i) database from SQL Server 2005. I installed the Oracle OLE DB provider and the Oracle 9i client. I can access the tables via the Oracle client without issue. I tried creating a "Linked Server" in SQL 2005 Mgmt Studio. Sometimes I can get it to test the connection successfully, but I can never get it to read anything from the database.
    Depending on what configuration I use, (MS OLEDB Provider, or the Oracle OLEDB Provider - varying the in process flag and other values) the errors range from not being able to instantiate the OLEDB provider to the server just returning an result that the table I'm trying to access doesn't exist.
    I keep reading in the forums about Transparent Gateways.... Do I have to have a gateway running for this? Shouldn't I be able to access the Oracle tables via OLEDB?
    Any help is greatly appreciated. Thanks.
    J

    I finally got everything working by using the ORacle 10x OLEDB client to create a linked server. You also have to set the OLEDB "allow in process" flag to get it going.
    With the 10x client and the in process flag, everything worked exactly as expected.
    J

  • Very difficult migration from MS Access to Oracle with SQL Developer

    Dear Developers
    I have tried to used for one Project Oracle Sql Developer Migration from Access to Oracle (Application Express). Was about an evaluation if Oracle Express (with Application Express) or Mysql (with PHP) as target database.
    I am working with Oracle for 14 years and i earn my money in projects related with Oracle. Of course i am sentimental and i push every time when an opportunity comes to have as an option Oracle.
    This time beside my sentimental approach the decision was different.
    I will tell you why and i hope that someone there will listen and make something for a better Product.
    I was trying yesterday the whole day to migrate an Microsoft Access database. A nightmare....
    1. Microsoft Access Exporter 2000 was too slow. For a 25 MB Access database, running time was 15 Minutes. And 15 minutes to obtain an undocumented error. I followed your instruction and eliminate all references etc... as you described in HELP. a lot of time necessary to read and do..... After that i obtained an Error #..16. Sorry that i don't provide you with an exact number error. i don't have it right know and personally i am not interested anymore. For this error i don't find nothing in forums about it.... Search again and again..... Every time after waiting 15 Minutes in which you don't know exactly what application does or if really does something. I decided to delete sequentially macros, modules, forms, querys from Access database and see where Exporter stops... Time and time lost for trying and searching.... Finally i obtained my XML file only by keeping my Access tables. The file was produced even if i obtained at the end Error #5:..... Because was an error i am not really sure if the file was completly consistent with my database.
    2. I followed the next steps and with some errors (enabling, disabling constraints, objects couldn't be created because of different reasons) i had my Model and Oracle Schema. I have tried to export the data from Access and import it in Oracle. data exported was in UTF8 and SQL Loader Control file doesn't have
    LOAD DATA
    character set utf8
    So i tried to add the string "character set utf8" in my dozens of CTL files - with a freeware of course.....
    Maybe you can say that if i knew that from the beginning i would have set my character set in SQL Developer. I don't know and i will not ever try with this product!
    So finally after hours of working and trying and playing with my nerves, reading a lot of forums and documentation, i had an Oracle schema, maybe incomplete because of different errors at so much migration stages.
    And now i have tried for the first time in my life MySQL Migration Toolkit. I read that for migration to MYSQL this tool is what i needed.
    I recommend you to try the product and see something about the quality required for a piece of software. Is not enough if your product runs OK with Nortwind DEMO Access database. It should run OK with all ACCESS databases.
    With the tool i have done the job in 5 MINUTES. Simple, efficiently and without errors. At the end i had the SQL Scripts and the DATA imported in the database.
    Difficult to say something now. I am sentimental but i asked mysef if you can do something to improve the quality of the product.
    What arguments can we provide for a client in Migration from Access to Oracle ???? Can you honestly answer at that?
    Please try this MYSQL Migration Toolkit.....Maybe this give you some ideas about simple tasks and about what we really need...
    Best regards
    Adrian

    Dear Barry and Kgronau
    Thank you very much for your response. My Post was after a long day of trying to import an MDB file.
    Maybe you can understand why i was so angry...
    Yes i understand that your tool try to do more than other even if actually you don't really convert too much.
    From Modules to make some procedures where the whole code is commented! .....
    For other MDB which i tried to import in APEX the forms where really not usable. Queries are full of errors requires most of the time manual corrections.
    I am sorry that i can not provide you with this MDB which cause these problems.
    Data and software doesn't belong to me and the company which own it can not provide to you.
    What i hope from your product is, even when errors come, to show a better error explanation. At what object in Access error ocures ? This is very important because i can correct my MDB or just delete the module,form,query in cause if SQL Developer doesn't like it....
    Just showing an error Error #.... doesn't help me too much. And if an error occurs i don't know if program continues to work or is dead. No information about this. Maybe you can show that your application is alive and does something (working status etc...) ! Anyway we wait long minutes in front of dead screen....
    Again, thank you very much for your attention
    Adrian

  • Is it possible to modify the tag structure tree and the role map via scripting?

    We use unstructured FrameMaker to produce training materials which we distribute as tagged PDF to meet accessibility requirements.
    When FrameMaker creates a tagged PDF, it does a fairly good job of populating the structure based on the PDF setup information for the paragraph formats in the FrameMaker documents. However, there are some limitations in the support that FrameMaker provides. For example, almost all paragraphs are assigned to the P role even if they are headings and should be mapped to H1-H6.
    We want to be able to easily post-process a PDF that has been generated from FrameMaker to fix some of the tag structure issues (including tag names and the role map) so that the PDF will provide the optimum experience for a user of the JAWS screen reader.
    I spent some time reading the SDK documentation but didn't find much information about manipulating a tagged PDF via the API, especially via scripting.
    Does anyone have any examples or references which explain how to do it?

    AFAIK, it's not possible with a script. You might want to ask in the SDK forum, as it could be possible with a plugin.

  • Linking Access tables, creating a query with using both Access and Oracle

    Hello,
    I am using 3.0.04.34 version Oracle Developer. I am supposed to create a script/procedure to use both Access tables and oracle tables together. There is an option in developer to copy the access tables into oracle. But it doesn't help me. Because when we updated the access tables
    the copied ones are not be updated. How can I created a linked access tables to oracle and create a query with using both access and oracle table together.
    I will appreciate if you guys help me. I look forward to hearing from you guys.
    Thanks,
    Pinar

    Pinar,
    to be able to query MS Access tables in Oracle you need an additional product, the Oracle Database Gateway for ODBC. It allows you to link any foreign database into an Oracle database using a suitable ODBC driver. You can then access the MS Access tables through a database link based on the Database Gateway for ODBC. This will also allow you to join local Oracle and remote MS Access tables from your Oracle database.
    There's a note on My Oracle Support which gives you more details:Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    And there's also a dedicated Forum: Heterogeneous Connectivity

  • Can Forms Builder access non-Oracle Database?

    Does any one know whether Pracle Forms can access othe non-Oracle database via ODBC or JDBC to MS Access or MySQL?

    12282,
    In general, HTML DB gives you access to Oracle database facilities. These include heterogeneous services. Please search this forum for keyword "heterogeneous" and you can follow the threads that interest you.
    As for the comparison with brain surgery, I'd rank them about the same in terms of raw thrill.
    Scott

  • Migrating MS Access to Oracle 11gR2

    Environment 1:
    Windows 7 (64-bit), Microsoft Access 2003 (32-bit), Oracle SQL Developer 4.0.0
    Environment 2:
    Windows XP (32-bit), Microsoft Access 2003 (32-bit), Oracle SQL Developer 4.0.0
    Has anyone succeeded in migrating an MS Access database to Oracle 11gR2?
    In environment 1, I cannot add a connection to the MS Access database.  And, yes, I tried odbcad32.exe from both %windows%\System32 and %windows%\SysWOW64.
    In environment 2, I can connect to the MS Access database. 
    I tried to follow "Migrating a Microsoft Access Database to Oracle Database 11g" (http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/MSAccessMigration/MSAccessMigration.htm), but in the section on "Capturing the Microsoft Access Exported Files", it happily states: "The procedure for creating the Microsoft Access database scripts has been completed for you and the files are available in the zip file provided in the prerequisites." and I cannot find a reference to how those scripts were created, so I'm stuck there.
    The Quick Video entitled "Migrating from Microsoft Access to Oracle" (http://www.oracle.com/technetwork/database/migration/access-084991.html) captures a Sybase database instead, so no luck there either.
    Section "2.2.4.3.1  Creating Microsoft Access XML Files" of the "Oracle® SQL Developer User's Guide" states:
    "To prepare for capturing a Microsoft Access database, the Exporter for Microsoft Access tool must be run, either automatically or manually, as explained in Section 2.2.5, "Capturing the Source Database". This tool is packaged as a Microsoft Access MDE file and it allows you to export the Microsoft Access MDB file to an XML file."  But there's nothing whatsoever relevant to this issue in section 2.2.5.  Nor in the "Oracle® SQL Developer Supplementary Information for Microsoft Access Migrations".
    I tried Tools -> Migration -> Create Database Capture Scripts... but there's no MS Access to select. 
    I tried Tools -> Database Export... but cannot connect to the MS Access database.
    Stuck again.
    I tried right-clicking on the MS Access db and selecting the "Copy To Oracle..." option, but nothing happens.
    I tried using Tools -> Migration -> Migrate
    but at the capture stage, I get an error "java.lang. Exception:  The plugin used to capture this model is not available.  Please re-install the plugin and try again before convert."  But I cannot find a reference to a plug-in for MS Access.
    I tried Tools -> Database Copy... but cannot select the MS Access database as source.
    I found ckw460's entry in this forum at https://community.oracle.com/thread/2593134 and found "Oracle Application Express 4.2" at http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html and in the zip the omwb2007.zip (s)he mentioned.  I assume I'd have to use omwb2003.zip, but it is unclear to me how to apply it.
    I.e., lots of frustrations and after well over a day, I'm still nowhere.
    Can anyone assist?
    Kind regards,
    Herta

    Hello Herta,
    sorry for the delay, but just found your thread.
    The MS Access Migration has been dropped from the SQL Developer V4 as the JDK 1.7 does not have the JDBC/ODBC bridge included anymore. The V4 option is only offering the "Copy to Oracle" function which works when you open the MS Access connection, check out the tables present and then do a right click on that table and select "Copy to Oracle".
    Another option would be to use the 3.2 SQL Developer release.
    - Klaus

  • Migration from MS Access to Oracle 8

    Sir,
    I have exported the MS Access table from MS Access to Oracle in the following way.
    I have selected the table from MS Access and clicked on export and then it asked for exporting option. I have selected ODBC databases and given the option from 'emptab' to emptab. I have created a new system dsn and finally the table was exported to oracle(user name: scott pwd : tiger. when I logged on to scott/tiger and queried the tables select * from tab; , all the tables in that user are displaying. But I am not able to query on that particular table. I was getting the message 'table or view' doesn't exist. Pl guide me how to access that table and query on that table either desc table or insert into that table or update etc.
    with warm regards
    [email protected]
    srinivas

    Srinivas,
    The Oracle Migration Workbench will migrate access data and datastructures over to oracle, it can then modify the access database so that link tables are created to access the oracle information from the access forms and views.
    If you are using ODBC to export the data:
    What are the commands you are entering and the output? Note that oracle tables are usually upper cased so if the table name is MY_TABLE, select * from "my_table"; will not work whereas select * from my_table; will. Access export via odbc preserves the case so one may need to select * from "my_table";
    select table_name from user_tables;
    Will show the current users tables, to show what case is expected, upper or lower.
    I hope these small pieces of information are helpful in solving the issue.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • MS Access To Oracle 8 Migration - Error 440

    Hi,
    I am using the migration assistant to migrate an Access DB
    (~500MB) to an Oracle 8 Instance on the same machine(NT). After
    6-7 hours while moving data I get the error: Error 440, serious
    internal error. The version of the software is 8.0.4. Can
    somebody tell me how I can overcome this error.
    Thanks in advance.
    null

    Srinivas,
    The Oracle Migration Workbench will migrate access data and datastructures over to oracle, it can then modify the access database so that link tables are created to access the oracle information from the access forms and views.
    If you are using ODBC to export the data:
    What are the commands you are entering and the output? Note that oracle tables are usually upper cased so if the table name is MY_TABLE, select * from "my_table"; will not work whereas select * from my_table; will. Access export via odbc preserves the case so one may need to select * from "my_table";
    select table_name from user_tables;
    Will show the current users tables, to show what case is expected, upper or lower.
    I hope these small pieces of information are helpful in solving the issue.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • Can i do Expression to keyframes and smooth via script?

    hi guys, who know AE scripts can translate expression to linear keyframes via script(now i use app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes")) ; command) but , for Comman work i must select every time property of layer(opacity, position, scale, etc) where i have expression.... but i need translate very many layers, i always click on property with expression and then do Convert Expression to Keyframes its to long.., can i do something like this
    for (var j= 0; j<selectedLayers.length; j++) 
                       var SelLaye= selectedLayers[j];                  
                       if (SelLayer.transform.opacity.expression!=null && (SelLayer.transform.opacity.expression!=null) && (SelLayer.transform.opacity.expression!=null)) //check if layer have expression
                             SelLayer.transform.position.select=true;  //and here i need set cursor to position, expression, etc, where i have expression and translate to linear kayframes(but i dont know how)
                             app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes")) //do translation
                             SelLayer.transform.rotation.select=true;
                             app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes")) 
                             SelLayer.transform.scale.select=true;
                             app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes"))
                             //and after this also need do a smoother or something like this for decreasing linear keys for max(because app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes")) create to many keyframes)
    sorry for bad English

    Sup,
    Earlier Dan Ebberts already wrote the answer on CreativeCow:
    http://forums.creativecow.net/thread/227/13039#13041
    Можно все выбранные значения добавить в массив и потом уже дергать из оттуда, ну либо вручную прописывать в скрипте. Кому как больше нравится.
    AE has "Smoother" panel, but as far as I know you can`t access it via scripting using app.executeCommand(app.findMenuCommandId("Smoother")) or something.
    But there is a script that makes same work , called Smart Baker. You can download it here:
    http://www.creatogether.com/ctg-smart-baker

  • Exporting correct Hex colors via scripting

    Hello all,
    I need to export the fillColor of a paragraph style via scripting.
    I can get the fillColor property of the paragraph style, and can also convert CMYK to Hex. However, I do realize that the color values shown in InDesign are in whatever Color Space the document is using.
    My question is, is there a native API to convert the color values to a web safe color value? If not, how do I go about mapping the colors?
    Additionally, I see that Adobe internally knows how to convert it to a proper hex color (screenshot attached - note the color property in the Export Tagging pane). If I cannot use some native API, is there a way to access the text in that pane?
    Thanks all, in advance!

    @DerKäse (btw. funny name) – there is an add() method for colors that will take a Object Color as argument.
    Use that for your purpose.
    Here an example for RGB:
    var myDoc = app.documents[0];
    var myColorName = "myNewRGBColor";
    if(!myDoc.swatches.itemByName(myColorName).isValid){
        var myNewColor = myDoc.colors.add(
                name:myColorName,
                colorValue:[255,255,0], //A bright yellow
                model:ColorModel.PROCESS,
                space:ColorSpace.RGB
    Here one for CMYK:
    var myDoc = app.documents[0];
    var myColorName = "myNewCMYKColor";
    if(!myDoc.swatches.itemByName(myColorName).isValid){
        var myNewColor = myDoc.colors.add(
                name:myColorName,
                colorValue:[0,0,100,0], //A bright yellow
                model:ColorModel.PROCESS,
                space:ColorSpace.CMYK
    Hope, that helps…
    Uwe

  • Connection from MS Access to Oracle DB

    Hi,
    One of my test application, running in windows XP is using MS ACCESS. They need to connect to oracle DB (10GR2). What all should i install at the client side to connect to my DB Listeners ?
    I thought of installaing 10G client at the application PC. Is it needed or just installing ODBC and NET8 is enough ?... If so where will i get ODBC and Net8 for download ?
    Regards,
    Jibu

    Pavel wrote:
    Hi Jibu
    You need at least to create an ODBC connection to your Oracle database using the {Microsoft ODBC for Oracle} driver.
    Why the MS driver? Oracle supplies their own, and either way you still need to install the oracle client. ODBC is NOT a replacement for native database connection layers -- at least not if the database is other than MS. There's not tell what MS does with its own stuff.
    http://www.techonthenet.com/access/questions/oracle_connect.php
    http://www.databasejournal.com/features/oracle/article.php/3358411/Connecting-with-Oracle-Accessing-Oracle-via-Access-and-Excel.htm
    Regards,
    Pavel

Maybe you are looking for

  • Not able to get the context attribute set in ServletContextListener

    Hi all, I have written a simple ServletContextListener and set an attribute in it. when i am trying to retrieve the attribute value in my servlet, I am getting as null. Could anybody please let me know about this if i need to add any more changes. Be

  • Smart form ; Misalignment.

    Hi I have a problem with smart form alignment. A Variable is assigned to a line in the page on the left side and a static text on the right side of the same line. Whenever the value of the variable changes(bigger value) the static text in the right s

  • AUTO_RESIZE jtable set column width by column header

    Do I need to use one of the AUTO_RESIZE methods, the TableColumnModel, or another method in order to set the default width for a column based on the width of the column header.

  • IMovie and iTunes

    I have a problem with iMovie. When I click the note logo in the middle bar iTunes won't show up in the menu and I can't choose it and add music in my videos. How can I get iTunes to show up in the music and sound effects menu?

  • How to Create and export motion data from After effects CC to Flash CC

    Hi there , Basically what I've got here is as follows. I have a small character animation (about 100x100 px) - that is running inside a screen of 1280x720 px. I want to hold the caracter in one position (so that I can get ridd off the useless alpha.