Cloning of the prod to test data (with names different ownerIDs/schema)

Hello
ID of owner or the schema of production data is different than in the Test environment; So what happens is that after cloning the database, all the tables are still owned by prod user and not the test user. So if we just update the ownerID in psdbowner, logging would not be possible because it begins to search tables in a different pattern. If we leave the entry in psdbowner as it is, then the connection is possible but is not what we want. We want owner id to be different in the TEST.

If we want to have all tables with an ID of owner different test than production; What measures should be taken?

Thank you
Vikas

You must export from the user of the production and import in the test user.
IMPDP in db 10g and more, within REMAP_SCHEMA option. However, there is no real reason to have another username across different environment, it's much easier to have the same username across all the env, especially if you want to copy the data files...

Nicolas.

Published by: Gasparotto N on May 31, 2010 16:46

Tags: Oracle Applications

Similar Questions

  • Copy of the Prod to Test data forms

    Hello

    We have lots of data in production with business in data forms. I appreciate, is an ideal way to move these data forms of Test environment with the company data?

    Thank you

    Published by: user12250743 on April 14, 2010 11:47

    This will be the form without the data, the data is stored in essbase and no planning.
    To extract the essbase data, you can use the script command DATAEXPORT calc, an MDX, excel addin, smart view report script.
    The fastest is to use excel addin or smart display, retrieve the data, point to the test environment and then submit.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Compare the current time and date with last modified?

    Compare the current time and date with last modified?

    What is the ideal way due to report at the last modified file with the date and time class? last modifed class in the file value is of type long.

    798642 wrote:
    No no no no, currentTimeMillis() only gets you the time... I need to compare the Date and time.

    You should read the docs more closely. It gives you the current time in time, which includes the date.

  • I'm trying to upgrade a site from Muse and it keeps telling me that the site has been created with a different version of Muse. I have updated Muse and still can not access the site to make changes.

    I'm trying to upgrade a site from Muse and it keeps telling me that the site has been created with a different version of Muse. I have updated Muse and still can not access the site to make changes.

    Hi rgarden95,

    Can you please confirm the exact version of Muse, you open the file with?

    To check the version of Muse, please click Help-> on Adobe Muse CC.

    Kind regards

    Akshay

  • The monitoring of test data to write in the CSV file

    Hi, I'm new to Labview. I have a state machine in my front that runs a series of tests. Every time I update the lights on the Panel with the State. My question is, how is the best way to follow the test data my indicators are loaded with during the test, as well as at the end of the test I can group test data in a cluster, and send it to an another VI to write my CSV file. I already have a VI who writes the CSV file, but the problem is followed by data with my indicators. It would be nice if you could just the data stored in the indicators, but I realize there is no exit node =) any ideas on the best painless approach to this?

    Thank you, Rob

    Yes, that's exactly what typedef are to:

    Right-click on your control and select make typedef.

    A new window will open with only your control inside. You can register this control and then use it everywhere. When you modify the typedef, all controls of this type will change also.

    Basically, you create your own type as 'U8 numéric', 'boolean', or 'chain' except yours can be the 'cluster of all data on my front panel' type, "all the action my state machine can do," etc...

  • How to read data from the unit to acquire data with LabVIEW

    Hello everyone, I'm new with LabVIEW and I need help. How to build LabVIEW program to read and store the data acquisition unit temperature data. the data can be any store such as Excel or a text file? Thank you.

    Start passing by examples of LabVIEW.  Go to help-> find examples.  There are several examples here just for the analog input and then even more for logging data to a file.  After that, show us what you have and we can guide you a little better that way.

  • The display of a Date with only the day and month in the DateField?

    Hello!

    Someone knows how to display a date without the year to a DateField?, IE. "May 5", "January 27", etc.

    Thank you very much...

    Try this:

    DF = new DateField ("Test:", System.currentTimeMillis (), new SimpleDateFormat ("MMMMMMMMMM d") "");
    This.Add (DF);

    You can change your M... M just MMM if you want three characters, nothing less than that and I think it will give you the numeric month.

    Also replace d dd if you still want to see 2 numbers.

  • Build the query to select date with status

    Hi guys,.

    Grateful if you can advise me on how to build the query on below scenario:

    Table A

    Date

    11.44.39.000000000 12-OCT-14 AM ASIA/SINGAPORE

    11.44.35.000000000 16-SEP-14 AM ASIA/SINGAPORE

    11.44.42.000000000 22-SEP-14 AM ASIA/SINGAPORE

    The result of the query:

    Date                                                                                            Status

    11.44.39.000000000 12-OCT-14 AM ASIA / SINGAPORE inactive

    11.44.35.000000000 16-SEP-14 active AM ASIA/SINGAPORE

    11.44.42.000000000 22-SEP-14 AM ASIA/SINGAPORE inactive

    Basically, the logic, I wanted is

    Active principles: today date or max (date) < sysdate

    Otherwise will be inactive

    And there is 1 active date in time.

    Thanks in advance

    Hello

    2753165 wrote:

    Hi guys,.

    Grateful if you can advise me on how to build the query on below scenario:

    Table A

    Date

    11.44.39.000000000 12-OCT-14 AM ASIA/SINGAPORE

    11.44.35.000000000 16-SEP-14 AM ASIA/SINGAPORE

    11.44.42.000000000 22-SEP-14 AM ASIA/SINGAPORE

    The result of the query:

    Date                                                                                            Status

    11.44.39.000000000 12-OCT-14 AM ASIA / SINGAPORE inactive

    11.44.35.000000000 16-SEP-14 active AM ASIA/SINGAPORE

    11.44.42.000000000 22-SEP-14 AM ASIA/SINGAPORE inactive

    Basically, the logic, I wanted is

    Active principles: today date or max (date)<>

    Otherwise will be inactive

    And there is 1 active date in time.

    Thanks in advance

    Sorry, we don't know what you want.

    Are you saying that 1 row (maximum) can be assigned status = 'Active' and if 2 or more lines are eligible, the last of them will be called 'Active'?

    If so:

    CASE

    WHEN tmstmp<=>

    OR ROW_NUMBER () OVER (PARTITION BY CASE

    WHEN tmstmp<=>

    THEN "could be."

    ANOTHER 'No Way'

    END

    ORDER BY tmstmp DESC

    )  = 1

    THEN "active."

    ELSE 'inactive '.

    END

    If you would care to post CREATE TABLE and instructions INSERT for some samples, so I could test it.

    DATE is not a very good name for a column, especially if the column is a TIMESTAMP, not a DATE.  I called the TMSTMP instead of the DATE column.

  • How to rename the configuration files store data with downtime

    HI team

    I've renamed the vcenter client name. How to rename the configuration also files in data store with to take the time to stop.

    you have renamed virtual machines, and now you want to also rename the config files (vmdk, vmx and so on)?

    Just do a storage vmotion and the files will be automatically renamed...

  • BlackBerry Smartphones BlackBerry Desktop Software 7 shows "Sync error" during the synchronization of Contact data with outlook

    I use bold9790. after update 7.1 I am facing a problem when I synchronize my contacts with outlook. When it reaches about 250 stopped sound and show me the error as application not valid.

    My version of software for device 7.1Bundle1647 (v 7.1.0.523 platform 9.16.0.128)

    UT mate thank you had no resolution

  • Result of the handful of XML data with httpservice

    Hello

    Please find my xml data http://121.242.211.152/janaagraha/get_complaints

    I need to load these xml data through httpservice and depending on the result of the handle, I need access to individual data as complaints.complaint.title using the service loop. I tried this I could not get the result I need

    " < s:HTTPService id = 'Complaints' url = ' http://121.242.211.152/Janaagraha/get_complaints "result ="Complaints_resultHandler (event)"fault =" Complaints_faultHandler (event) "> "

    < / s:HTTPService >

    < fx:Script >

    <! [CDATA]

    protected function Complaints_resultHandler(event:ResultEvent):void

    {

    var complaintarray:ArrayCollection = event.result.complaints.complaint;

    var carray:Array = complaintarray.toArray ();

    for (var i: Number = 0; i < carray.length; i ++)

    {

    var cmparray:Array is ObjectUtil.toString(carray[i]).split('~~~');.

    Title: string var = ObjectUtil.toString(cmparray[0]);

    Alert.Show ("HI" + title);

    }

    }

    Please suggest I need to get data like title, complainturl, latitude longtitude etc.

    Concerning

    Jeremi

    Your node of categories is not necessary contain two category nodes, check if there is in fact two categories:

    var complaint_cat:XMLList = complaint.categories.category;
    if(complaint_cat.length() > 0){
         var mainCategory:String = complaint_cat[0].toString();
         if(complaint_cat.length() > 1){
              var subCategory:String = complaint_cat[1].toString();
         }
    }
    trace("main category: " + mainCategory + ", sub category: " + subCategory);
    

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • BlackBerry Z3 can I create a Blackberry ID using the same email address, but with a different password?

    I use 2 phones and I am ready to create a new blackberry on the 2nd ID, but it requires an email address and I don't have that one email address that I use for everything. I want to know if it is possible to create a new BBID with the same e-mail address but different password. The main thing is I want both phones to be active and fully functional, but I don't have a single address email and I prefer not to create another email address, because I love all of my emails in one place rather then having 2 email addresses. I don't want any phone be disabled. I do not fear one of the BBM is turned off, as long as at least one works. Both phones are a Blackberry Curve 9320 and a Blackberry z10, which is one waiting to be activated.

    No this is not possible. The BBID, you use is associated with the device, you are using, the e-mail address is the user and cannot be associated with two BlackBerry smartphones to consider it time of the password.

    I suggest that you create a new e-mail address for the sole purpose of using it as a BlackBerry ID.

    www.bbid.com

  • BlackBerry Z10 can I create a Blackberry ID using the same email address, but with a different password?

    I use 2 phones and I am ready to create a new blackberry on the 2nd ID, but it requires an email address and I don't have that one email address that I use for everything. I want to know if it is possible to create a new BBID with the same e-mail address but different password. The main thing is I want both phones to be active and fully functional, but I don't have a single address email and I prefer not to create another email address, because I love all of my emails in one place rather then having 2 email addresses. I don't want any phone be disabled. I do not fear one of the BBM is turned off, as long as at least one works. Both phones are a Blackberry Curve 9320 and a Blackberry z10, which is one waiting to be activated.

    No this is not possible, the e-mail address you used your BBID, is associated with the device that you use it on. It is also the BBID username. And cannot be used on another device, no matter that there is a different password.

    I suggest that you create a new e-mail account, just for the sole purpose of using it as a BBID.

    www.bbid.com

  • Print the results of a quiz with name included

    I've seen this asked several times, but I couldn't find the answer. I'm running 7 Captivate on Windows XP. I just need to print the results of the quiz which will include the student's name. I tried the text box on the certificate widget but if I use the "print" key nothing of what has been added to the certificate (as the name) will be printed. I can do a screen capture and the data is printed, but I was wondering if there is a better way to enter the name of a student and then embed it in the results page. Looks like it would be a "no brainer" feature to have, but I'm not.

    I don't want to capture results electronically. I just need to print the results that will will also show their name.

    I am a new user of Captivate. Any help or pointing me in the direction to learn how to do this would be much appreciated.

    You can get the learner to enter their name in a box of text at the beginning of the module, store this text in a user variable, and then display this text at the end of the lesson on the slide, you print.

  • STARTING in the same column several times with 2 different condition

    Hello world

    I have a small question, but I can't find the answer. Can someone help me with this one? Look at this example:
    WITH T AS (
      SELECT 'a' as Name, 1 as v FROM DUAL
      UNION ALL
      SELECT 'a' as Name, 2 as v FROM DUAL
      UNION ALL
      SELECT 'a' as Name, 2 as v FROM DUAL
        UNION ALL
      SELECT 'b' as Name, 1 as v FROM DUAL
        UNION ALL
      SELECT 'b' as Name, 1 as v FROM DUAL
        UNION ALL
      SELECT 'b' as Name, 2 as v FROM DUAL
    ) SELECT DISTINCT name, 
             COUNT(DECODE(v, 1, 1, null)) OVER (PARTITION BY name ORDER BY v) as v1,
             COUNT(DECODE(v, 2, 1, null)) OVER (PARTITION BY name ORDER BY v) as v2
        FROM T
      ORDER BY 1;
    This returns:
    NAME V1                     V2                     
    ---- ---------------------- ---------------------- 
    a    1                      0                      
    a    1                      2                      
    b    2                      0                      
    b    2                      1                      
    But what I need in a single row with the count of 1 and 2 by name. How can I get without using subqueries as (the following query returns the correct result)
    WITH T AS (
      SELECT 'a' as Name, 1 as v FROM DUAL
      UNION ALL
      SELECT 'a' as Name, 2 as v FROM DUAL
      UNION ALL
      SELECT 'a' as Name, 2 as v FROM DUAL
        UNION ALL
      SELECT 'b' as Name, 1 as v FROM DUAL
        UNION ALL
      SELECT 'b' as Name, 1 as v FROM DUAL
        UNION ALL
      SELECT 'b' as Name, 2 as v FROM DUAL
    ) SELECT DISTINCT t.name, 
             (SELECT COUNT(*) FROM T z WHERE z.name = t.name and z.v = 1),
             (SELECT COUNT(*) FROM T z WHERE z.name = t.name and z.v = 2)
        FROM T t
      ORDER BY 1;
    The table I'm working on that has millions of records with subqueries it takes forever to run. The one with the analytical function takes less than 3 seconds.


    Thanks for your help!

    If I understand correctly, you need a global tally, not an analytical account. Something like:

    SQL> WITH T AS (
      2    SELECT 'a' as Name, 1 as v FROM DUAL
      3    UNION ALL
      4    SELECT 'a' as Name, 2 as v FROM DUAL
      5    UNION ALL
      6    SELECT 'a' as Name, 2 as v FROM DUAL
      7      UNION ALL
      8    SELECT 'b' as Name, 1 as v FROM DUAL
      9      UNION ALL
     10    SELECT 'b' as Name, 1 as v FROM DUAL
     11      UNION ALL
     12    SELECT 'b' as Name, 2 as v FROM DUAL)
     13  SELECT name, COUNT(DECODE(v, 1, 1, null)) v1,
     14           COUNT(DECODE(v, 2, 1, null)) v2
     15  FROM T
     16  GROUP BY name
     17  ORDER BY 1;
    
    N         V1         V2
    - ---------- ----------
    a          1          2
    b          2          1
    

    John

Maybe you are looking for

  • Satellite L10-333 PSL10E - USB dongle problem

    HI members, I have a Toshiba satellite L10-333 MODEL No. PSL 10F now I bought a 02 usb wireless dongle.now my problem is that whenever I have start my laptop and connect to 02 to get online, the dongle starts to make a loud noise, which is constant a

  • Satellite P500-127 - how to disable the buttons of enlightenment?

    Hello I ve bought the Satellite P500-127, but I m protruding on the buttons on the left side of the keyboard. I Don t know the exact term for this button. So, does someone knows how to deavtivate them? Thank you.

  • problems with downloads

    I have this function of issues, can not download microsoft updates, cannot run the validation tool, if I try the windows update I get redirected to a blank page with the message cannot display the page or the web page of google or other, can not down

  • removal of some email problems.

    I have outlook express 6. I recently 1300 messages deleted from the folder of additional e-mail. Since then, I can delete some but not all of the emails I wan't to delete. I was told that I have a damaged deleted items folder. How can I fix this prob

  • Validation Windows xp problem

    After my pc on windows today request validation and when I try to validate what he says that my windows xp is not valid when it is without a doubt.