Access table from a procedure

I use Oracle 10 g.

I have 2 bases U1 and U2, I have a table T2 owned by U2

I create a database in U1 link to U2 and the link works.

The U1 user, I can do select count on T2 @ < the database link name > and it works

But from a procedure in U1 that reference T2 using the link, I get the error ORA - 00942 Table or view does not left

Roles do not work inside a procedure. To simulate the error inside your procedure in Normal mode, select also execute the statement

ROLE OF THE VALUE NONE;

Then try to select your table if it gives errors, you must have administrative privileges on the table.

Kind regards

Tags: Database

Similar Questions

  • Droping a table from within a procedure by passing the name of the Table as an Argument

    HII All

    I want to remove a table from a procedure dynamically passing the table name as a parameter of a procedure manual

    to do this, I wrote the following procedure

    CREATE OR REPLACE PROCEDURE DEL_TAB (TAB_NAME IN VARCHAR2) AS

    V_TAB_NAME VARCHAR2 (10);

    V_STMT VARCHAR2 (50);

    BEGIN

    V_TAB_NAME: = TABLE_NAME;

    V_STMT: = 'DROP TABLE' | V_TAB_NAME;

    RUN IMMEDIATELY 'V_STMT ';

    DBMS_OUTPUT. PUT_LINE(V_TAB_NAME||) e TABLE DELETED ');

    END DEL_TAB;

    but whenever I'm execute it gives me an error

    ERROR on line 1:

    ORA-06550: line 1, column 15:

    PLS-00357: Table, view or sequence of reference 'A' not allowed in this context

    ORA-06550: line 1, column 7:

    PL/SQL: Statement ignored

    Please tell me the solution...

    Thanks in advance

    Alisson

    Why do you want to implement this procedure? If you want to remove a table just issue the DROP of stand-alone statement. Why write a procedure for this? Also you must understand the difference between REMOVE and DROP in the context of RDBMS. You either use them which is incorrect. DELETION is to remove rows from a table and DROP is to remove the database table.

    And with regard to your problem

    > RUN IMMEDIATELY 'V_STMT ';

    This should be

    immediately run v_stmt;

    You closed the V_STMT variable is in single quotes. You must remove the apostrophes.

  • Create a new table from another table which are ussing a stored procedure

    Hello

    I want to know if it is posibble to create a new table from another table which are ussing a stored procedure. This new table is created from another table that exists in the DB.
    (in the following code the table tbl1 exist in the schema of the DB, but temp_tbl1 does not exist, it must be created by the procedure)

    create or replace procedute temp is
    temp_tbl1 tbl1% TYPE; the temp_tbl1 will have the same type of tbl1
    Start
    create the table temp_tbl1 as (select * from tbl1);
    time of the end;
    \


    Thank you very much

    Yes, it is possible to create a table using a procedure.
    Do everything that use dynamic SQL is

    Try this:

    ==================================================
    create or replace PROCEDURE Create Table as
    BEGIN
    EXECUTE IMMEDIATE ' CREATE TABLE testtable in select * from testingtable';
    END createtable;
    ==================================================

    Kind regards
    Ankur

  • Table of DB tools list: how to access tables that are in the different SQL database?

    Hi all

    I work on an implementation of database (SQL server) and evaluates the Toolkit OR DB for this project.

    One of the requirements is that I need access to the tables that are in two different database

    (say Table to 1 DB and Table B to 2 DB).

    Our IT guy linked table in DB1 to DB 2 and I verfied this when I use the SQL server management studio.

    When DB 2 tables is filled, table from DB1 is also there. I can also do the same thing using MS Access.

    Table A of the DB1 is available for me enven if I only connect to 2 DB.

    Here comes the problem.

    When I use DB tool list Table.vi to access DB2, it does NOT list A table in DB1. It list only the tables in

    the database (DB2) which I am connection (using DB tool opened Connection.vi with a file DSN)

    So my work around right now is to open a separate connection both DB1 and DB2. However, this approach

    obviously creates a problem when I have to access a separate database constantly in my application.

    What would be a solution to this? I have search the Forum but only to see a post that is somewhat related to

    My question. (And it was published the 2004) Maybe I need to change the code in the orignial VI (DB tool list Table.vi)?

    My computer guy told me that he has not met this scenario since he wrote code in another environment such as

    VB and others and it has always been successful in linking the different database tables.

    I hope my question is clear and healthy because I don't really know much about database terminology.

    Any comment or suggestion is appreciated!

    Thank you

    Chad

    Ok.  Here is some information that I can work with.  Good.

    Your COMPUTER staff created a view called "VISUAL_WORK_ORDER".

    A view isn't a table.  It is a "virtual" table  Views are used to collect data (usually) in several different tables.

    But I guess that the code inside the DB tool list Table.vi returns a list of tables.  Views are not the tables.  Then "VISUAL_WORK_ORDER" does not appear in the list.

    HOWEVER, this should not really matter.  The view is here!  And it can be queried like any table.  So, you can use DB tools Select Data.VI... and wire in "VISUAL_WORK_ORDER" as the name of the table.  This will return the contents of the view.  Alto!

  • BlackBerry smartphones can not post with TwitterBerry, nor can I access Twitter from browser

    Since Twitter was DDoSed yesterday, my Curve 8330 m OS avec.138 does not connect to one. When I try to use TB 0.9.5 it returns network request failed. Connection running doctor does nothing. In the browser, I am unable to load Twitter. It shows just waiting and not is never beyond.

    Other sites and applications work correctly, so it is not a failure of data. I am also able to access Twitter from my computer and other phone. I also tried to reset my Berry and clear the browser cache.

    Help appreciated.

    My understanding of yesterday, it was pretty much everyone had difficulties to access Twitter from their phones. It goes without saying that, after a DDoS attack, they would return access slowly and ordinary computer connections are perhaps the safest or easiest to check. Is certainly not a deliberate slight against users of mobile phones.

    That said, I decided to change the TwitterBerry to UberTwitter yesterday due to the recommendations that I have read elsewhere and while the account check the procedure itself does not and continues to fail, I am logged in and able to update correctly. Then it is definitely working now, at least for me.

  • Create temporary table in the procedure

    I have a procedure which can be called at any time by multiple users. So I cann't use table in there, because on each call, the table is truncated and inserted. How can I create a temporary table in the procedure?

    Temporary tables in Oracle are different from other RDBMS like SQL Server.

    In Oracle, you create a global temporary table ONCE as part of the design of your database.

    create a global temporary table MyTableName (... columns...) on commit preserve rows;

    You can then use this table in your code as you would any other table.

    The difference is that any data that you insert in this table are only available/visible so that the code runs in the session, and if delete you / truncate the table it only removes the data for this session.  In this way, several sessions we can table without interfering with each other.

    (Note: instead of "preserve" you can change this to "delete" If you want that deleted data automatically when a commit is issued in your session, otherwise the data will be automatically deleted at the end of the session)

  • Update of a column of table from xml data

    Hello

    I have an obligation to update a particular table from xml data column. to do this, I wrote the code below but I am not able to insert. could you please a peek into that.

    create table emp3
    as
    select *From emp
    where 1=1;
    
    alter table emp3
    add (fax_response varchar2(50));
    
    /*create sequence EmailRecords_XMLFILE_SEQ
      minvalue 1
      maxvalue 999999999999999999999999999
      start with 1
      increment by 1
      nocache;*/
    
    /* create global temporary table EmailRecords_XMLFILE
      (
      ID NUMBER not null,
      xmlfile CLOB
      )
      on commit preserve rows;*/
    
    /* create global temporary table UPD_Email_Records_With_Xml
      (
      id NUMBER not null,
    
      response VARCHAR2(500)
    
      )
      on commit preserve rows; */
    
    
    

    the XML data is

    <FAX>
    <EMAILOG>
    <ID>7839</ID>
    <RESPONSE>FAX SENT</RESPONSE>
    </EMAILOG>
    <EMAILOG>
    <ID>7566</ID>
    <RESPONSE>FAX NOT SENT</RESPONSE>
    </EMAILOG>
    </FAX>
    
    
    

    CREATE OR REPLACE PROCEDURE proc_upd_email_records (
       loc_xml          IN       CLOB,
       p_err_code_out   OUT      NUMBER,
       p_err_mesg_out   OUT      VARCHAR2
    )
    IS
       loc_id   NUMBER;
    BEGIN
       loc_id := emailrecords_xmlfile_seq.NEXTVAL; --created sequence
    
    
    
       INSERT INTO emailrecords_xmlfile --created Global Temp table
                   (ID, xmlfile
                   )
            VALUES (loc_id, loc_xml
                   );
    
       COMMIT;
          insert into UPD_Email_Records_With_Xml --created Global Temp table
            (ID, RESPONSE)
            select x1.id,
    
                      x1.RESPONSE
              from EmailRecords_XMLFILE,
                   xmltable('/FAX/EMAILOGID' passing
                            xmltype.createxml(EmailRecords_XMLFILE.xmlfile)
                            columns header_no for ordinality,
                            id number path 'ID',
                            RESPONSE VARCHAR2(250) path 'RESPONSE'
    
                               ) x1
             where EmailRecords_XMLFILE.id = loc_id;
       COMMIT;
    
       UPDATE emp3 er
          SET er.fax_response = (SELECT response
                               FROM upd_email_records_with_xml pr
                              WHERE pr.ID = er.empno)
        WHERE er.empno IN (SELECT ID
                             FROM upd_email_records_with_xml);
    EXCEPTION
       WHEN NO_DATA_FOUND
       THEN
          raise_application_error
             (-20000,
              'Sorry ! The Xml File which is passed is empty. Please try with Valid Xml File. Thank you!!! '
             );
       WHEN OTHERS
       THEN
          p_err_code_out := 4;
          p_err_mesg_out := 'error in insertion=> ' || SQLERRM;
    END proc_upd_email_records;
    {code}{code}
    
    
    

    Someone suggest me a slightly easier way to insert data...

    Thank you...

    You're complicating things

    A simple MERGE statement will do.

    create or replace procedure (proc_upd_email_records)

    loc_xml in clob

    )

    is

    Start

    merge into e emp3

    a_l'_aide_de)

    Select id

    response

    from xmltable)

    "/ FAX/EMAILOG.

    by the way xmlparse (document loc_xml)

    the columns id number way "ID".

    , path of varchar2 (250) response 'RESPONSE '.

    )

    ) v

    on (e.empno = v.id)

    When matched then update

    Set e.fax_response = v.response

    ;

    end;

    /

    But there is no value added by using these temporary tables if you are not at least an intermediate XMLType column (storage preferably binary XML).

    -What is the input XML code?

    -What is the version of db?

  • How to import the selected tables from MySQL to Oracle

    Hello world:

    How can I import tables from MySQL to Oracle? I have more than 180 tables in my DB (MySQL), but I copy only 12 of them to ORACLE... rigth now I do it manually, using SQL Developer (rigth clicking on the picture icon and copy to Oracle) but now I need to do this automatically every 4 hours...

    I read on the dblink option, but I don't know if this is the best for this case...

    I appreciate all help.

    Best regards
    Jack

    Hi Jack,

    I think that with a db-link you can define an automated task (PL/SQL + programmer).
    We use a db-link to Oracle's RDBMS to MySQL. So we have no experience.
    We have created the db-link like http://www.pythian.com/news/1554/how-to-access-mysql-from-oracle-with-odbc-and-sql/

    Heike cordially

  • Dynamic temporary Table in stored procedure

    Dear expert,

    I'm trying to convert a database from MSSQL to Oracle 11 g. But I'm a little stuck on dynamic temporary tables in stored procedures.

    MS is normalize the data out dynamic SQL statements. In TSQL so I've created a Temp table with the number of columns that the SQL statement has, that I executed the SQL statement in the temporary table and then I was going to all the columns with the prompting separate command standard. Finally, I wrote the key table.

    If I want to do this process with only on SP, dynamic, rather than to define for each normalization process its own SP, so this possiple in Oracle?

    For example. "INSERT INTO Temp (PartNo, Descr, Type, price) SELECT PartNo, Descr, price from parts.

    PartNo. Descr | Type | Price
    AB00 | AKER GD245 | Monitor | 200.00
    AB01 | Samir QQ22 | Monitor | 120.00
    AQ05 | HB 5500DN | Printer | 550.00

    SELECT @R = Max (PartKey) of N_Parts
    INSERT INTO N_Parts (PartKey, PartNo) SELECT RowNum + @R, PartNo FROM (SELECT DISTINCT PartNo FROM Temp INCLUDING PartNo NOT IN (SELECT PartNo of N_Parts));
    SELECT @R = Max (PartDKey) of N_PartsDescr
    INSERT INTO N_PartsDescr (PartDKey, Descr) SELECT RowNum + @R, Descr FROM (SELECT DISTINCT Descr FROM Temp WHICH Desrc NOT IN (SELECT Desrc from N_Parts));
    ...

    Insert into Part_Data (PartKey, PartDKey, PartTKey, PartPKey)
    SELECT T0. PartKey, T1. PartDKey, T2. PartTKey, T3. Temp PartPKey T
    INNER JOIN N_Parts T0 to T0. PartNo = T.PartNo
    JOIN IN-HOUSE...

    So what is the best way, do not generate this dynamic Table Temp?

    Published by: 926165 on 08.04.2012 08:26

    926165 wrote:
    I'm trying to convert a database from MSSQL to Oracle 11 g. But I'm a little stuck on dynamic temporary tables in stored procedures.

    Just my 2 cents here.

    Conversion of database provider A to B of database provider is never really a great idea. The products are fundamentally different in many ways. Analysis of demand that needs to be ported from database at database B and then its implementation in a specific way to take advantage of the features of your new environment, accounting for all the differences between the implementations of provider will be your best bet.

    I say this because, for me at least, a conversion means that you take what you have and it in slam in what you need. The better approach is to analyse, design (to explain the differences in behavior between vendor implementations, such as mechanisms for read consistency) and proceed from there. This way, you have a solid base on which to start, instead of a skyscraper built out of toothpicks.

    See you soon,.

  • Bug? Tags accessibility conversion from Word 2007

    This seems to be a minor problem, but it is one that could create a lot of frustration for a disabled person using a screen reader to read tabular data in a PDF document.

    As you know, Acrobat plays well with applications Office allowing users to create (structured) tags, accessible PDFs from MS Office files. I just created a simple docx file with a (attached) table, and when I converted it to PDF, I noticed a difference in the tags that it creates from the conversion of Word XP. As see you in the Word file, the table is very basic, but one of its column headings is divided into two cells. It's actually a very common technique for the presentation of the data in the table. To automatically mark as cells of table header < TH > header lines in the PDF file, I put the first two lines of "Repeat header lines."

    Conversion from Word 2007 with the "Save as Adobe PDF", or any other method that uses the Acrobat plugin, creates a tree of tag that is missing a < TH > tag. I found the problem when I was testing a file with the JAWS screenreading software. Using the JAWS "active cell" command (Ctrl-Alt-Numpad 5) to announce the column headings. It reads the wrong header for the active cell because of the < TH > missing. So, in my example file, he announced $2 and $5 as amount 2010 rather than 2009. This could be quite confusing for a user, to say the least screen reader.

    Then, I compared the result to the new feature "Save as PDF or XPS" from Word 2007. This feature of the tag of the file properly and header to the height columns.

    Compare the joint "save-as-adobe - pdf.gif" to "Save-as-pdf - xps.gif. Note the < TH > tag empty (but necessary) in the image of the latter.

    As a validation test, I had a colleague with Word XP the file convert. These tags were right too. So this must be a problem between Acrobat and Word 2007.

    Someone at - it further comments on this? I'll conduct accessibility training and at the present time, it seems that the use of the Word 2007 conversion feature is the way to go.

    I'm using Acrobat 9 Pro.

    Thank you

    Joe

    Hey Joe,

    I feel your frustration. For any organization that needs or wants to commit to providing accessible information online
    a serious logistics problem raises its head. PDF, HTML, what is the right way to do (and it's possible)
    requires more resources (training, knowledge, hardware, software, changes to work flow, perhaps some staff members more).
    Is not "work smarter with less & pump more" in this place.

    Yes, it is useful (and necessary) for 'being one' with the 'paragraphs' - WCAG 1.0 - WCAG 20 S508.
    However, as soon as someone starts to provide PDF files which must be 'accessible' the first, most important reference is ISO 32000.
    The references of PDF from Adobe, which preceded the PDF becomes an ISO standard are useful; but ISO 32000 is the norm.
    In this documentation, there is a full discussion of what he * needs to be done to provide an accessible PDF.
    Without a good understanding of this content, other information tend to bring about a de-escalation of focus opacity, which can
    contribute to conceptual errors important view accessible PDF.

    Entry blog of Leonard Rosenthol AUC provides a link to the ISO standard permitted version Adobe (free) of the ISO 32000-1.
    http://www.acrobatusers.com/blogs/leonardr/Adobe-posts-free-ISO-32000

    You will find additional information useful in these two documents:
    (1) - PDF Accessibility QAnywhere (from the Acrobat SDK add-on)
    https://Acrobat.com/#d=J7bWW4LvNoznh8fHCsfZDg

    (2) - reading the PDF through MSAA
    https://Acrobat.com/#d=uIOvkVTP74kag3bXFJLIeg

    On the JAWS - Yes, very used. However, not the exclusively used on demand.
    If I use Windows Eyes, NVDA, a braille reader or something else then what?
    JAWS * not * defined 'is available '...

    Re: (1) (1)
    "Match and if...". »
    Consider "Stop front right on red".
    '' Respect '' is stop on Red - turn right
    'Intent' (aka usability) is stop on Red - Look Good to come from traffic that has the right of way - performance - when clear, turn right.

    But, at least, we don't talk of the "left on red" 8 ^)

    Re: (2). (2)
    Just an observation. A defective product that claims to be 'everything' may enter a sticky wicket entities (individuals/businesses).
    Put a high volume of defective products on its same does increase the probability that a "shadow".
    Quantity replaces quality just isn't a precursor to success.
    Target species - and national judicial action class action that has been taken against him with regard to the "accessibility" of services information online.
    Resolved now - see the web site of the NFB.

    Re (3) (3)
    Ah, but what would say Judy justice or judge Marily?
    Efficiency does not provide a product of the "whole".
    I doubt it will ever be a "one-click" seamless between the dominant products of one of the software houses.
    They are competitors intense. That it is not others providing provide a product of 'whole', right?
    For example, if the organization wants to 'make accessible PDFS' label then it pays transport costs - Adobe Pro, training, workflow appropriate, etc.
    which allow the delivery of PDF files meet the standards to which formed a well containing the tag output is PDF (accessible is a subset of this).
    There is no other way for PDF.
    If this cannot be done so there are always HTML as an acceptable method (for some it's the way privileged and only 'true').

    However, HTML is 'right' for accessiblilty is just as demanding in its own way.

    With each version of TA / dot release, JAWS - Windows Eyes - NVDA & others hone in on using PDF ISO 32000 Standard closer.
    This means that if you deploy "accessible" PDF, you will need to provide PDFS who live ISO.
    Do not forget that the paragraphs of S508 began when, in fact, HTML was 'it '. In terms of software that has been there are geological ages.
    For contemporary AT effectively analyze the PDF, the PDF file must be a PDF containing the tag well trained with a format/layout that reflects a logical hierarchy.
    Creation of all that it should start in the environment of creation with the author of the content.
    PDF post-processing output then ensures that the elements (tags) PDF are of the correct type, have the required attributes, etc..
    Without this, AT will not be able to provide the use of effect for the end user of the PDF file.

    So, for AT correctly 'work' the PDF file, elements of * must * have set the Scope attribute, values of row value and scope of column defined, etc..

    Scope, line Span, range column, ID of the Table and headers must be added in the framework of the post-processing in a PDF using Acrobat Professional.
    An alternative is the plugin Netcentric CommonLook for Acrobat Professional. What it does, Acrobat Pro can do; However, the CommonLook
    provides a robust user interface. Disadvantage: some 1 k $ per seat is not 'cheap' and it has a * steep learning curve * (Sitka Pass?).

    Two related table resources run this AUC thread (in post 3 and 4). They can be of some use.

    http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=23178

    When the "smelly things" feeds into the Lair of the fan, it is prudent to not be directly downstream, huh.
    Consider the target and the situation, in which they began.
    Consider delivery of the PDF accessible agencies fedgov or stategov.
    They won't be in front of the fan if the ease of use of PDF files becomes a problem.
    It will be rather those submitting. After the Agency said "accessible".

    Better to slow down and right or loading ramp of resources in support of "Annex" as to the stake themselves as someones 'feed' tomorrow, no.?

    Ultimately, PDF, HTML, or any 'format', accessibility is the ease of use + compliance.

    Needed improvements in the professional development and training, software/equipment, * time *?
    Yes. But, all of this boils down to 'where the rub the road' - what tires are you on?
    It can be done. I do a little bit at a time all day. Often, this is what it takes.
    Products to be delivered are provided; but, with no bad labeling and advancement is identified, celebrated and everything continues until the
    the 'road' is filled correctly.
    Won't wash outs, bridge collapse or what not tomorrow .
    (But then I'm a fan of "Holmes on Homes", which can go a long way toward understanding my point of view when it comes to accessible PDF).

    Re: function() {Return...
    Good question.
    Write my guess - either to leave the cut & paste that I made at the start of the application I used to assemble and captures screen or something related to the Adobe Forum application.
    It may be that I am "special"; If that were the case we my Lotto occasional quick choice would have been a big winner $ ago.

    FWIW-
    You will find a number of "Accessible PDF" related to resources in discussions at the Forum of the accessibility of the AUC.
    http://www.acrobatusers.com/forums/aucbb/viewforum.php?id=18

    Two PDF Accessible related on demand seminars are also available.
    Search for Duff Johnson and Charlie Pike (at page 2) seminars.
    http://www.acrobatusers.com/learning_center/eseminars_on_demand

    Be well...

  • Populating one table from another table

    Hi Forum...

    I'm trying to populate a table from another table using CFQUERY... I have no problem with the selection of data from the original table, but need help to get the data into the new table. I use MX 6.1 and access as the database server.
    The two arrays have domain names identical to the same place, and I don't want to have to code all the column names in the selection and insert command. for example

    < cfquery name = "GetData" datasource = 'somename' >
    SELECT * FROM AssetTable1 WHERE BarCode = "123456".
    < / cfquery >

    < cfloop query = "GetData" >
    < cfquery name = "InsData" datasource = 'somename' >
    INSERT INTO AssetTable2 (xxxx...)
    VALUES ("#xxxx... #'")
    < / cfquery >
    < / cfloop >

    I hope this makes sense

    Thanks in advance

    Dave

    If your tables are identical structures and their columns are of the same type and position, and both tables are in the same database, then put everything in a single query.


    INSERT INTO AssetTable2
    SELECT *.
    OF AssetTable1
    WHERE bar code = "123456".

    If the columns were in different positions, then you should be listed explicitly in the INSERT and SELECT the parts, but you get the idea.

    INSERT INTO table1 (col1, col2)
    SELECT col1, col2
    FROM table2
    WHERE all that...

    Phil

  • How to import the access table to XE

    Hi all
    I'm a newbie in the XE. I kinda dababase in access. I would like to import this table to XE. There are about 200-300 rows and 7 columns, it is possible to import this table? If Yes, how can I do this? more I'll add a few columns durong or after importation.

    Thank you and best regards,
    Rustam

    Published by: user10897725 on March 9, 2010 13:51

    Hello. I'm still a beginner and still regularly to seek help from the experts.
    But I do not have an alternative to the import and export Access tables with Oracle 10 G Ex.
    PS - I am running Windows XP.

    It is set up as an ODBC source Oracle.

    The notice must be in 2 parts.

    REM - start the Oracle database

    1 - set up the ODBC connection.

    2 export Access table in Oracle and import an Oracle table in Access.

    1 - setting up the ODBC:

    Open:

    Control Panel
    Administration tools
    Data sources (ODBC)

    You will see then 7 tabs.
    I used the first "User DSN" tab

    In this tab, click 'Add '.

    In the drop-down list, select "Oracle XE', which is at the bottom of the list. Click on "Finish".

    You will then go into the Configuration of the ODBC Oracle driver.

    You will be asked for a "Data Source name".
    Type in what whether, for example G ex as long as you don't forget what you call the 'Data Source'.
    The name of G EX later appears when you start using the ODBC connection.

    Description is optional.

    The TNS service name is a drop-down list. Select XE

    User ID. Enter the user name of the Oracle user to establish the connection.
    Don't forget that the user must have been granted connect and privileges of the resource.

    Next step is to "test connection".

    You should get a box that says "successful" etc...

    There are other tabs and drop down menus at the bottom of Oracle configuration. Pilot, but leave these as default and can be changed at a later date.

    You should see your newly created ODBC 'G EX' connection on the user DSN tab.

    Close the Admin Tools screen and Control Panel.

    2. move the table Access.

    You can use ODBC to Access tables to export in Oracle and Oracle Import tables in Access.

    The two will be in Access by using the tables import/link or export.

    Imports and exports follow the same path.

    For example. Export Access table to Oracle.

    In Access go to the display of tables and right-click on the table that you want to export.

    Select export and enregistrer save as Type, select ODBC databases in the drop-down list. (bottom)

    Click Ok.

    You will then get a screen "Select data Source".

    Choose the tab 'Data Source Machine', and you should see your named data source. (EX G)

    Select it and click OK.

    The service name must say XE

    Enter the Oracle user name and the password of the user with connect and resources.

    It should then be exported.
    Reverse the import process.

    Tips for Access tables.

    Oracle likes the names of tables and fields in capital letters. He doesn't like spaces in domain names.
    You may need to export the tables to one another access empty db to rename the table and or fields before exporting to Oracle.

    I hope this helps...

  • Exported to Oracle - MS Access tables Tables are there but not queryable?

    Access tables exported to Oracle via ODBC. The tables are there, but when I query them, I get:

    ERROR on line 1:
    ORA-00942: table or view does not exist

    -----

    SQL > user sho
    The USER is "USCG".

    SQL > select table_name from user_tables where table_name like 'org % ';

    TABLE-NAME
    ------------------------------
    org_

    SQL > select count (*) in the org_;
    Select count (*) in org_
    *
    ERROR on line 1:
    ORA-00942: table or view does not exist


    SQL > select count (*) in the uscg.org_;
    Select count (*) in uscg.org_
    *
    ERROR on line 1:
    ORA-00942: table or view does not exist


    SQL > connect system
    Enter password: *.
    Connected.
    SQL > select count (*) in the uscg.org_;
    Select count (*) in uscg.org_
    *
    ERROR on line 1:
    ORA-00942: table or view does not exist

    What I'm missing here?

    Thank you

    The problem is that you have created the table like this:

     create table "table_name" . . .;
    

    Instead of

     create table table_name . . .;
    

    Now, you need to reference the table using the character (""), but it is not recommended.
    Try to rename:
    {code} alter table 'table_name' Rename to table_name; {code}

    HTH

    Enrique.

    Published by: Enrique Orbegozo on October 29, 2008 15:21

  • I downloaded Multi Access Tool from Mcafee with Firefox Mozilla, how do I reinstall if it does not work properly?

    I downloaded Multi Access Tool from Mcafee with Firefox Mozilla, how do I reinstall if it does not work properly?

    My sincere apologies, my Mcafee came via the Optimum/Cablevision, not Mozilla. I now managed to solve my problem and appreciate the 2 above responses. Thank you.

  • Cannot access my Comcast mail since the last update. I can access it from Safari and Microsoft Windows, but generally do not either of these browsers use

    Cannot access my Comcast mail since the last update. I can access it from Safari and Microsoft Windows, but generally do not use either of these browsers. I chatted with Comcast and they are the ones who asked me to try to gain access to other browsers. And, as noted, I managed. Only my opening my email to Comcast.net inhibits the Firefox, the browser that I use on a regular basis because of this problem I can't use Firefox.

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

Maybe you are looking for