Unable to make updates/deletes using MS Access to Oracle 11g table

Please help! We recently upgrade our Oracle db to 11gR2. Prior to that, I could make updates to the 9i database just fine, now (after resolving a tns names issue), I am able to connect using ODBC and the MS Access database and I can see data (ie. select) but I cannot make any updates. When I try, it appears to work but when I query for the data just entered, its not there! I am not very experienced so I need help! We are using the Oracle drivers from 10.2

The most common cause for this that I've seen is that the Oracle table doesn't have a primary key, and when doing the table link in MSAccess when it prompted for a primary key the dialogue was dismissed. Without a PK the link is read only.
Try a new table link, and make sure to select pk columns if prompted
Hope it helps,
Greg

Similar Messages

  • Unable to edit or delete profile in Access Connection 5

    Hi Everybody!
    I'm unable to edit or delete profiles in Access Connection on my T41 running latest Access Connection v5.
    The edit and delete buttons on the Access Connection Profile menu are shown only in light grey color and it's not possible to click them. I have administrator rights on my machine. These profiles were initially migrated from a very old v3 (automatically during system update) and I guess that this is one of the root causes of my problem.
    I have also tried to use the QCTRAY.EXE /DEL command, but that's also not working. The profiles just remain there unchanged.
    I would be very pleased if somebody could give me a hint on how to overcome this boring problem.
    Best regards,
    Helmut
    Solved!
    Go to Solution.

    v3 profiles are not compatible with v5.
    The best solution in your case would be to uninstall Access Connections with profiles and then reinstall and create new profiles.

  • 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

  • How to  access the ORACLE APPS table structures from SAP

    Hi Experts,
        How to  access the ORACLE APPS table structures from SAP? Is it possible from SAP?
    Thanks in advance
    Thomas

    Hi Silviya,
    you can access this database using a technique called DB Multiconnect - sometimes written as multi-connect.
    Search the SAP documentation and notes for this term and you will find how to do it.
    Essentially you configure the remote database connection via transaction DBCON.
    If your SAP system is not running on Oracle you will need to install the db-specific kernel files for Oracle along with the Oracel db client software - SQL*Net.
    Then you can access the Oracle database from ABAP using native-SQL. It works a treat!
    Cheers
    Graham Robbo

  • Prob & Solution: Unable to make RDP connection using newly added Microsoft Account to win10 tech preview hosted on AzureVM

    Problem description:
    After VM deployment is finished, remote desktop into the Windows 10 client OS with the created admin credentials
    Open PC Settings -> Users and Accounts -> manage other users (this is the new UX not the old classic add user dialog)
    Add a Microsoft account to the desktop, leave it as a standard user
    Log Out
    Make RDP connection using login of DNSName\[email protected]
    Note: DNSName = connection string you are using in RDP
    [email protected] is whatever liveID you are using.
    Problem: If it was working you will get a message that this user does not have access rights to remote desktop to the computer
    Error: Unknown user or bad password is what I would get
    Solution:
    Log back on as admin user with RDP
    Using the new UX from " PC Settings -> Users and Accounts -> "  delete the recently created microsoft account
    Create a local (not microsoft account) account where with the name that would be before the @ (i.e. user77)
    Go to the Old user management interface (either the computer management MMC or the "System Properties->Remote" tab and give the created local user remote desktop access rights.
    Now log off as admin
    Remote desktop and use username of DNSName\User77  (note no @outlook.com)
    Let the login process finish
    Make sure any feedback questions are answered
    Now navigate to the new UX using " PC Settings -> Users and Accounts -> " and link the local account with your Microsoft account.
    You will have to authorize the microsoft account, typically with a text message + verification code
    Wait 2 minutes (using a A1 size VM there seemed to be some background stuff for account linking)
    Log out
    Now log in using DNSName\[email protected]
    Success!
    I hope this helps anyone else who is using Azure VM's to test out Windows 10 client technical preview.
    -N
    neilgo

    Hi
    We use a custom imagine and experience this quite alot.  Usually host name is missing and we have to redeploy.
    Seems to have gotten worse as we add more vms.
    Should we not sysprep when capturing a vm?
    Orginal vm came from the gallary and we've simply resized os to 30gb.
    Main role for our vms is job processing so stop deallocate when finish to keep costs down buts prooving to be more trooblesome that expected due vms dieing.
    We have a number which we don't shut down which are problem free.  so I suspect the stop deallocate and self heal are still early days.
    My monitor has reported issues with 40+ vms this evening.  Are there issues or updates going on in western europe?

  • Optimization of an update that uses multiple selects on the same table

    Oracle version : 10g
    Hello,
    I have created an UPDATE statement which uses two selects on a single table to do an update according to date criteria.
    Due to the fact that the update has different criteria for updating according to whether the date falls within one of two ranges
    (future or past) two selects were used together with a union between them to unite the results.
    The end result is of course two full table scans and a poorly performing execution.
    The goal is to update a field XDEL (type number) based on a date column value (column XDATE) where the dates of interest
    fall both in the past (less than sysdate minus 45 days) and in the future (greater than sysdate +90 days). For records with XDATE
    values within these ranges, I wish to set field XDEL=1
    For records in the future (>=sysdate+90):
    for a unique combination of XNAME+XCODE, where XDATE is within the date range for update, set XDEL=1
    but for a non-unique combination of XNAME+XCODE+XDATE, update XDEL=1 only for the 'oldest' future record, ie update XDEL for MIN(XDATE) only
    For records in the future (< sysdate+45):
    for a unique combination of XNAME+XCODE, where XDATE is within the date range for update, set XDEL=1
    for a non-unique combination of XNAME+XCODE, update XDEL=1 only for the 'newest' past record, ie update XDEL for MAX(XDATE) only
    The combination of XNAME+XCODE XDATE is unique. As an example of the 'in the past' scenario:
    XNAME | XCODE | XDATE
    ================
    1. AAAA ~ 002 ~ 01/01/2006
    2. AAAA ~ 002 ~ 02/01/2006
    3. AAAA ~ 002 ~ 03/01/2006
    4. XXXX ~ 123 ~ 02/01/2006
    Here, we would update XDEL in record 3. as it corresponds to MAX(XDATE) for the GROUP AAA002 (and we would also update record 4. as a unique record that meets the criteria)
    As an example of the 'in the future' scenario:
    XNAME | XCODE | XDATE
    ================
    1. HHHH ~ 002 ~ 01/01/2011
    2. HHHH ~ 002 ~ 02/01/2011
    3. HHHH ~ 002 ~ 03/01/2011
    4. XXXX ~ 123 ~ 02/01/2011
    Here, we would update XDEL in record 1. as it corresponds to MIN(XDATE) for the GROUP HHHH002 (and of course 4. as a unique record that meets the criteria)
    Here is a query that works, but is slow:
    UPDATE TAB1 SET XDEL=1 WHERE (XNAME,XCODE,XDATE) IN ((SELECT XNAME,XCODE,max(XDATE) FROM TAB1 WHERE XDATE < sysdate-45 GROUP BY XNAME,XCODE) UNION (SELECT XNAME,XCODE,min(XDATE) from TAB1 WHERE XDATE >= sysdate+90 GROUP BY XNAME,XADDR));
    XDATE is a DATE type
    XCODE and XADDR are VARCHAR2
    XDEL is number type
    Any ideas would be greatly appreciated.

    Here is a suggestion. The code is not tested.
    update tab1 t1
       set xdel = 1
    where exists (select null
                     from (
                            select xname,
                                   xcode,
                                   max(case when xdate < sysdate-45 then xdate else null end) xdate1,
                                   min(case when xdate >= sysdate+90 then xdate else null end) xdate2
                              from tab1
                             group by xname, xcode
                          ) t
                    where t1.xname = t.xname
                      and t1.xcode = t.xcode
                      and (t1.xdate = t.xdate1 or t1.xdate = t.xdate2))

  • Anyone using Drupal 7 with Oracle 11g?

    I am currently with a group that fields PHP applications on top of Oracle 11g databases. We currently use OCI8 in a RHEL6/Apache environment for our homegrown PHP apps and sites. We are looking at using Drupal 7 to help stream-line our development process as well as make our web apps a bit more visually appealing. (engineers not artists here!).
    The problem we have run into is that it seems Drupal 7 does not see or recognize the OCI8 driver as valid for its install. It apparently wants us to use PDO_OCI which we have no experience with.
    Does anyone out there run a Drupal 7/Oracle 11g combo that could share their experiences and which driver they use? My googling of the subject has led me to believe the PDO driver may be inferior in some respects to OCI8 for BLOB handling. This is a concern as we do a lot of user upload file sharing as BLOBs stored in the database rather than as files on the OS.
    Thank you.

    Drupal needs PDO and won't work with native drivers like OCI8. Contact Andrea Gariboldi, the maintainer of the Oracle adapter for Drupal http://drupal.org/project/oracle. He maintains a number of customer sites running Drupal. He will be able to help you make a decision.
    The main PDO_OCI issues with LOBs are: (1) no CLOB support due to original creator being unsure how to handle CLOBs in a portable way across all databases (2) a crash doing multi-row fetches of BLOBs (potential patch in https://bugs.php.net/bug.php?id=57702)
    There are other issues with PDO_OCI including no connection pooling and no statement caching. It's a pity the community interest in PDO_OCI hasn't been greater and so no one is maintaining it. Even the core PDO layer isn't getting much attention - there was idle talk recently about moving PHP away from PDO.

  • HOW TO DELETE PARTICULAR TRIPLE SET FROM Oracle SEMANTIC TABLES in 11g

    Can somebody help us how to delete a particular set of triples from Oracle(11g) semantic that we have. Because we noticed that few triple belongs to particular data sets were wrongly loaded so we need to remove only those triples.
    Usually we delete all triples including others such and reload them again along with new triples. We would like to avoid this as we go to production.
    Otherwise When we insert a set of triples belongs to a particular data set, is it possible to know what ids Oracle assigned to that set? Can we delete by id? Just a thought.
    Rgds
    Srini

    Hi,
    It is very strange. I got an email in my inbox saying that you want to find out
    IDs of triples that belong to RNAIDB data set like the following.
    "<http://www.lscdd.lilly.com.sg/lscdd/RNAIDB/...../.../:>".
    This forum does not have your message somehow.
    Assume you have asked such an question :), my answers are
    1) from a modeling perspective, it is not a very good idea to encode
    semantics in the URI lexical form itself. A URI should be treated
    as a symbol.
    2) now assume you have a valid reason for doing this, you can try something like the following.
    CREATE INDEX testdel_sub_idx ON tstdel (triple.GET_SUBJECT());
    -- You can then get the rowid out for those offending rows.
    select rowid
    from tstdel t
    where t.triple.GET_SUBJECT() like '<urn:su%'
    -- Or you can remove them directly.
    delete from tstdel t
    where t.triple.GET_SUBJECT() like '<urn:su%'
    ;

  • Unable to perform update/insert queries on ACCESS db

    Hi,
    I've configured my odbc (Access driver). I'm using user dsn. The dsn created is "Fitnet". Below are the source code.
    I am able to execute SELECT queries by using statment.executequery , but when I try to execute an update or insert query using statment.executeUpdate I get an exeption from the driver "Tow few parameters expected 3 "
    What is wrong , do I nead to configure any thing sprciasl on my ODBC ??
    Please raplay also to [email protected]
    or [email protected]
    Thanks Shahar.
    Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
    String url = "jdbc:odbc:Fitnet";
    Connection con= DriverManager.getConnection(url,"","");

    HI
    I have a class called main maneger that performes the query the code is :
    public void ExecuteUpdateQuery(Query query) {
    try {
    log.writeDebugMessage("Before executing query");
    log.writeDebugMessage("Executing : " + query.getQuery());
    stmt.executeUpdate(query.getQuery());
    log.writeDebugMessage("After executing query");
    } catch(SQLException e) {
    System.out.println(e.getSQLState() +" " + e.getMessage());
    log.writeException(e);
    The querie itself is (this is a constractore that creates the query :
    public AddTraineeQuery(Trainee Trainee) {
    DateFormat dF = DateFormat.getDateInstance();
    query = "INSERT INTO Trainee(Trainee_Id , Trainee_password , Trainee_Address, Trainee_Name , Trainee_Phone , Trainee_Gender , Trainee_SessionTime , Trainee_Purpose , Trainee_HealthStatus , Trainee_StartDate , Trainee_Birthday) VALUES (" +
    Trainee.getUserId() + ',' +
    '"' + Trainee.getUserPassword()+ '"' +',' +
    '"' + Trainee.getUserAddress() + '"' + ',' +
    '"' + Trainee.getUserName() + '"' + ',' +
    Trainee.getUserPhoneNumber() + ',' +
    Trainee.getUserGender() + ',' +
    Trainee.getTraineeSessionTime() + ',' +
    Trainee.getTraineeTrainingPurpose() + ',' +
    Trainee.getTraineeHealthStatus() + ',' + '"' +
    dF.format(Trainee.getUserStartDate()).toString() + '"' + ',' + '"' +
    dF.format(Trainee.getUserBirthDay()) .toString() + '"' + ')';
    When I look at the log output I see :
    INSERT INTO Trainee(Trainee_Id , Trainee_password , Trainee_Address, Trainee_Name , Trainee_Phone , Trainee_Gender , Trainee_SessionTime , Trainee_Purpose , Trainee_HealthStatus , Trainee_StartDate , Trainee_Birthday) VALUES (6,"333","hhhh","rafi",048231821,true,63,4,true,"Feb 22, 2002","Feb 22, 2002")
    and I get the eror
    [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 4.
    P.S when I copy and the query from the log into access db it works
    Thanks

  • Unable to make updates

    I just restored and installed the latest version of Snow Leopard to my '08 macbook. Everything seems to have gone fine, except for the fact that I am unable to instal new updates. The following message appears: "There was a problem installing this update.Quit all open applications and try updating again. If the problem continues, contact Apple support." However, at the same time the message "The update was installed successfully." All applications ARE closed when I install the updates. If anyone can explain to me how this error could be fixed, I will be extremely appreciative.
    Thank you!!

    All applications ARE closed
    Are your apps closed or actually QUIT? If you simply hit the little 'x', the window is closed, but he app remains open. You need to hit Command + Q (or go to File menu of app and click on 'quit....'
    So, make sure you've properly quit every app. Then try to re-apply the combo 10.6.7 updater.

  • Flat file to tables (insert/update/delete) using utl file.--urgent

    Hi all,
    Scenorio s here ...
    ex : emp
    EMPNO
    ENAME
    JOB
    MGR
    HIREDATE
    SAL
    COMM
    DEPTNO
    STATUS -- i/U/d
    flat file records willbe like this ....
    I^001^name^job^manager^10-dec-2002^90000^900^^
    I^001^name^job^manager^10-dec-2002^90000^900^343^
    U,002^name^job^manager^10-dec-2002^90000^900^899^900
    U,002^name^job^manager^10-dec-2002^90000^900^899^900
    The first record indicator show I , so need to insert into the table emp.The second record indicator show U , so need to update the table emp.like this i've 5 tables(different structure and large data ).
    How do i upload data into concern tables using procedures using UTL_file.
    Needs to generalised the processing (for each table specific)..........
    (me right now doing this way...in a pakage with UTL_FILE using pl/sql tables,parsing the record by record ,
    storeing the values in a pl/sql table then insert/updates....)
    any sugg'n ? idea? sample code ?
    Thanx OTN members.

    Hi Ganesan,
    Hope it will help.
    Best Regards
    CREATE OR REPLACE PROCEDURE TEST_UTL
         loc_input_file                varchar2(30) ;
         loc_input_path                varchar2(30) ;
         loc_utl_file                UTL_FILE.FILE_TYPE;
         loc_get_data           varchar2(500);
    BEGIN
    loc_utl_file := UTL_FILE.FOPEN(loc_input_path, loc_input_file, R');
    BEGIN
              LOOP
    UTL_FILE.GET_LINE(loc_utl_file,loc_get_data);
    IF SUBSTR(loc_get_data,1,1) = 'I' THEN
                   INSERT INTO ..........
              --     USE SUBSTR function for columng break
              ELSIF SUBSTR(loc_get_data,1,1) = 'U' THEN
                   UPDATE ....................
              END IF;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
         UTL_FILE.FCLOSE(loc_utl_file);
    END ;
    EXCEPTION
    END;

  • Unable to make Ajax4JSF work (using NetBeans 6)

    Hi,
    I am trying to integrate RichFaces into a Netbeans Visual Web JSF application. I tried using the following in my jsp code but it seems like the event is not triggered. The action method is never entered into.
    <webuijsf:listbox binding="#{Bean.lstTest1}" id="lstTest1"
                            items="#{Bean.lstAvailableDefaultOptions.options}" rows="8"
                            selected="#{Bean.selectedItem}" 
                            valueChangeListenerExpression="#{Bean.lstTest1_processValueChange}">
                                 <a4j:support action="#{Bean.lstTest1_action}" event="onchange" 
                                           reRender="lstTest1,lstTest2"/>
            </webuijsf:listbox>I have also tried it with a textbox:
    <webuijsf:textField binding="#{Bean.textField1}" id="textField1" >
                               <a4j:support action="#{Bean.lstTest1_action}" event="onkeyup"
                                       reRender="lstTest1,lstTest2"/>
             </webuijsf:textField>Thank you for the help!

    Hi
    I followed exactly the instructions but still cannot get it to work.
    The WEB-INF does not contain a lib directory, I created over there and copied the JAR files.
    Then I tried by creating a LIBRARY in tools and then adding it but still no luck.
    I am using NETBEANS 6 VISUAL JSF
    compiling I get
    D:\Profiles\bgk007\RichFaces3\src\java\richfaces3\ApplicationBean1.java:10: package javax.faces does not exist

  • Please help, Unable to make a call using Skype

    On 10/19/12 I reactivated our Skype credit of $9.69 and received an email confirming that the credit was reactivated.  However, whenever we log on to Skype the Profile Completeness bar gets stuck at 50% and the Make A Call button is never displayed, even though our current credit is correctly displayed as $9.69.

    I have the same problem .....  This skype, without customer service truly is not worth
    the trouble.  I wish they would dispense with all the options and hire a few humans to
    perform customer service.  I have credit, changed my password and still just get propaganda
    of new services when I try to make a basic call.........Lovely huh!!
    elaine88208 wrote:
    I am having the same problem, there is no make a call button and I have no idea how to sort this out. I have reloaded Skype but to no avail.
    elaine88208 wrote:
    I am having the same problem, there is no make a call button and I have no idea how to sort this out. I have reloaded Skype but to no avail.

  • Unable to make a division between two indicators in Analytics 11G

    Hi everybody,
    I have a strange isssue with analytics 11g.
    I can't make a division or a multiplication between 2 indicators but addition and soustraction works..
    When I make a division with static number it works..
    Did you ever have this sort of problem?
    Thank you very much.
    Adrien
    Edited by: user13764656 on 28 févr. 2012 03:46

    The Addition is like that in my side :
    CASE WHEN ABS((FILTER("FACT - Market Facts"."Price" USING ("DIM - Market"."Market" = 'FR'))) - FILTER("FACT - Market Facts"."Price" USING ("DIM - Market"."Market" = 'DE'))) < 0.5 then 1 ELSE 0 END +* COUNT(DISTINCT("DIM - Delivery Date"."Hour"))
    Soustraction :
    CASE WHEN ABS((FILTER("FACT - Market Facts"."Price" USING ("DIM - Market"."Market" = 'FR'))) - FILTER("FACT - Market Facts"."Price" USING ("DIM - Market"."Market" = 'DE'))) < 0.5 then 1 ELSE 0 END - COUNT(DISTINCT("DIM - Delivery Date"."Hour"))
    Division (+Doesn't work+):
    CASE WHEN ABS((FILTER("FACT - Market Facts"."Price" USING ("DIM - Market"."Market" = 'FR'))) - FILTER("FACT - Market Facts"."Price" USING ("DIM - Market"."Market" = 'DE'))) < 0.5 then 1 ELSE 0 END */* COUNT(DISTINCT("DIM - Delivery Date"."Hour"))
    :(

  • Oracle 11G - Table access problem

    Hi,
    Iam new to Oracle...After creating a DataBase I created a connection and role has SYSDBA...
    And then I create a table....called Table1. And then I create a new USER and I Connect with same Databse SID but the role has DEFAULT for this new USER....
    01. But the problem is I cannot find the table -Table1 for this new user...so how to acess that Table1.....?
    02. I came to know in Oracle also we can design Forms for frontend and can generate EXE....Is it true?
    03. In SQL Server -Sql Port with static IP- we can access the Database for remote users.... For Oracle is it possible?
    Thanks for the directions....

    997497 wrote:
    Hi,
    Iam new to Oracle...After creating a DataBase I created a connection and role has SYSDBA...What user did you use to connect? I'm guessing that you logged in as SYS
    And then I create a table....called Table1. And then I create a new USER and I Connect with same Databse SID but the role has DEFAULT for this new USER....So I'm guessing that you created the table in the SYS schema. You should never, ever create user objects in the SYS schema. If you created the table in the SYS schema, you really need to drop it and create it in a more appropriate schema.
    You indicate that you're coming from SQL Server, so there is perhaps a terminology issue. What SQL Server refers to as a "database" is roughly equivalent to what Oracle refers to as a "schema". An Oracle database contains many schemas. A schema is the set of objects owned by a particular user.
    01. But the problem is I cannot find the table -Table1 for this new user...so how to acess that Table1.....?As I said above, you really, really shouldn't create objects in the SYS schema. If you really want to, though, you would need to log in to the SYS schema and grant access on the table to your new user
    GRANT SELECT ON sys.table1 TO your_new_userYou would then need to fully qualify the table name in your SELECT (or create a synonym or set the current_schema)
    SELECT *
      FROM sys.table1
    02. I came to know in Oracle also we can design Forms for frontend and can generate EXE....Is it true? Ancient versions of Oracle Forms would create client/server executables. Modern versions are used to build three-tier applications. You can also use APEX to build web-based applications. Of course, you can also generate executables by writing code in some other language (often .Net).
    03. In SQL Server -Sql Port with static IP- we can access the Database for remote users.... For Oracle is it possible?Is it possible? Sure. Depending on what "remote users" means though, it may be rather ill-advised-- you'd never want to open up a database to the internet directly, for example, you'd want to ensure that the remote users are connected to your network (i.e. via a VPN).
    Justin

Maybe you are looking for