Accessing Tables in Oracle

I do the migration from sql server to Oracle and everything comes under that particluar name. Now when I go into oracle under that user i can simply do select * from tablename. YET when I go into oracle on this database as another user I have to type in select * from USER.tablename. Is there a way of changing this such that we don't have to type in USER. Any information would be greatly appreciated. Thank you.

login as "user1" and give "select" privelege to view the tables from one user (user1) to another user (user2).
"grant select on table_name to user2;"
moreover you can create a synonym for the
USER.table_name like this
create public synonym table_name for user1.table_name;
while logged in as user2.
now if you say select * from table_name; you
can see the records from the user1.table_name.
hope this helps..

Similar Messages

  • Update Yes/No field in access table through oracle procedure

    Hi,
    How to update Yes/No field in access table through oracle procedure. all other fields like AutoNumber, Text I can update it. Yes/No field how to update? Please, any one can help me?
    Thanks and Regards,
    Sudha.

    Sudha Teki wrote:
    select "fldPost" from tblPHd@ODBCLNKNot quite sure what you mean, but the way you select the column would indicate a case sensitive column name
    Look at this example
    SQL> create table t
      2  ("this" varchar2(10))
      3  /
    Table created.
    SQL> insert into t values ('hello')
      2  /
    1 row created.
    SQL> select *
      2    from t
      3  /
    this
    hello
    SQL> select this
      2    from t
      3  /
    select this
    ERROR at line 1:
    ORA-00904: "THIS": invalid identifier
    SQL> select "this"
      2    from t
      3  /
    this
    helloIs your column name also case sensitive?

  • Copy access tables to oracle

    Hi, I want to copy access tables to oracle database.
    Till now I have opened the connections to both of them.
    Can anyone explain me what are the next steps?
    Here is the code that I wrote till now:
    String connString = "User Id=******* ;Password=******* ;Data Source=******* ";
    String connString2= " Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\\temp.mdb" ;
    OracleConnection oraConnection = new OracleConnection(connString);
    DbConnection accessConnection = new OleDbConnection(connString2);
    // openning the oracle connection
    try
    oraConnection.Open();
    Console.WriteLine("\nHello, Oracle Here!\n");
    Console.WriteLine("Connection String: ");
    Console.WriteLine(oraConnection.ConnectionString.ToString() + "\n");
    Console.WriteLine("Current Connection State: ");
    Console.WriteLine(oraConnection.State.ToString() + "\n");
    Console.WriteLine("Oracle Database Server Version: ");
    Console.WriteLine(oraConnection.ServerVersion.ToString());
    catch (Exception ex)
    Console.WriteLine("Error occured: " + ex.Message);
    finally
    if (oraConnection.State == System.Data.ConnectionState.Open)
    oraConnection.Close();
    //openning the access connection
    try
    accessConnection.Open();
    Console.WriteLine("\nHello, Access Here!\n");
    Console.WriteLine("Connection String: ");
    Console.WriteLine(accessConnection.ConnectionString.ToString() + "\n");
    Console.WriteLine("Current Connection State: ");
    Console.WriteLine(accessConnection.State.ToString() + "\n");
    Console.WriteLine("Microsoft Access Version: ");
    Console.WriteLine(accessConnection.ServerVersion.ToString());
    catch (DbException e)
    Console.WriteLine( "Unable to open database:" + e.Message);
    throw;
    }

    Hi Peter,
    Thanks for the feedback.
    I have replicated the issue also.
    Basically Dutch is not a supported language in SQL Developer.
    SQL Developer fell back on English as the default , but obviously this component, the Apply Button, has an issue.
    Your workaround is correct as it specifically tells SQL Developer to run English rather than waiting for it to fall back to the default language.
    Thanks,
    Dermot.
    SQL Developer Team.

  • Data in access tables to oracle tables

    Hi
    I want to load data from MS Access tables to oracle tables .
    Can any on help me to in this
    regards
    rajesh

    If you only want to export a few tables from Access to Oracle once, I would suggest to use the export functionality of MS Access. To do this you need to install an Oracle Client and further use ODBC to export the data/tables to your Oracle database.
    To avoid failures concerning the datatype transformation, I suggest to use the Oracle ODBC driver.

  • Error accessing table on Oracle 10g Express Edition

    I am unable to access tables uploaded after Oracle 10G express edition installation.
    The error message is ""ORA-00942: table or view does not exist"
    Meanwhile, the table is in existence when viewed via object browser.
    Pls can anybody help out.

    Hi;
    Which user you try to query? Table under which schema?
    You can query as follows:
    SELECT
    TABLE_NAME
    FROM
    ALL_TABLES
    WHERE
    TABLE_NAME LIKE '%xxx%'
    ORDER
    BY TABLE_NAME;
    Regard
    Helios

  • Migration of Microsoft Access Table in Oracle XE

    Hi all,
    i've got a MS Access DB with a table with over 50k rows in it. I need to transfer the data to my Oracle XE. I tried to use the "Quick Migration" option of SQL Developer but that won't work. I also extracted the data of the MS Access table into an insert script. Unfortunately the insert script is too big for SQL Developer, I just can't believe it.....
    Do you know how to solve this problem?
    Thanks in advance!
    Greetz
    keXx

    No prob, should be a sqlplus program button under the Oracle group, or do the Start/Run ... and type in cmd (windows) and sqlplus in the command box.
    May have to poke around a bit find out which database user to sign in as, best not to use sys or system users for regular data/tables.

  • How to migrate MS Access table to Oracle 8i

    I need to migrate MS Access v 97 tables to Oracle 8i and save as Oracle tables.
    Could you tell me in detail how to do it.
    Thanks a lot
    Zixing

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Shahbaz Rasheed ([email protected]):
    Originally posted by Oracle Migration Workbench Team:[b]Use the Oracle Migration Workbench Access plug-in. This will automate the process for you. The plug-in is available for download from this site.<HR></BLOCKQUOTE>
    Personal Oracle8 has Oracle MS Access Migration utility. You can migrate your data from Access to Oracle. If you still unable to migrate your data please email me at [email protected] I'll send you step-by-step for Migration document
    Regards
    Shahbaz
    null

  • Problems accessing tables in oracle database with ejb entity bean

    I have created a simple server application that uses an entity bean (version 2.0) for an existing table in oracle database, and a session bean that is used as an outside interface for performing operations on that table.
    after deploying the server and client application the client attempts to perform an operation with the session bean remote interface it obtained.
    The session bean uses a locale interface to communicate with the entity bean, but when it tries to use its methods (create, findByXXX) it always get the following Exception: java.sql.SQLException: ORA-00942: table or view does not exist.
    the table of course exists, and the username password I'm using has all the permissions needed for this table.
    note - I'm using the Forte enterprise edition 4.0 as developer tool.
    I'll be glad to get some help.
    Here is the full stack trace of the exception:
    javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: javax.ejb.EJBException: nested exception is: java.sql.SQLException: ORA-00942: table or view does not exist
    javax.ejb.EJBException: nested exception is: java.sql.SQLException: ORA-00942: table or view does not exist
    java.sql.SQLException: ORA-00942: table or view does not exist
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:643)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1674)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:314)
    at com.sun.ejb.persistence.SQLEngine.ejb20Finder(SQLEngine.java:226)
    at com.sun.ejb.persistence.PartitionImpl.ejbFinder(PartitionImpl.java:736)
    at com.cti2.telco.core.ejb.entity.userInfo.UserInfoEJB_PM.ejbFindByEmail(UserInfoEJB_PM.java:393)
    at com.cti2.telco.core.ejb.entity.userInfo.UserInfoEJB_PM_LocalHomeImpl.findByEmail(UserInfoEJB_PM_LocalHomeImpl.java:64)
    at com.cti2.telco.core.ejb.UserManagerEJB.authenticate(UserManagerEJB.java:77)
    at com.cti2.telco.core.ejb.UserManagerEJB.authenticate(UserManagerEJB.java:68)
    at com.cti2.telco.core.ejb.UserManagerEJB_EJBLocalObjectImpl.authenticate(UserManagerEJB_EJB
    LocalObjectImpl.java:63)
    at com.cti2.telco.core.ejb.dispatch.TelcoFacadeEJB.userLogin(TelcoFacadeEJB.java:80)
    at com.cti2.telco.core.ejb.dispatch.TelcoFacadeEJB_EJBObjectImpl.userLogin(TelcoFacadeEJB_EJBObjectImpl.java:24)
    at com.cti2.telco.core.ejb.dispatch._TelcoFacadeEJB_EJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:519)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:204)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:112)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
    at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
    ...

    Well it seems like the problems has a simple explanation. The Forte assigns a default table name (<entityName>EJBTable) when creating an entity bean from an existsing table in DB (which is not the same as the one it was created from !!!). Also, for reason unknown, when you deploy these entity beans, it doesn't even create the new table under its new name (even if instructed to).
    So using the Forte we managed to use successfuly only entity beans that were created "from scretch" (when deployed their tables are created).
    Does anyone know how to change the default name the Forte uses, and make it work properly with entity beans created from an existsing table (without going over the xml's) ?

  • Migrated MS-Access table  To Oracle

    Hi All,
    I have 5 table with 1000 rows in MS-Access, i want to migrate the data to otacle 9i in windows XP.
    kindly any one tell me, how to convert the table to flat file and how to import the flat file to oracle. OR anyother way to migrated the tables??
    Regrads
    S.senthil kumar

    You can save those tables as CSV. If it is not possible from Access (Generally from File menu then export) copy the rows, paste in excel and then save CSV.
    After that you have to use SQL* Loader to load them.
    One example
    Re: Urgent -----SQL * Loader Control File
    Case Studies of SQL Loader
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96652/ch10.htm#1656

  • Opening an Access table in Oracle through ODBC

    Hi all,
    Is it possible to open a linked table (Access or similar, or any other ODBC accessible table), similar to how one can make an ODBC table accessible as a linked table within an Access database.
    If not, is there an easy method to download an ODBC table into an Oracle table, other than through programming, i.e VB not SQL.
    Thanks in advance.
    David

    Any luck? I want to do the same thing. I need to pull info out of an Access database and put it in Oracle and do not want to do a flat file transfer. I looked at the Gateways mentioned in the first response but, have not found one for Access.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by David Andrews:
    Hi all,
    Is it possible to open a linked table (Access or similar, or any other ODBC accessible table), similar to how one can make an ODBC table accessible as a linked table within an Access database.
    If not, is there an easy method to download an ODBC table into an Oracle table, other than through programming, i.e VB not SQL.
    Thanks in advance.
    David<HR></BLOCKQUOTE>
    null

  • Loading MS Access Table and Data into Oracle

    Hi,
    I have few tables in MS Access. I want to create same layout of tables in Oracle and want to populate data from MS Access tables to Oracle tables.
    Please let me know if there is a way by which I can create tables and load data automatically (thru some option or script)?
    I have Oracle 10g database and its clients.
    Thanks in advance,
    Rajeev.

    You can use Oracle migration workbench
    Loading MS Access Table and Data into Oracle
    It´s very easy to use and good to import
    regards,
    Felipe

  • 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 connect access database through oracle sql prompt

    i want to connect access database via oracle , i am trying to import all the data in Access table into oracle table how it is possible .
    A.R

    The simplest way, if You have already created tables in Oracle DB, is to open the Access MDB, link Oracle tables via ODBC and build a query to append rows reading from Access tables to Oracle tables.
    Hope this helps
    Max

  • I am trying to have access tables of the Sql Server through the Oracle

    I am trying to have access tables of the Sql Server through the Oracle and this being occurred the error:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set.
    Please set it in init <orasid>.ora file.
    ORA-02063: preceding 2 lines from HSMSQL
    I created the ODBC with name HSMSQL.
    I made all the configurations in the archives
    tnsnames.ora:
    HSMSQL=
    (DESCRIPTION=
    (ADDRESS= (PROTOCOL = tcp)(HOST = wsus)(PORT = 1521))
    (CONNECT_DATA =
    (SID = HSMSQL)
    (HS = OK)
    listener.ora:
    (SID_DESC = (SID_NAME=HSMSQL)
    (ORACLE_HOME= C:\oracle\ora92)
    (PROGRAM =hsodbc)
    initHS_SID.ora:
    HS_FDS_CONNECT_INFO = HSMSQL
    HS_FDS_TRACE_LEVEL = OFF
    -- Create database link
    create database link HSMSQL.US.ORACLE.COM
    connect to TESTE identified by TESTE2
    using 'HSMSQL';
    But when I execute query the error occurs:
    Select * from TabTeste@HSMSQL
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set.
    Please set it in init <orasid>.ora file.
    ORA-02063: preceding 2 lines from HSMSQL
    Please they help me, thanks, Paulo.

    Hi,
    It seems that your configuration is Ok. By the way, the workaround for this error is:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for ODBC][H001] The environment variable <HS_FDS_CONNECT_INFO> is not set.
    * Set HS_FDS_CONNECT_INFO in the hs{sid}init.ora file to the data source name.
    Example: HS_FDS_CONNECT_INFO = <ODBC DataSource Name>
    * Make sure the hs{sid}init.ora file exists in the ORACLE_HOME/hs/admin directory and has the same name as the SID in the LISTENER.ORA.
    Example: If SID=hsodbc in the listener.ora file, then the hs{sid}init.ora file would be named ORACLE_HOME/hs/admin/inithsodbc.ora
    For more information see if this [url http://forums.oracle.com/forums/thread.jspa?forumID=61&threadID=576975]thread can help you.
    Cheers

  • How to export a table of data from MS Access 2007 to Oracle 11g

    I have been looking all over trying to find a way to get a table from Access 2007 to Oracle 11g. I tried using the export options in Access but can't get them setup correctly I guess. What are the steps to setting this up correctly or is there another way to export the data?

    MS Access 2007 DB migration To oracle 10g

Maybe you are looking for

  • Excise Invoice Tab is not display in MIGO for Cancelled document

    Hi, We are execuating the incoming excise cycle then in MIGO and J1IEX.It is perfectly working.But in case of cancellation the excise tab is not dispplaying in MIGO.We are using option "Only Capture and Both Capture & Post".Whatever the excise captur

  • WedServices From SAP Ecc

    Hi ALL, I know we can make our RFC function module to a Webservices and create a Endpoint for tht and other application can send message to it. My Query is can we call other WebServices Directly from ECC system... ? without using PI / XI .. Thanks Sh

  • Can I put the Bridge Cache on the external hard drive for images being located there?

    Hi, I'm on a MacBook Pro retina. While I have a 500 Gb hard drive, I notice that the Bridge CS 6 cache is getting larger quickly (looking forward to 1 Terabyte SSDs). I have most of my images on external hard drives, but Bridge CS6's cache seems to b

  • Iphoto showing wrong file size and length for movie after upgrade

    in iphoto, an AVI from my camera is shown as being 1:04 long and 76 MB. but playing the file shows it is 9 seconds long, and Finder shows the file as being 10 MB. a bit more about this file: I shot the video with my still camera and imported it. on t

  • Comparing contract scales prices with the manually entered price in a PO

    Need a function module or BAPI to compare price entered in PO with the scales prices maintained in the contract.The price field to be maintained in the  PO should be editable so that it can be compared with the scales prices in the contract.