Access other schema's table without specify the schema name

Hi, need ur help again,
I would like to access other schema's table without specify the schema name. for example,
select * from hr.jobs;
What priviledges i need if i want to select the data in this way:
select * from jobs;
Thanks!

Public synonyms have their place, but are not generally a good idea as they will cause conflicts with other schemas and applications. Another think that you can do is issue the
ALTER SESSION set CURRENT_SCHEMA = schema;
The CURRENT_SCHEMA (8i and above) parameter changes the current schema of the session to the specified schema. Subsequent nqualified references to schema objects during the session will resolve to objects in the specified schema. The setting persists for the duration of the session or until you issue another ALTER SESSION SET CURRENT_SCHEMA statement. CURRENT_SCHEMA is a session parameter only, not an initialization parameter.
This setting offers a convenient way to perform operations on objects in a schema other than that of the current user without having to qualify the objects with the schema name. This setting changes the current schema, but it does not change the session user or the current user, nor does it give you any additional system or object privileges for the session.

Similar Messages

  • Select from table without specifying the column list.

    I want to reference the columns in select list without specifing the column name of a table.
    For example i am having a table called emp(id number,name varchar2(30)).
    I want to write a query which will display the name of the employees.
    But i don't want to specify the column name in the select list.
    Can anybody help me in this regard.
    Thanks in advance.

    I want to write a query which will display the name
    of the employees.
    But i don't want to specify the column name in the
    select list.So what do you want to specify in the select list?
    One way to display the names of the employees without specifying that you want the names of the employees would be
    select * from emp

  • Transaction data can be loaded into the Fact table without loading the

    Transaction data can be loaded into the Fact table without loading the corresponding master data (Example : Sales analysis transaction data can be loaded without populating any of its  dimension’s master data)
    a.     True
    b.     False

    Hi Kutti,
    True - You need to select the option in the infopackage - alwyas load even if no master data exists.
    Bye
    Dinesh

  • TEXT_IO.FOPEN how to pick file without specifying the full directory path

    Hi,
    I am using Oracle application server 10gR2 on Linux with forms 10g application. I am building the DEV/TEST/UAT environment on same Linux machine with one OAS.
    I am using TEXT_IO.FOPEN ('/home/oracle/check.txt','r') to read a server side file and it is working fine.
    Now I want to pick this file dynamically i.e. without specifying the full path. I am using TEXT_IO.FOPEN ('check.txt','r') and I copied file in forms_path directory in linux and even in $path directory in linux but none of them are working.
    Pls help me sort out this problem.
    Thanks in advance

    Hi,
    I have to read files in my app directory using TEXT_IO how is that possible?? I cannot set workingDirectory as my Oracle home is in a different location and as has been mentioned by others when I run the form on web it cannot seem to find the file in the default forms directory where all the .fmx file
    Is there any other file setting that needs to be done??
    Please help
    Thanks & Regards
    Mangesh Deshpande

  • Alternate fact table without disturbing the existing fact table in EIS

    I have a question in EIS, how to load or work with alternate fact table, without disturbing the existing fact table, pls provide me with some procedure and steps
    thank u in advance
    sunil

    Yes you can have multiple models and metaoutlines load one cube. I've done it before. The trick is you ahve one "master" metaoutline that you put all the measures in (even if they are manually added. You use that to build the cube. Then you can have multiple metaoutlines build different measures within the cube. The idea is you have to have them update different intersections or the last one in will be what you get. I have a client that gets sales info from one source, shipment info from a different relational source . in all I have 10 differnt models and metaoutlines that build one cube. you just lump the load statements into one CBS file. It works great (or as great as EIS works). The biggest issue is timing to make sure all the sources are available when the load is going to be doe. Of course you could build different parts at different times.

  • How to call or open without specifying the full path?

    hi all,
    how to call or open without specifying the full path?
    for example the following code of a when_button_pressed trigger.
    call_form('c:\test\student.fmx',hide,do_replace);
    open_form('c:\test\student.fmx');
    i want to specify only the form name.
    call_form('student.fmx');
    open_form('student.fmx');
    i m using developer 2000.
    regard
    Muhammad Nadeem
    [email protected]

    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\FORMS60_PATH=c:\test\;c:\orant\bin;...

  • How can i run external application without specifying the full path?

    for example, ms word executable file is winword.exe, but in java i am using the following command:
    Runtime.getRuntime().exec("\"C:\\Program Files\\Microsoft Office\\Office10\\winword.exe\");
    the thing is, i dont know where ms word is installed on every machine, so rather than making an assumption, do you know how i can run ms word without specifying the full path?
    thanks

    1) You could ask the user to tell you where it's at (and remember for next time)
    2) You could do a file search for it (and remember it for next time)

  • Create a tablespace without specifying the datafile path and name

    HI,
    Is it possible to create a tablespace without specifying the datafile path and name.
    For eg : if we just specify the tablespace name and the size of the datafile, the datafile should be created in a default location with default name? Is it possible?

    user13364377 wrote:
    HI,
    Is it possible to create a tablespace without specifying the datafile path and name.
    For eg : if we just specify the tablespace name and the size of the datafile, the datafile should be created in a default location with default name? Is it possible?Using Oracle-Managed Files
    Oracle internally uses standard file system interfaces to create and delete files as needed for the following database structures:
    * Tablespaces
    * Online redo log files
    * Control files
    Through initialization parameters, you specify the file system directory to be used for a particular type of file.
    EXAMPLE:
    The following parameter settings are included in the initialization parameter file:
    DB_CREATE_FILE_DEST = '/u01/oradata/sample'
    DB_CREATE_ONLINE_LOG_DEST_1 = '/u02/oradata/sample'
    DB_CREATE_ONLINE_LOG_DEST_2 = '/u03/oradata/sample'
    The following statement is issued at the SQL prompt:
    SQL> CREATE DATABASE sample;
    SQL> CREATE TABLESPACE tbs_2 DATAFILE SIZE 400M ;
    SQL> CREATE UNDO TABLESPACE undotbs_1;
    refer the link for more information:
    http://download.oracle.com/docs/cd/B10500_01/server.920/a96521/omf.htm

  • Hi. How can I delete the table without deleting the content? My pages is 5.2.2.

    Hi. How can I delete the table without deleting the content? My pages version is 5.2.2. Thank you for your help.

    There is no convert Table to text capability in Pages v5.2.2, as there was in Pages ’09 v4.3.
    You can keep the table while making the table grid vanish, leaving the existing tabular text structure. Select the table, and under the Format panel > Table tab, the following settings will produce this output. If selected, you can refine its document placement in the Arrange tab.

  • HT1766 I deleted some phone records (call numbers, dates) & texts. Can I access them from back-up without restoring the phone.  Don't want to alter what I have, just find what I later deleted

    I deleted some phone records (call numbers, dates) & texts. Can I access  them from back-up without restoring the phone.  Don't want to alter what I have, just find what I later deleted

    Without "pretending" to be yourself on the other phone (change settings) there's nothing else you can do.
    iOS devices are meant to be single user and can't view iCloud.com the same way a Mac or PC can do.
    You need to find a desktop or laptop machine (Mac or PC) to log in at iCloud.

  • How come I get all account information without specifying the username pass

    I intsalled the sun directory server and try a couple of sample programs available on the net to see how can i get the infromation form the server.
    The following is the actually code but how come i don't have to specify the user name and passoword??
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://192.168.1.196:13769/o=JNDITutorial,dc=opendataldap,dc=com");
    DirContext ctx = new InitialDirContext(env);
    //To read the attributes of an object from the directory, use DirContext.getAttributes()
    Attributes answer = ctx.getAttributes("cn=Ted Geisel, ou=People");
    for (NamingEnumeration ae = answer.getAll(); ae.hasMore();) {
    Attribute attr = (Attribute)ae.next();
    System.out.println("attribute: " + attr.getID());
    /* Print each value */
    for (NamingEnumeration e = attr.getAll(); e.hasMore();
         System.out.println("value: " + e.next()))
    }

    Were u able to connect and retrieve the values??
    If not, you should add these into env variable
    env.put(Context.SECURITY_PRINCIPAL, "cn=Directory Manager");
         env.put(Context.SECURITY_CREDENTIALS, "adminpwd");

  • Hi, every time i try downloading ios5 it reaches 100% and then the connection times out and nothing happens after that; though the internet connection is fine as i can access other sites etc. what could be the problem?i tried using 2 different modems.

    Hi, every time i try downloading ios5 it reaches 100% and then the connection times out and nothing happens after that; though the internet connection is fine as i can access other sites etc. what could be the problem?i tried using 2 different modems. Where can i download the ios5 from as my itunes is on my desktop which uses windows xp. Please help

    Download iOS 5.1
    iOS 5.1 (build 9B176) is compatible with iPad 1, iPad 2, iPhone 3GS, iPhone 4, iPhone 4S, iPod touch 3rd & 4th gen, and iPad 3. Additional builds are available for Apple TV 2 and Apple TV 3. The below download links are all direct downloads of iOS 5.1 from Apple.
    iPad 1
    iPad 2 Wi-Fi
    iPad 2 GSM (AT&T)
    iPad 2 CDMA (Verizon)
    iPad 2,4
    iPhone 3GS
    iPhone 4 GSM (AT&T)
    iPhone 4 CDMA (Verizon)
    iPhone 4S
    iPod touch 3G
    iPod touch 4G
    iPad 3 Wi-Fi
    iPad 3 GSM
    iPad 3 CDMA
    Apple TV 2 (9B179b1)
    Apple TV 3 (9B179b1)
    Source: http://osxdaily.com/2012/03/07/ios-5-1-download/

  • Is possible to work without extending the schema sccm2012? as I can do?

    I am implementing SCCM 2102
    and will not let me extend the schema
    in the forest. that I can make my
    implementation work seamlessly. Is it possible?
    thks

    Ok, thks,  I'm new to this and wanted
    to be sure because when shipping to
    discover both active directoryusers and devices
    have errors like 4913
    On 12/17/13 15:01:11, component SMS_SITE_COMPONENT_MANAGER on computer AOESCCMUIO.AgipOilEcuador.pri reported:  Configuration Manager cannot create the object "cn=SMS-MP-C01-AOESCCMUIO.AGIPOILECUADOR.PRI" in Active Directory (pri).
    Possible cause: The site server's machine account may not have full control rights for the "System Management" container in Active Directory
    Solution: Give the site server's machine account full control rights to the "System Management" container, and all child objects in Active Directory.
    Possible cause: Another Active Directory object named "cn=SMS-MP-C01-AOESCCMUIO.AGIPOILECUADOR.PRI" already exists somewhere outside of the "System Management" container
    Solution: Locate the other object with the same name, and delete the object from its current location.  Then allow the site to create a new object.
    Possible cause: The Active Directory schema has not been extended with the correct ConfigMgr Active Directory classes and attributes.
    Solution: Turn off Active Directory publishing for each site in the forest, until the schema can be extended.  The schema can be extended with the tool "extadsch.exe" from the installation media

  • How can I specify the PARTITION name at the time of data load?

    Hi,
    I have a table with 4 partitions. By using SQL*Loader I'm going to load data into the same. While inserting the records it should go to the 2nd partition only.
    Where should i specify the Partition name?
    Please clarify me with sample code.
    Thanks.

    Assuming that the partition is empty before the load, I would load the data into a temp table with the same structure as the partitioned table. After all the data is successfully loaded, exchange the partition of the table with the temp table using 'alter table ... exchange partition...'
    Another question is, how is your table partitioned?
    Message was edited by:
    Jens Petersen

  • How to specify the target name while deploying a code in OSB-- Plz Help

    Hi all,
    Am working in creating a cluster environment. For my testing i created a new managed server(OSB_Server) in 9001 port in the admin console itself and that server started running. The default managed server(Admin_Server) is in 7001 port. So when i deploy a code in 7001 sb console the WSDL gets exposed in 7001 because the default admin server port is 7001. While deploying a code in service bus admin console we are not specifying the target name. So how to specify the target name while deploying the code in service bus admin console. Plz help me.
    Regards
    Prabhu

    Hi Prabhu,
    There are three kind of server architecture possible for OSB -
    1. Single server - Everything gets deployed on Admin server itself
    2. Admin Server + Single Managed Server for OSB -- OSB configuration gets deployed on OSB managed server. OSB resources (proxy service, WSDL, Schema) will remain available on OSB managed server port only and NOT on admin server port
    3. Admin Server + OSB cluster -- OSB configuration gets deployed on OSB cluster. OSB resources (proxy service, WSDL, Schema) will remain available on OSB Cluster port(s) only and NOT on admin server port
    Converting one type of server architecture to any other type, requires a manual tedious process, so it is suggested that you create domain accordingly i.e. if you need clusters then while creating domain itself, create OSB cluster, so that all OSB applications gets deployed to OSB cluster. I will suggest you to create a clustered domain from scratch and import the configuration from your existing domian to this new clustered domain.
    You may refer-
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15022/toc.htm
    Regards,
    Anuj

Maybe you are looking for

  • Apple mail in mountain lion cannot download many attachment (corrupt)

    I have the same problem on all my macs, and also my friends. That includes: - MacBook Pro 17" - MacBook Pro 13" - MacBook 13" The problem is that almost every email attachment is corrupt. It means it can in most cases not be opened, except for photos

  • How to connect oracle

    i have post it in New To Java while i post it again in this Forum. my question is below: i want to let java connect with oracledatabase. and how to do with it? who can give me some example? thanks!

  • Disco Portlet definition in 9iAS: Get drop-down for parameterized sheet?

    The subject line says it all: If you have a parameterized sheet, should one get a drop-down of possible values when a Disco portlet is defined in 9iAS Portal? Or does one have to always type in the values manually? (I have created a custom item class

  • Camera not focusing

    I've had my passport since Nov 2014. Camera was awesome when I first got. Beautiful clear pictures. After the last update. The focus doesn't work at all. Takes 5 minutes for it to even attempt to focus anything, and forget about any close ups. The fr

  • No app show in Creative Cloud, white screen only.

    I uninstalled the Creative Cloud program and renstalled as per Adobe"s instructions and still get the same empty Creative Cloud window. This on a Wdos 7 machine and was working good until the last CC update.