Export table access to oracle with Database ODBC()

Hi,
I export a table, access 2003, ent_tab whit  'DataBase ODBC()' to oracle.
I open Oracle SQL Developer and i can show table ent_tab, but i go worksheet and execute:
select * from ent_tab
and display error: ORA-00942...
Why??!!
Regards
Jomar

Because ODBC created the table with "" which allowed lower case table name, but Oracle uses upper case table name by default. Suggest you recreate the table with upper-case name to avoid having to use "" in select statements.
Edited by: rgeier on Oct 27, 2009 5:34 PM

Similar Messages

  • Write Access to Oracle with ODBC?

    Hi,
    sorry this maybe a stupid question. Can i write data into Oracle with an ODBC driver?
    Thanks
    Marco

    Sure.
    Justin

  • 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

  • Exporting from Access to Oracle

    Hi all,
    nowadays we are dealing with an issue of exporting access tables to oracle 11g.Briefly, the problem is our former developers had defined columnnames with space characters in access tables,as you know they are not valid in oracle db.After spending hours on internet we found out that we can export tables to oracle with the same column names if we put a quotation mark (") just before and after the column name which means a column named [Customer Name] in access is gonna be changed to "Customer Name".It looks okey but still looks like an amateur ,daily solution.Dou you know any other solution for our problem and also is the putting quotation marks(") a supported solution for oracle's side.
    Thank You
    gokhan

    Hi,
    You can make use of Oracle sql Developer for exporting Access tables or database to Oracle. ORacle sql developer will capture the Access model and then convert it into the Oracle required format. Then using that model you can perform Import in the ORacle Sql Developer.
    Regards

  • OAF Update of Custom Table causing ORA-600 with database block corruption?

    Using OA Framework 12.1.3, running under EBusiness Suite 12.1.3
    Created Custom Web page operating against Custom Tables
    ISSUE
    On about 2% of new records, when OAF is UPDATING a record in a certain table, it  is failing with
    java.sql.SQLException: ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [kddummy_blkchk], [815], [26412], [6110], [], [], [], []
    ORA-06512: at line 1
    Before the DBA turned on 10.2.0.4.0 DB_BLOCK_CHECKING parameter, this actually
    resulted in corrupted data blocks in the database and corrupted indexes that
    eventually crashed the database and we had to do a full recovery with 2 days downtime.
    Now that we have turned on DB_BLOCK_CHECKING, it simply errors out and puts things
    in the alert log, but the records still fail to update as the writes are blocked.
    Then oddly, a few days later.. the records become editable.  And others fail.
    This is ONLY happening on the one particular table being updated by OAF.  Other custom pages
    posting to other custom tables are having no problems.   We've CTAS'd the table back and
    forth and recreated the indexes, and that did not help.
    Support says to post to the Forum  ( So I am! ) or hire Oracle consulting.. which doesn't make
    much sense given the error.  The Recovery Team that helped us in a separate SR ( we had
    to do db_repairs not just recovery ) felt it was an important problem the OAF team needed to
    strongly review.
    Anyone else encounter this already and know of a solution?
    TIA
    Karl

    After MANY hours of trial and error and research, we've identified ONE use case that seems to apply to 90% of the issue we have encountered.
    YMMV.
    The BC4J generated SQL which is generating the ORA-600 is
    BEGIN UPDATE XXRETURNHEADER ReturnHeaderEO SET INTERNAL_TEXT=?,LAST_MOD_USERNAME=?,OBJECT_VERSION_NUMBER=?,LAST_UPDATE_DATE=?,LAST_UPDATED_BY=?,LAST_UPDATE_LOGIN=? WHERE RMA_NUMBER=? AND ORGANIZATION_ID=? RETURNING TROUBLESHOOT_DATE, FAA_TAG_DATE, FAILURE_ANALYSIS_DATE, LAST_MOD_DATE, FAA_REVISED_DATE, TTE_TECH_SEND_DATE, TTE_REP_RESPONSE_DATE, TTE_REP_APPROVED, TTE_RMA_RANDOM_KEY, OBJECT_VERSION_NUMBER, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN INTO ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?; END;".
    We determined that if TTE_RMA_RANDOM_KEY was not a null value, we would get an ORA-600 error whenever we did an APPLY from the OAF Page to update the record.
    If we set that table attribute to NULL for the record using SQL.. then used the  OAF Page to APPLY.. it worked fine and the record saved without error.
    We then modified the EO to NOT   "Refresh After Update"  ( thus removing it from the RETURNING clause generated )... and even if the TTE_RMA_RANDOM_KEY
    had a value... the OAF Page APPLY worked and the record saved without error.
    I cannot identify anything from the User programming side that is wrong ( and neither could Oracle ), and it REALLY should be in the RETURNING clause list of
    attributes.. but this is the only workaround I've found that doesn't crash the Page and irritate the user to no end.
    I have reported my findings via the SR back to Oracle to do with it what they may... but it looks strongly ,to me, to be an error in the BC4J/JDBC/Database
    coordination and passing data between those black boxes.

  • Exporting of files in oracle 10g database

    hey friends,
    I installed Oracle 10g Database server on Windows XP,when i tried to take the backup through "Export to Files".I got this error.
    I have added Administrator in "Login as Batch JOb" and has given administrator along with the password in host credentials.
    I explain the procedure.I Login as Sys as SysOper as Oracle does not allow to take backup as sysdba.
    I created the job and also given the right path for the backup but some how it fails then i check the log and i find the following output.
    Output Log
    Export: Release 10.1.0.2.0 - Production on Fri Mar 4 16:39:23 2005
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username:
    EXP-00004: invalid username or password
    Username: Password:
    EXP-00004: invalid username or password
    Username:
    EXP-00030: Unexpected End-Of-File encountered while reading input
    EXP-00000: Export terminated unsuccessfully
    The output log says i am giving invalid username and password but i don't know where i am giving the invalid username and password.
    Please guide me as I am new to Oracle and want to learn Oracle Administration.
    Thanks & Regards
    Ankush

    Give me output of following on standby server
    SQL>select name from v$datafile;
    SQL>show parameter log_archive_dest

  • Locating user tables in an Oracle 11g database

    Excuse my ignorance on this subject
    But our company has an Oracle 11g database that drives one of our business applications. I am not an oracle admin and there is very little documentation on the application itself, however the application seems to have its own set of explicit login (username and password) credentials so I am guessing they are hashed somewhere in the database tables.
    My question would be – are there any default oracle tables where user credentials would typically be? or tips on tracking down where the password hashes may be? Or can this differ from application to application? Any tips welcome. Apologies for the naivity of the question. My goal is to identify which database accounts can query the table the hashes are in, as we have some users who can access the database for data analysis purposes - but I dont want them to have access to the table.

    user599292 wrote:
    EdStevens wrote:
    user599292 wrote:
    Excuse my ignorance on this subject
    But our company has an Oracle 11g database that drives one of our business applications. I am not an oracle admin and there is very little documentation on the application itself, however the application seems to have its own set of explicit login (username and password) credentials so I am guessing they are hashed somewhere in the database tables.
    My question would be – are there any default oracle tables where user credentials would typically be? or tips on tracking down where the password hashes may be? Or can this differ from application to application? Any tips welcome. Apologies for the naivity of the question. My goal is to identify which database accounts can query the table the hashes are in, as we have some users who can access the database for data analysis purposes - but I dont want them to have access to the table.The information relative to the user accounts is revealed in the view DBA_USERS, which normal users should not have a need to see. However, the passwords are stored in a true hash. It cannot be used directly, and cannot be reversed. So being able to see the hashed password does not in itself constitute a security risk.
    When a user is being authenticated, the procedure that oracle uses is NOT to 'decrypt' the stored password to see if it matches the password presented by the user. Rather, the password presented by the user is hashed, and that hash value is compared against the stored value.My concern was if they could extract those password hash values, there are many free password crackers where if they run dictionary values against those hash values and if any match they then have some passwords to gain perhaps elevated access in the application.Such a method would have to assume a password, know how oracle 'salts' the password, hash the result, then compare to the hashed values from the table. If you employ even a modicum of password complexity enforcement, I doubt that your developers are going to have access to the kind of computing capacity that would be required to get a positive result within your lifetime.
    You need to do three things
    First and foremost, adhere to the principle of 'least privilege'. Do not grant a user account any privileges that are not required for that account to complete it's business task. That includes access to any tables or views. Be wary of any "--ANY---" privileges.
    Second, use the password complexity function to enforce a reasonable level of password complexity.
    Third, Set the user's profile to expire the pasword after 'x' number of days and prevent the reuse of a password until after 'y' iterations.

  • Converting between tables in an Oracle Lite Database

    We have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
    Both the structures reside in the same database.
    Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
    However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
    Anyone got any better ideas?
    Cheers, Matt

    We have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
    Both the structures reside in the same database.
    Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
    However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
    Anyone got any better ideas?
    Cheers, Matt

  • Accessing an Oracle RDB database thru OBIEE

    We are trying to access our database warehouse located on a VMS Oracle RDB server to the physical layer in the OBIEE Administrator.
    Doesn't seem like there are any native drivers
    and when we set up the Oracle ODBC RDB driver 3.2
    and use this ODBC connection in our connection pool and connect to the database
    and import tables
    We can view all tables in the warehouse but we can't see any columns in tables that have an underscore in their name. When we import these underscore tables, we still can't see the column metadata.
    Is there any way around this? Thanks Cheryl

    We are trying to access our database warehouse located on a VMS Oracle RDB server to the physical layer in the OBIEE Administrator.
    Doesn't seem like there are any native drivers
    and when we set up the Oracle ODBC RDB driver 3.2
    and use this ODBC connection in our connection pool and connect to the database
    and import tables
    We can view all tables in the warehouse but we can't see any columns in tables that have an underscore in their name. When we import these underscore tables, we still can't see the column metadata.
    Is there any way around this? Thanks Cheryl

  • Any way to export table to excel file with leading 0s?

    I have to export about 50 excel files from different tables.  Some tables contain leading 0s in the columns.  If I use bcp to export to xls file, the leading 0s will be missing.  If bcp to csv or txt file, there will be no issue at all.  But I have to export to xls file in order to let client update that xls file and reload to tables again.
    Is there any other ways to do this task?
    Thanks in advance.

    Ok,  I played with it and fixed it on mine to work.
    Here is what you do.  Create a blank Excel file in Excel with a single header row with your column names in it, and then set the datatypes for each column in Excel to match your export type.  For the below, create an Excel file and in column A1, put "Name" and change the column to Type Text.  Then in B1 type Date and set it to type Date, then save the file as c:\Test.xls.  Then close the file in Excel.
    In SSMS execute the following:
    Code Snippet
    INSERT INTO OPENROWSET('Microsoft.Jet.OLEDB.4.0',
    'Excel 8.0;Database=C:\test.xls;HDR=YES',
    'SELECT Name, Date FROM [Sheet1$]')
    SELECT [Name], GETDATE() FROM msdb.dbo.sysjobs
    GO
     It worked perfectly in my environment.  Don't bother with BCP, just create a formated Excel File with a header row with your output column names and then save it.

  • Migration Access to Oracle with GUID fields

    How to migrate Access 2000 with GUID fields to Oracle 10g? If I use Migration Workbench, I got following error message,
    "Error #-2147220502: Unofficial JET datatype encountered: column xxx_id, table xxx"
    Does Workbench suppose to handle with GUID? Does anyone have any experience?
    Thanks.

    Hi Meena,
    Please refrain from duplicating forum postings on the forum. I have responded to your initial question on this topic at the following thread - ShowSplashScreen("_OracleSplashScreen",3) error Please use the original thread when responding on this issue.
    Regards,
    Hilary

  • Table Archiving in Oracle 10g database

    Hi Friends,
    We are facing performance problem and large size of tables like FAGLFLEXA, BALDAT etc.
    Now we want to archive the tables, please help us and if any one has done this activity please share it.
    In particular we want to archive tables ACCTIT, ACCTHD, ACCTCR. We are using ECC6.0 and HP_UX11i v2 and oracle 10g
    Regards
    Ganesh Datt Tiwari
    Edited by: tiwari.ganeshdatt on Feb 2, 2011 7:19 AM

    Hi Mark,
    I have archived the tables. It is archived but not stored.
    Files are accessable but I m not getting the archived doc in activated infostructure relted to object MM_ACCTIT.
    After writte action we have to run Deleted action ?
    Please help me.
    Regards
    Ganesh Datt Tiwari

  • Export tables statistics in oracle 10g.

    hi,
    I want to create stats table in different schema that holds the object statistics of another schema, is it possible?
    dbms_Stats.create_Stat_tabe('user1','user1table);
    dbms_stats.export_Schema_stats('user2','user1.user1table);
    its giving error when i try to do this.
    any idea plz?
    thanks in advance.

    its giving error when i try to do this. ERROR? What Error? I don't see any error.
    ALWAYS
    Post Operating System (OS) name & version for DB server system.
    Post results of
    SELECT * from v$version

  • JDBC API ( JSR 169 ) Implementation for accessing oracle lite database

    We are developing an application using IBM J9 (CDC and Foundation Profile) on Pocket PC 2003 environment with SWT as the front end development. We are using Oracle Lite 9i as the Client database.
    We have sucessfully installed Oracle Lite and was able to create tables in the database.. however we could not find the JDBC API (java.sql and javax.sql packages which is JSR 169 JDBC 2.0/3.0) inorder to load the JDBC driver(OLITE40.jar) and access the oracle Lite Database on Pocket PC.
    IBM J9 Micro Environement does not have this support.
    I am wondering if Oracle provides this implementation.
    If not is there a get around.
    the client database is crucial to the application and i would really appreciate an answer to our problem.

    Check out
    http://groups.google.com/groups?hl=en&lr=&threadm=cjgl3g%248hhm%241%40news.boulder.ibm.com&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dibm.software.websphere.studio.device-developer
    I have had the same issue before.
    Regards,
    Ron

  • While creating MViews in oracle 9i database connecting to table in an orac

    Hi all,.
    While creating MViews in oracle 9i database connecting to table in an oracle 11g database....
    Eg : create materilized view testmview as select * from testtable@db_linkname
    ORA-03113: end-of-file on communication channel
    any idea
    Regards,
    Shiju

    There would be a trace file written on the 11g database server. Please review the trace file.
    Your 9.2 environment must be running 9.2.0.4 or higher. The 9.2.0.4 is the minimum patchset level required for it to be supported connecting to an 11g (11.1 or 11.2) database.
    See "Client / Server / Interoperability Support Between Different Oracle Versions [ID 207303.1]" on support.oracle.com
    Hemant K Chitale

Maybe you are looking for

  • Soap Receiver Adapter problem. very urgent..

    Hi, When I am sending data from XI to CRM through soap receiver communication channel I am getting error: Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAP

  • Unable to refresh config from controller

    After migrating the data from CPI 2.1 to 2.2, I am unable to refresh the config from controllers that are on version 7.0.220.0.  I am able to refresh on the contrlollers that run on version 7.4 and 7.6 successfully.  I checked the compatibiliy metrix

  • Is it possible to (selectively) automatically move to next patch and start?

    .. so that (for example) my first three songs play one after the other then MS stops awaiting a play cmd? I can't see this anywhere in the help but it must be a frequently used function.

  • Unable to send old pictures at whatsapp soon aft I upgrade my Whatsapp version 21.11.4

    Unable to send old or saved pictures at Whatsapp aft I upgraded Whatsapp version to 21.11.4 Can u have las fix the problems as soon as possible. Androids never had this issues at all.

  • Error at CO16N

    Hello Guru, one of our plant has so many error when view in CO16N, the error is. (Confirmations have been entered at operation level for order 10022541). how this occured? Can I delete them without any problem? thanks