How to create view/table from other user's view/table

Hi all
I'm using Oracle database 10g.
I create table/view on user XXX, how to I create table/view on user YYY from user XXX.
Thankyou,
Thiensu2810

user8248216 wrote:
Hi all
I'm using Oracle database 10g.
I create table/view on user XXX, how to I create table/view on user YYY from user XXX.
Thankyou,
Thiensu2810grant select on xxx.table_name to yyy;
create table/view table/view_name as select * from xxx.table_name;

Similar Messages

  • How to unlock the data from other user while editing

    Hi friends,
    I have created 4 maintenance views for a table. While editing data by using one view, I must be able to edit other data of the same table using other different view. But it is showing "The data is locked by user pagidala and can be displayed only. do u want to display locked data?". I must not get this error, it must permit me to edit the data. How it will be possible?
    Thanks,
    Ramesh.

    Hi,
    I think Its not possible because If there is such type of option there will not be data security.
    i.e. while your maintaing the data in table others can change it simultaneously and it can lead to errors
    If you wish Go to SM12 and remove the lock manually
    Regards
    Prasanth

  • How do I copy text from other users' replies?

    I have seen people post text from other replies in a discussion. Basically, it shows a screenshot of their reply and under it is your own. How do you do this? Is it something that unlocks at a future level?
    Thanks,
    Ethan7988

    Howdy Roger...
    I said:
    ... if you know how to set "Size" while in Simple Editor, ALL my problems ...
    I knew about the Advanced Editor... I just wonder why that very cool feature would not be considered "Simple"? It's not like there is not enough space for it
    Also C O L O R would be nice...
    Again plenty of room - for that matter, there is "almost enough room for ALL the tools on a single row. I'll let you switch to the Advanced Editor to compare
    They could get rid of a couple of tools, IMHO. I'll speak to both Editors and once you see my point, you will see that all would definitely fit on one row.
    Insert Video - I have NEVER seen even one video posted here
    Table tool is NOT WYSIWYG when you post the reply (I tried but once and was so disappointed I gave up after that one attempt)
    Spelling is pointless - all browsers worth using have their own built in spell active checker
    Insert LINK is not nearly robust enough to warrant using it - except if one knows about the search capabilities in the pane's TABs
    'Style' can all be done with Command + "a number key"
    I have used "Font Family" (only see the title of the menu as it is loading) only once that I can think of
    Why would a font appear different between Ppt for mac and mail? specifically the lower case "v"... spelled in a sequence
    Justify = I have used TWICEto show that I could actually do it when pasting an Arabic GoogleTranslate reply = pasted translated composition of the the character order to begin with and got worse when right justified
    HTML = I can never imagine needing to toggle this on and off but some one may
    OR -- the Reply button could just invoke the Advanced Editor to begin with!!
    best as always
    ÇÇÇ

  • How to create an ImageIcon from other ImageIcon's part?

    I have an ImageIcon instance and want to create an other one from the specified part of the initial icon.
    How can this be done??
    Thanks. Boris.

    If I were you, I would create a BufferedImage and paint the ImageIcon into it. You have the choice of either :
    - in the paint method itself, modify the clip bounds so as to make it only paint the desired region
    - or paint the image completely and then use BufferedImage's getSubimage method
    Either way, you'll get a BufferedImage that you can use to create your target ImageIcon

  • Selection of tables from other users.

    Hi,
    Is there any other way to select the tables of other schema other than using Schema name.table name.
    Thanks,
    Suresh Bommalata.

    Suresh Bommalata wrote:
    Hi,
    Is there any other way to select the tables of other schema other than using Schema name.table name.
    Thanks,
    Suresh Bommalata.Dear Suresh
    Please start reading the documentation from http://tahiti.oracle.com and stop asking "another ways" of any action in Oracle
    And please close the thread if you get the correct answer
    Is there any other way to select the tables of other schema other than using Schema name.table name.You can create a synonym based on schema_name.table_name and use the synonym to query the table

  • How to create iCal events from other applications?

    I want to create event linked with a certain document, e.g. when I've finishes a letter in Pages or in TeXShop, I want to create an event in iCal for reminder. I know, that I can in iCal create events and add the link to the file into the URL field of an event. But I want in Pages, TeXShop, Numbers, … to click: »Create reminder in iCal on <date>.«
    Is there a way for it?

    Cody,
    Read: http://discussions.apple.com/thread.jspa?messageID=8314404&#8314404
    You can use Firewire Target Disk mode: http://support.apple.com/kb/HT1661 to transfer the appropriate iCal files.
    ;~)

  • Viewing swf from HTML- user can view only once

    Hi,
    I have my swf files which are getting called in browser when user opens its corresponding page.
    To ensure my swf is not used by user for his other purposes, i had to strict it to view from HTML page which has a variable. Same variable is passed from swf to this HTML.
    if both variables does match then only swf starts preloading. this works fine for first time.
    But when user open the same page second time, he is only able to view preloader which does not progress further.
    When i delete my temp file then user is again able to view the swf only once.
    Can anyone tell me;
    1. what is reason the swf from temp file cannot access variable of its HTML
    2. am I doing it wrongly?
    3. do i need to clear cache everytime or their is another method to do it?
    Thanks.

    hello following is the code used;
    import flash.text.TextField;
    import flash.events.ProgressEvent;
    import flash.events.Event;
    import flash.display.MovieClip;
    //////////STAGE PROPERTIES//////////
    stage.showDefaultContextMenu = false;
    this.tabChildren = false;
    Mouse.cursor = "arrow";
    //////////CALL & SET VARIABLES//////////
    var Progress_txt:TextField = new TextField();
    var theFlashVar:String;
    var ver:String;
    var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
    for (ver in paramObj)
                    theFlashVar = String(paramObj[ver]);
    //////////START USER VERIFICATION//////////
    checkFlashvar();
    //////////HTML VERIFICATION//////////
    function checkFlashvar():void
                    //trace("CHECKING Flash VAR");
                    if (theFlashVar=="mystring01")
                                    InternalPreloader();
                                    //trace("pass var found");
                                    //InternalPreloader();
                    else
                                    //trace("VAR NOT FOUND");
                                    gotoLocalVar();
    //////////LOCAL VERIFICATION//////////
    function gotoLocalVar():void
    //////////LOAD LOCAL DATA////////// 
                    var keyLoader:URLLoader = new URLLoader();
                    keyLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
                    keyLoader.addEventListener(Event.COMPLETE, chkLocalVar);
    //////////CHECK ERRORS//////////
                    keyLoader.addEventListener(IOErrorEvent.IO_ERROR, onLoadError);
                    keyLoader.load(new URLRequest("C:/code.txt"));
    //////////CHECK LOCALLY LOADED DATA//////////
                    function chkLocalVar(event:Event):void
                                    if (keyLoader.data.passKey == "mycode")
                                                    //trace("pass key found");
                                                    play();
                                    else
                                                    //trace("Local VAR NOT FOUND");
                                                    stop();
                                                    parent.removeChild(root);
    //////////LOCAL FILE ERROR HANDELLING//////////
    function onLoadError(evt:IOErrorEvent):void
                    //trace("TXT FILE NOT FOUND");
                    stop();
                    parent.removeChild(root);
    //////////INITIATE PRELOADER STATUS//////////
    stop();
    function InternalPreloader():void
                    stop();
                    Progress_txt.x = 400;
                    Progress_txt.y = 300;
                    addChild(Progress_txt);
                    //trace("load progress event");
    //////////CHECK PRELOADER STATUS//////////
                    if (this.loaderInfo.bytesLoaded == this.loaderInfo.bytesTotal)
                                    //trace("checking if condition");
                                    finishedLoading();
                    else
                                    progressLoading();
    //////////PRELOADER PROGRESS EVENT LISTENERS//////////
    function progressLoading():void
                    //trace("progrss loading is running");
                    this.loaderInfo.addEventListener(ProgressEvent.PROGRESS,onProgress);
                    this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
    //////////PRELOADER PROGRESS STATUS UPDATE//////////
    function onProgress(p:ProgressEvent):void
                    Progress_txt.text = String(Math.floor((p.bytesLoaded/p.bytesTotal)*100))+ "%";
                    preloader_mc.bar_mc.scaleX = (p.bytesLoaded/p.bytesTotal);
                    //trace("checking progress");
    //////////PRELOADER STATUS COMPLETE-REMOVE LISTENERS//////////
    function onComplete(d:Event):void
                    //trace("Fully loaded, starting the movie.");
                    play();
                    //removing unnecessary listeners
                    removeChild(Progress_txt);
                    loaderInfo.removeEventListener(ProgressEvent.PROGRESS, onProgress);
                    loaderInfo.removeEventListener(Event.COMPLETE, onComplete);
    //////////PRELOADER STATUS 100% (LOCAL CONDITION)//////////
    function finishedLoading():void
                    //trace("loading completed");
                    removeChild(Progress_txt);
                    play();

  • How can I replicate table from a user to another user?

    I want replicate a table from a user to another user, I use DBMS_STREAMS_ADM.RENAME_SCHEMA, but it didn't work.
    who can tell this reason?
    scripts as following:
    create user strmadmin IDENTIFIED BY strmadmin;
    grant dba to strmadmin;
    BEGIN
    DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE(
    grantee => 'STRMADMIN',
    grant_privileges => TRUE);
    END;
    connect strmadmin/strmadmin
    --queue
    BEGIN
    DBMS_STREAMS_ADM.SET_UP_QUEUE(
    queue_table => 'STREAMS_QUEUE_TABLE',
    queue_name => 'STREAMS_QUEUE');
    END;
    --capture
    BEGIN
    DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
    schema_name => 'SCOTT',
    streams_type => 'CAPTURE',
    streams_name => 'S_CAPTURE',
    queue_name => 'STREAMS_QUEUE',
    include_dml => true,
    include_ddl => true,
    include_tagged_lcr => false,
    source_database => 'ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM',
    inclusion_rule => true);
    END;
    --instantiation
    DECLARE
    iscn NUMBER;
    BEGIN
    iscn := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER();
    DBMS_APPLY_ADM.SET_SCHEMA_INSTANTIATION_SCN(
    source_schema_name=>'SCOTT',
    source_database_name => 'ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM',
    instantiation_scn=>iscn);
    DBMS_APPLY_ADM.SET_TABLE_INSTANTIATION_SCN(
    source_object_name=>'SCOTT.DEPT',
    source_database_name => 'ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM',
    instantiation_scn=>iscn);
    END;
    --apply
    --transformation
    DECLARE
    s_dml VARCHAR2(30);
    s_ddl VARCHAR2(30);
    BEGIN
    DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
              schema_name => 'SCOTT',
    streams_type => 'APPLY',
    streams_name => 'S_APPLY',
    queue_name => 'STREAMS_QUEUE',
    include_dml => true,
    include_ddl => true,
    source_database => 'ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM',
    dml_rule_name => s_dml,
    ddl_rule_name => s_ddl);
    DBMS_STREAMS_ADM.RENAME_SCHEMA(
              rule_name => s_dml,
              from_schema_name => 'SCOTT',
              to_schema_name => 'TEST',
              step_number => 0,
              operation => 'ADD');     
    END;
    --start
    BEGIN
    DBMS_APPLY_ADM.SET_PARAMETER(
    apply_name => 'S_APPLY',
    parameter => 'DISABLE_ON_ERROR',
    value => 'N');
    END;
    BEGIN
    DBMS_APPLY_ADM.START_APPLY(
    apply_name => 'S_APPLY');
    END;
    BEGIN
    DBMS_CAPTURE_ADM.START_CAPTURE(
    capture_name => 'S_CAPTURE');
    END;
    /

    select * from dba_streams_rename_schemaWhat do you have there?

  • How to backup files from other user logged in as administrator

    RE: How to backup files from other user logged in as administrator AND/OR how to repair drive with "Invalid catalog PEOF"
    Hello,
    My MacBook Pro computer’s hard drive is not booting.
    I booted with the base operating system and ran Disk utilities and I got the following messages:
        Invalid catalog PEOF
        The volume could not be verified completely.
        This disk needs to be repaired.
        Disk utility can’t repair this disk. Backup as many files as possible, reformat the disk,
        and restore your backed-up files.
    The problem is that I have a couple of USERS set up on this computer, and it won’t let me backup the files of the second user.  The folders are locked and I can’t access them, even though I am logged in as the administrator.
    I made a boot disk on my other computer ( a MacPro Early 2008 ) desktop computer with the DiskWarrior 4.4 updater,
    but it won’t boot on my MacBook Pro.
    How can I backup these user files so that I can copy them back once I fix the drive?
    or better yet,  How can I repair the Invalid catalog PEOF on this drive?
    Thank you in advance for your time! 
    Bill
    THIS IS THE COMPUTER
    ================
    17” MacBook Pro 2.8GHZ 4GB Ram (purchased in 2009).
    Model: A1297
    Running Mac OSX 10.9.5

    Try using Disk Utility/Restore to copy the backup to a new location. Please note that this will reformat the destination partition which will erase all data.
    Do a backup. Boot to the Recovery Volume (command - R on a restart or hold down the option/alt key during a restart and select Recovery Volume). Run Disk Utility Verify/Repair and Repair Permissions until you get no errors.  Reformat the drive using Disk Utility/Erase Mac OS Extended (Journaled), then click the Option button and select GUID. Then re-install the OS.
    OS X Recovery
    OS X Recovery (2)
    When you reboot, use Setup Assistant to restore your data.

  • How do I hide my mailbox and mail contents from other users, leaving other functions of my iMac accessible?

    How do I hide my mailbox and mail contents from other users, leaving other functions of my iMac accessible?

    You don't have to shut down the computer to switch accounts. All you do is click the Apple symbol in the upper left and choose Log Out and that's it. You can also set up Faster User Switching by:
    1. Open System Preferences - Accounts
    2. Click Login Options
    3. Check the box called "Show fast user switching menu as" then choose from either icon, short name or name.
    Then when someone wants to switch users they can. The advantage of this method is if you are have a document open and don't want to close it the document will remain open. If the other user attempts to shut down the computer they can't until you have logged out thereby saving all your data.
    A very simple and elegant solution.

  • How do I move objects from other package to a newly created one?

    How do I move objects from other package to a newly created one?
    Thanks!

    Dear Anthony Pham ,
    for changing objects from one package to another package
    open that object for example Report
    open the report and than click GOTO select OBJECT DIRECTIORY ENTRY
    than it will open a popup in that popup click the change and give the new package
    Thanks
    Surendra

  • How to secure our program working folder from other users  and prog

    i want to secure my programme from other user and admin

    Yes that is always a good idea... Although you shouldn't do anything to upset your admin.

  • How to find permissions of a particular user on a table

    Hi
    every body i have requirement to check the permissions of a particular user on a table ,
    requirement is i am building a query builder ,wherein i have to load all the tables from database ,before loading the tables i need to check whether the user looged in as select permissions on that table ,
    how can this be achieved

    Here is an article with a list of privilege related dictionary views
    How do I find out which users have the rights, or privileges, to access a given object ? http://www.jlcomp.demon.co.uk/faq/privileges.html
    HTH -- Mark D Powell --

  • How to load the data from .csv file to oracle table???

    Hi,
    I am using oracle 10g , plsql developer. Can anyone help me in how to load the data from .csv file to oracle table. The table is already created with the required columns. The .csv file is having about 10lakh records. Is it possible to load 10lakh records. can any one please tell me how to proceed.
    Thanks in advance

    981145 wrote:
    Can you tell more about sql * loader??? how to know that utility is available for me or not??? I am using oracle 10g database and plsql developer???SQL*Loader is part of the Oracle client. If you have a developer installation you should normally have it on your client.
    the command is
    sqlldrType it and see if you have it installed.
    Have a look also at the FAQ link posted by Marwin.
    There are plenty of examples also on the web.
    Regards.
    Al

  • Can not open JPEG files and can not create JPEG files from other software

    Can not open JPEG files and can not create JPEG files from other software (For example from Solidworks).
    When I try to right click on a JPEG, a notice window appears written: "Windows Explorer has stopped working - Windows is
    checking for a solution to the problem" and then the notice box disapears, the desktop appears and I can continue working.
    From the other side - If I try to save as JPEG a screen of Solidworks (like a view of a part) the Solidworks falls but the JPEG
    is created (I can see its name in the directory I created it).
    I can open the JPEGS with the Paint software if I want but not with the Windows Photo Viewer.
    I have the feeling that the Windows Photo Viewer disapeared from my computer - just a feeling.
    I will appreciate your assistance.
    Avi T. 2014

    Hi,
    Did Windows Photo Viewer option appear when you right click the JPEG file and select open with?
    I would like suggest you use Clean Boot to troubleshoot if there is third-party software conflict:
    How to perform a clean boot in Windows
    http://support.microsoft.com/kb/929135
    Karen Hu
    TechNet Community Support

