How to apply in other schema

Hello,
Is it possible to apply the transactions in another schema than which is captured?
E.g. capture HR.EMPLOYEES and then apply the DML/DDL on SCOTT.EMPLOYEES.
Thanx in advantage!
Leo.

Note that RENAME_SCHEMA is not going to work for DDL.
Gregory G posted one way how to do it http://wedostreams.blogspot.com/2009/03/renaming-schema-of-ddl-statement-in-lcr.html
another way would be by using an action context

Similar Messages

  • Access other schema object from connection

    Hi;
    from the dbconnection, how can I access other schema object?
    Thanks

    Hi,
    I don't know if I understand correctly but if you mean the scenario you connect to the database as SCOTT and you want to map table EMPLOYEES from HR schema, you can do it within wizard and in read only view object you
    use schema name as prefix like select * from HR.EMPLOYEES. If you mean something else please describe it more.
    regards,
    Branislav

  • How to apply source to a schema?

    Hi,
    I want to apply new dump to the schema to test it.
    The dump is in another schema.
    Can any one suggest how to apply souce to a schema?
    Is there any script for this?
    Thanks
    Waiting for replies:)

    Hi
    What is your problem?
    Do you have an Oracle dump?
    Do you want to create your source table into another schema? Deploy it.
    Do you want to load your source data to another schema? Creat a mapping and load it.
    Ott Karesz
    http://www.trendo-kft.hu
    Message was edited by:
    ottkaresz

  • Page 0 security: authorization scheme not applied to other pages

    the page 0 security: authorization scheme not applied to other pages (neither as an override for existing pages nor as a default for new pages).
    how is this intended to work?

    mcstock,
    Can you clarify your question please? Can you give specific steps to reproduce this issue that you are inquiring about?
    Thanks.
    Joel

  • How can we copy table from one schema to other schema

    Hi,
    I have create one table in one schema and i want to copy it to other schema.How we can copy table from one schema to other schema

    Hi,
    You can try something like this :-
    SQL> CONNECT SYS/SYS123@SERVER AS SYSDBA
    Connected.
    SQL> CREATE USER TEST_1 IDENTIFIED BY TEST_1;
    User created.
    SQL> CREATE USER TEST_2 IDENTIFIED BY TEST_2;
    User created.
    SQL> GRANT CONNECT,RESOURCE,DBA TO TEST_1;
    Grant succeeded.
    SQL> GRANT CONNECT,RESOURCE,DBA TO TEST_2;
    Grant succeeded.
    SQL> CONNECT TEST_1/TEST_1@SERVER
    Connected.
    SQL> CREATE TABLE TEST_COPY ( TEST_COL NUMBER );
    Table created.
    SQL> INSERT INTO TEST_COPY VALUES ( 1 );
    1 row created.
    SQL> INSERT INTO TEST_COPY VALUES ( 2 );
    1 row created.
    SQL> COMMIT;
    Commit complete.
    SQL> GRANT ALL ON TEST_COPY TO TEST_2;
    Grant succeeded.
    SQL>  CONNECT TEST_2/TEST_2@SERVER
    Connected.
    SQL> CREATE TABLE TEST_COPY AS SELECT * FROM TEST_1.TEST_COPY;
    Table created.
    SQL>  SELECT * FROM TEST_COPY;
      TEST_COL
             1
             2Regards,
    Sandeep

  • How to move one table to other schema

    Hi;
    imagine i have one schema A and i create table in this schema as test. Now i have one other schema,name is B. I wanna move my A.test table to B.test2
    How i can do it?
    thanks

    Following discussion might help How to move the table to the another schema?

  • How does Apex access and manage db objects in other schemas?

    I'm looking for a description of how Apex accesses and manages database objects in other schemas.
    I'm sure I've seen such a description somewhere earlier but am unable to find it again...

    Hi Rene,
    When you are connected to sqlworkshop, it is basically connected to the sceham owner of the workspace. If you execute the query
    select sys_context( 'userenv', 'current_schema' ), user,  username from user_users;you would see the schema and user(currently connected) and schema owner through which you have logged in. The user will have all the privileges granted to schema owner. So basically you get connected through APEX_PUBLIC_USER and it has all the privileges of the schema owner.
    In order to run scripts in another schema you would need grants on other schema same like you are connected to user A through sqlplus and wants to create objects in schema B. For example lets say you want to create a table in schema B and you have create table privileges in scehma B , you can execute command create table B.emp as select * from A.emp;
    I hope this answers your question.
    Regards,
    Manish

  • HOW TO DROP INDEX OF OTHER SCHEMA

    hi,
    I want to know how can we refer to objects that are of other schema. i need to drop an index of a table that belongs to some other schema and so if i write :
    drop tablename.indexname; - its not working.
    Please Help
    Thanks

    You are trying to drop an index on a table that belong to a different schema you are connected to.
    Do not add the table name to your command.
    Simply try
    drop index schema_name.index_name;
    Nico P.

  • How can I to rename Table in Other Scheme ?

    I some tables area backup, but all are in other scheme , How can I to rename all ?
    SQL> rename SYSADM.PS_LOC_CNTRCT_SN   to SYSADM.PS_LOC_CNTRCT_SN_999;
    rename SYSADM.PS_LOC_CNTRCT_SN   to SYSADM.PS_LOC_CNTRCT_SN_999
    ORA-01765: specifying table's owner name is not allowed

    @pmcda Look up prerequisites for RENAME
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9019.htm#i2064929
    SQL> show user
    USER is "SYSTEM"
    SQL> alter table scott.dept rename to department;
    Table altered.
    SQL> select * from scott.department;
        DEPTNO DNAME          LOC
            10 ACCOUNTING     NEW YORK
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
            40 OPERATIONS     BOSTON
    SQL> alter table scott.department rename to dept;Best regards
    Maxim

  • How to get the own schema data while calling the other schema's Procedure

    Hello Experts,
    I'm Sanjit, new to OTN forum.
    I'm using Oracle 10g 10.1.0.2.0 database. Another user Sush has created one procedure proc_1 like
    create or replace procedure proc_1
    as
    v_total number;
    begin
    select sum(amt) into v_total from trans_master where dot
    between add_months(sysdate,-3) and sysdate;
    dbms_output.put_line('last three months total transactions is: '||v_total);
    end proc_1;
    He has the Trans_master table and having 280 records and I have the same Trans_master table with 430 records
    inserted in last 3 months. He has granted execute privileges on the procedure Proc_1 to me. When I call the procedure
    I cannot call it directly like my own schema procedures: Exec Proc1;
    I am calling like : Exec Sush.Proc1 to get the result. My issue is: when the procedure is called,
    it is accessing the data from the Sush schema Trans_master table with 280 records total, but I want
    the procedure to get the total amount of transaction of 430 records from my own Trans_master table.
    Please resolve my issue which would be a great help. And is there any way to call the procedure of other schema
    by not attaching the owner name of the object with it?
    Thanks
    Sanjit

    Pleast take a look at "Definer's rights and invoker's rights" in the following article:
    http://docs.oracle.com/cd/E11882_01/timesten.112/e21639/accesscntl.htm#BABDDCHC
    I guess you need to define a stored procedure with "invoker's rights".
    If this is what you are looking for will have to define it in the stored procedure that you are going to call.
    The syntax is as follows:
    create or replace procedure <yourprocedure> authid current_user ...
    ...or (the following is the default, you don't have to use the "authid definer" keywords):
    create or replace procedure <yourprocedure> authid definer ...
    ...hm

  • How to restrict the user(Schema) from deleting the data from a table

    Hi All,
    I have scenario here.
    I want to know how to restrict a user(Schema) from deleting the values from a table created in the same schema.
    Below is the example.
    I have created a table employee in abc schema which has two values.
    EMPLOYEE
    ABC
    XYZ
    In the above scenario the abc user can only fire select query on the EMPLOYEE table.
    SELECT * FROM EMPLOYEE;
    He should not be able to use any other DML commands on that table.
    If he uses then Insufficient privileges error should be thrown.
    Can anyone please help me out on this.

    Hi,
    kumar0828 wrote:
    Hi Frank,
    Thanks for the reply.
    Can you please elaborate on how to add policies for a table for just firing a select DML statement on table.See the SQL Packages and Types manual first. It has examples. You can also search the web for examples. This is sometimes called "Virtual Private Database" or VPD.
    If you have problems, post a specific question here. Include CREATE TABLE and INSERT statements to create a table as it exists before the policies go into effect, the PL/SQL code to create the policies, and additonal DML statements that will be affected by the policies. Show what the table should contain after each of those DML statements.
    Always say which version of Oracle you're using. Confirm that you have Enterprise Edition.
    See the forum FAQ {message:id=9360002}
    The basic idea behind row-level security is that it generates a string that is automatically added to SELECT and/or DML statement WHERE clauses. For example, if user ABC is only allowed to query a table on Sunday, then you might write a function that returns the string
    USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'So whenever any user says
    SELECT  *
    FROM    table_x
    ;what actually runs is:
    SELECT  *
    FROM    table_x
    WHERE   USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'
    ;If you want to prevent any user from deleting rows, then the policy function can return just this string
    0 = 1Then, if somone says
    DELETE  employee
    ;what actually gets run is
    DELETE  employee
    WHERE   0 = 1
    ;No error will be raised, but no rows will be deleted.
    Once again, it would be simpler, more efficient, more robust and easier to maintain if you just created the table in a different schema, and not give DELETE privileges.
    Edited by: Frank Kulash on Nov 2, 2012 10:26 AM
    I just saw the previous response, which makes some additional good points (e.g., a user can always TRUNCATE his own tables). ALso, if user ABC applies a security policy to the table, then user ABC can also remove the policy, so if you really want to prevent user ABC from deleting rows, no matter how hard the user tries, then you need to create the policies in a different schema. If you're creating things in a different schema, then you might as well create the table in a different schema.

  • Macbook pro system running slow - etrecheck shows issues - any idea how to apply fixes?

    Hi I normally consider myself pretty web savvy but I'm totally lost on what to do here. This computer has been running slow since I got it, but the harddrive went sideways recently. I've never worked with a recovered drive - which I apparently have as my terminal lists my workfolder-2 so....I'm guessing I'm pretty screwed. I learned about etrecheck through the forums here but don't understand how to apply it
    Would anyone help me understand what I need to do?
    Here's my etrecheck:
    Problem description:
    very slow osx system even with only one or two apps open - standard 2013 macbook pro
    EtreCheck version: 2.1.5 (108)
    Report generated January 1, 2015 9:52:46 PM EST
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro9,2
      1 2.5 GHz Intel Core i5 CPU: 2-core
      4 GB RAM
      BANK 0/DIMM0
      2 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 4000 - VRAM: 512 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.8.5 (12F45) - Uptime: 4 days 8:16:35
    Disk Information: ℹ️
      APPLE HDD HTS545050A7E362 disk0 : (500.11 GB)
      disk0s1 (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) / : 499.25 GB (310.25 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      HL-DT-ST DVDRW  GS31N disk1 : (369.9 MB)
      disk1s1 (disk1s1) <not mounted> : 54 MB
      disk1s2 (disk1s2) <not mounted> : 26 MB
      disk1s3 (disk1s3) <not mounted> : 34 MB
      disk1s4 (disk1s4) <not mounted> : 33 MB
      disk1s5 (disk1s5) <not mounted> : 65 MB
      disk1s6 (disk1s6) <not mounted> : 29 MB
      disk1s7 (disk1s7) <not mounted> : 26 MB
      disk1s8 (disk1s8) <not mounted> : 20 MB
      disk1s9 (disk1s9) <not mounted> : 36 MB
      disk1s10 (disk1s10) <not mounted> : 12 MB
      disk1s11 (disk1s11) <not mounted> : 35 MB
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Configuration files: ℹ️
      /etc/hosts - Count: 2
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/VMware Fusion.app
      [not loaded] com.vmware.kext.vmci (90.4.18) [Support]
      [not loaded] com.vmware.kext.vmioplug.10.1.24 (10.1.24) [Support]
      [not loaded] com.vmware.kext.vmnet (0104.03.86) [Support]
      [not loaded] com.vmware.kext.vmx86 (0104.03.86) [Support]
      [not loaded] com.vmware.kext.vsockets (90.4.23) [Support]
      /System/Library/Extensions
      [loaded] at.obdev.nke.LittleSnitch (4228 - SDK 10.8) [Support]
      [loaded] com.globaldelight.driver.BoomDevice (1.1 - SDK 10.1) [Support]
      [not loaded] com.waltop.iokit.driver.USBAtTablet (1.1.0) [Support]
    Problem System Launch Agents: ℹ️
      [failed] com.apple.accountsd.plist
      [failed] com.apple.CalendarAgent.plist
      [failed] com.apple.coreservices.appleid.authentication.plist
      [failed] com.apple.pbs.plist
      [failed] com.apple.printtool.agent.plist
      [failed] com.apple.tccd.plist
    Problem System Launch Daemons: ℹ️
      [failed] com.apple.wdhelper.plist
    Launch Agents: ℹ️
      [running] at.obdev.LittleSnitchUIAgent.plist [Support]
      [not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
      [loaded] com.google.keystone.agent.plist [Support]
      [running] com.penpad.penpadtablet.plist [Support]
      [loaded] org.chromium.chromoting.plist [Support]
    Launch Daemons: ℹ️
      [running] at.obdev.littlesnitchd.plist [Support]
      [loaded] com.adobe.fpsaud.plist [Support]
      [invalid?] com.adobe.SwitchBoard.plist [Support]
      [loaded] com.github.GitHub.GHInstallCLI.plist [Support]
      [loaded] com.google.keystone.daemon.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.AAM.Updater-1.0.plist [Support]
      [loaded] com.adobe.ARM.[...].plist [Support]
      [failed] homebrew.mxcl.postgresql.plist [Support]
    User Login Items: ℹ️
      Boom Application (/Applications/Boom.app)
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
    Internet Plug-ins: ℹ️
      JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
      o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      AdobeExManDetect: Version: AdobeExManDetect 1.1.0.0 - SDK 10.7 [Support]
      Silverlight: Version: 5.1.20513.0 - SDK 10.6 [Support]
      FlashPlayer-10.6: Version: 15.0.0.246 - SDK 10.6 [Support]
      WidevineMediaOptimizer: Version: 6.0.0.12757 - SDK 10.7 [Support]
      QuickTime Plugin: Version: 7.7.1
      Flash Player: Version: 15.0.0.246 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
      googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      AdobePDFViewer: Version: 10.1.1 [Support]
      Autodesk123D32: Version: Autodesk123D32 1.0.6 - SDK 10.7 [Support]
      DirectorShockwave: Version: 12.1.3r153 - SDK 10.6 [Support]
    Safari Extensions: ℹ️
      Searchme [Installed] Adware! [Remove]
    3rd Party Preference Panes: ℹ️
      remoting_host_prefpane  [Support]
      Flash Player  [Support]
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          3% coreaudiod
          2% Activity Monitor
          1% WindowServer
          1% activitymonitord
          1% Google Chrome
    Top Processes by Memory: ℹ️
      168 MB Google Chrome
      49 MB Google Chrome Helper
      34 MB mds
      30 MB WindowServer
      26 MB Finder
    Virtual Memory Information: ℹ️
      93 MB Free RAM
      1.39 GB Active RAM
      1.35 GB Inactive RAM
      1.45 GB Wired RAM
      48.43 GB Page-ins
      17.53 GB Page-outs

    Searchme [Installed] Adware! [Remove]
    Start by going to Safari/Preferences/Extensions and un-install the above.
    17.53 GB Page-outs
    Adding some RAM would help. Even though you haven't restarted for 4+ days, this is a little high. The 2 places I’ve seen recommended most to buy reliable RAM are below. I have purchased RAM several times from Other World Computing and have always been very satisfied with the product and service. They have on-line instructions on how to replace the RAM. OWC has also tested RAM above what Apple states is the maximum. I now have 6GB installed on a machine supposedly limited to 4 GB.
    Crucial
    Other World Computing
    Activity Monitor – Monitor Performance Problems  
    Performance Guide
    Why is my computer slow
    Why your Mac runs slower than it should
    Slow Mac After Mavericks
    Things you can do to resolve slowdowns  see post by Kappy

  • How to apply an Outlook 2013 Open license to a pre-installed Office Home and Business 2013 installation for Email Auto Archiving functionality

    We're deploying new Dell pc's.
    Unfortunately we have a large existing install base of Office Home and Business in the field due to customers buying Office bundled on Dell machines.  Buying Open License Outlook licenses is more cost effective than upgrading to Office Pro Plus for all
    these users and is our preferred path.  We aren’t sure how to apply these Open License Outlook licenses since the Home and Business installations work off a single license key for all the applications

    Hi,
    Isn't the Office bundled on Dell machines already activated?
    If it's the OEM version that has been installed on the machines and you want to use retail product keys to activate the Office, it's not possible. You will need to uninstall the OEM version and install the retail version.
    You can check the OEM licensing system here:
    http://www.microsoft.com/OEM/en/licensing/productlicensing/Pages/office-2013-licensing-packaging.aspx
    To find more help about OEM depolyment, I should recommend you to get contact with the OEM Reseller Support System
    http://www.microsoft.com/OEM/en/Pages/contactus.aspx
    If I misunderstood anything, please feel free to post back.
    Regards,
    Melon Chen
    TechNet Community Support

  • How to apply album cover picture to all songs on cd not just one at a time?

    i found agreat website with free cd covers for my songs that will show up in the corner of my ipod. but i can figure out how to apply the picture to all the songs in an alubm an dnot just one, i can only drag the picture into the box in itunes one by one.

    I highly recommend Album Cover Finder
    http://www.amphonicdesigns.com/albumcoverfinder/
    It's not free, but it's worth the small investment of 9 bucks.
    I just point it to my iTunes library and it batch uploads the artwork to every file automatically.

  • Can't see DDL of views from other schemas in Developer?

    Hi,
    I've seen elements of this problem in other threads but this problem of course has it's own twist.
    I can see other schema's objects EXCEPT VIEW DDL.
    I have given a user every role and priv that I can and they still can't see the view ddl of another schema. They can see procedures, functions etc. just not the view. I've found that if I use the user that created the users I can see the DDL of all subordinate users. Users created under that schema can not see each others views no matter what rights are given. Interestingly enough sometimes when I look to display view DDL it will flash the DDL briefly before blanking the screen. very frustrating. All the Toad fanboys are crowing about how they couldn't possibly use a tool that doesn't allow them to see other view source.
    I have also looked for settings in the preferences but could find none.
    Is this a bug? It seems like one to me.
    Any help is greatly appreciated.
    Thanks
    Mark

    We have a bug logged for this.
    Sue

Maybe you are looking for