Maybe you are looking for

  • Hyperion Reports Error when running a report against HFM application

    Hi, Trying to run a report that the source is a HFM app and get this error: 5200: Error executing query: ALE syntax error near: line number 1 position 137 token Period Anyone know what might be the cause.. I have no idea as to what it could be. I'm n

  • How to install CC on a second computer

    I have the whole CC platform installed on my Apple pro computer However I need to install just Premiere on a second computer (windows based) because I need to burn DVDs from this second computer (dont have CD burner on the Apple, long story, basicall

  • Strange error when processing form

    Hi, I am getting an error saying "Statement did not generate a result set." when i try to process a textarea form field. code to process textarea is: <cfquery datasource="DMDs"> UPDATE utbl_ContentDetail SET ContentDetail= <cfif isdefined("FORM.Conte

  • Row to Column Conversion Question

    Hi All,            Could you please help on this sql query statement: SELECT BENEFIT FROM TEST_T ; BENEFIT QO,1G,1U,1W Out Put Needed like this BENEFIT QO 1G 1U 1W Thanks,

  • Using OCX controls in oracle forms 6

    Hi, I wanted to use the ocx control (filenet idmviewer control) in my forms. I imported the control using the ole importer. But i dont know how to reference it or so to say, how to use it to access my documents in the repository. Any help would be ve