To remove sample data

Hello All,
In the Issuer Tracker packaged application, I can remove sample data running      
issue_tracker_remove_sample_data_0.9.
I would like to know how I can remove sample data in other application that did no have the remove sample data sql file.
Example:
When I run the following statement:
delete from OEHR_EMPLOYEESI got the following message:
ORA-02292: integrity constraint (workspace.OEHR_DEPT_MGR_FK) violated - child record foundThanks in advance,
Sam
Edited by: samNY on Mar 1, 2009 10:53 PM

Hello,
you can use CASCADE keyword, or you have to delete records from OEHR_DEPT table.
Regards, Kostya Proskudin

Similar Messages

  • To delete sample data OEHR_EMPLOYEES

    I am trying to remove Sample Data but I was unable to delete them.
    delete FIRST_NAME, LAST_NAME, EMAIL from OEHR_EMPLOYEES
    ORA-00933: SQL command not properly endeddelete from OEHR_EMPLOYEES
    ORA-02292: integrity constraint (xxxxx.OEHR_DEPT_MGR_FK) violated - child record foundIf you have a chance, please share your experience.
    Thanks in advance,
    Sam

    Hi,
    delete from OEHR_EMPLOYEES
    ORA-02292: integrity constraint (xxxxx.OEHR_DEPT_MGR_FK) violated - child record found
    You can disable the constraint or you can change the constraint from "No Action" to(==>>) "Casade" under the "Delete Rule" of the Table Constrainsts section
    than you can try under SQL Commands as:-
    delete from OEHR_EMPLOYEES;
    thxs
    regards,
    Kumar

  • BP 258 Sample Data Load

    Hello,
    I've configured the prereq's for the Best Practices for BPC MS 7.5 (V1.31) and am on BP 258 trying to upload the sample data provided (258_Y2010_Sales_Actual.txt).  When I run the DM package for IMPORT, it errors out with :
    Task Name : Convert Data
    Dimension  list          CATEGORY,P_CC,RPTCURRENCY,TIME,CUSTOMER,PRODUCT,SALESACCOUNT,AMOUNT
    [2010.004] Calculated member or invalid member          ACTUAL,SALESTEAM1,USD,2010.004,CUSTOMERA,PRODUCTA,SalesUnitPrice,-15000
    [2010.004] Calculated member or invalid member          ACTUAL,SALESTEAM1,USD,2010.004,CUSTOMERA,PRODUCTA,SalesQuantity,200
    [2010.004] Calculated member or invalid member          ACTUAL,SALESTEAM1,USD,2010.004,CUSTOMERA,PRODUCTA,TotalSalesRevenue,-3000000
    All I can figure from this limited info is that it does not like the conversion of the TIME dimension.  I checked my dim members and have time dim's covering the ones shown in the file (2010.004 for example).  The BP doc says nothing about maintaining the conversion file or a custom transformation file - it says to leave that empty to default to IMPORT.xls. 
    I just finished the BPC 410 course, but can't correlate what we did to this error (or I missed it). 
    Can anyone shed some light on this error? 
    thanks

    Thank you for responding.  I ran through all checks and all are OK to me. 
    1 - Optimize all green no errors
    2 - Yes I already checked this but am not 100% sure I am seeing what the system is seeing.  My dim members include the TIME items that exist in the sample data.  Only one value did not exist = members start on 2010.004 and sample data included 2010.001.  I removed those records, but it still fails.
    Here is the reject list:
    Task Name : Convert Data
    [Dimension:  TIME]
    2010.007
    2011.002
    2010.005
    2010.008
    2011.001
    2010.006
    2011.003
    2010.011
    2010.004
    2010.001
    2010.012
    2010.009
    This tells me (an inexperienced BPC person) there is a problem in conversion of the external to internal data for that dimension.  However, I have already validated that they are equal - I can't see how 2010.004 does not equate to 2010.004, unless it is comparing to the EVDESC and not the ID (2010.004 versus 2010 APR).  Am I correct on that assumption? 
    3 - Yes I've also tried changing to a new transformation file with conversion and delimiters differently mapped, but all the same result. I'm sure I am missing something trivial here!  So I do appreciate any help to figure that out. 
    Thanks again

  • How Remove Sample User Form CRM 2015 Online

    I have CRM 2015 Online and Use Sample Data And Sample User
    I have remove the Sample Data which is removed but how I remove the Sample User
    There is no option for delete and Disable User in CRM 2015 Online on System User Entity
    One thing More in Office 365 Admin there is No Sample User Exists so that I can delete or Disable
    Muhammad Sohail

    Like Every CRM 2015 Online contain Built in Sample Data (Accounts,Contacts,Leads,Opportunities,Cases,Campaigns,Goals)
    Similarly have CRM User Approx 24 User and these user not showing in Office 365 Licensed User List.
    I remove the sample data and also want to delete or disable that sample (demo) users but how??
    Muhammad Sohail

  • How to avoid duplicate data while inserting from sample.dat file to table

    Hi Guys,
    We have issue with duplicate data in flat file while loading data from sample.dat file to table. How to avoid duplicate data in control file.
    Can any one help me on this.
    Thanks in advance!
    Regards,
    LKR

    No, a control file will not remove duplicate data.
    You would be better to use an external table and then remove duplicate data using SQL as you query the data to insert it to your destination table.

  • Sample Data Thread

    Hi,
    I wanted to post an update on the thread regarding Unifier Sample Data but it has been locked.
    We got notice a few weeks ago that sample data was available, we downloaded a copy of this and upon following the instructions I found so many problems that we requested that it be removed from the Primavera Px portal which was done within a matter of hours.
    FYI the import would fail with wrong tablespace names and wrong oracle user accounts. When i corrected for those problems the import would kill any P6 data in the same database and then reset the oracle 'sys' password to one different to what they tell you to use when installing Oracle DB.
    Icing on the cake was that most of the documented Unifier logins did not work rendering the database useless.
    We are still waiting for them to re-issue this sample data when it has undergone some quality assurance.
    I'll update this post for everyone when it has been re-released (and tested so I can let you know if there are any pitfalls to importing it)
    Regards
    Alex

    Hi All,
    New sample data has been made available for those with access to the Primavera Px portal.
    It is Unifier 9.13 sample data.
    I hope to get an import done over the next few days and will give an update as to any issues experienced with the import. First glance at the instruction set they have implemented some changes so i'm hoping it will be smoother than the 9.12 sample data.
    Regards
    Alex

  • Time doesn't match sampled data?

    Hallo all experts,
    I write a LV code which reads data from USB 6211 and saves them with time instants in a text file, but the time instants don't correspond the sampled data. The time values are generated by elapsed time, after build array with the data read from DAQ, they are fed to the write to a text file. The test signal is 10 Hz, but the text file yields 0.2 Hz signal. How could I synchronize them?
    Any tips are highly appreciated.
    win2

    Don't use the "elapsed time" express VI for precision timings. It seems to have limited resolution (internally, it converts a timestamp to DBL).
    You can use e.g. the tick count to keep track of the time. See the attached comparison. (still there will always be some subtle differences due to the software timings).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    usb6211_forumMOD.vi ‏42 KB

  • HT1414 My wife gave me her older ipad. I have reset and removed all data. My Apple ID (Ipod touch) is not an email adress, but when I try to stu up the ipad it asks for my Apple ID, then tells me that for security reasons the Apple ID must be in email for

    My wife gave me her older ipad. I have reset and removed all data. My Apple ID (Ipod touch) is not an email adress, but when I try to stu up the ipad it asks for my Apple ID, then tells me that for security reasons the Apple ID must be in email format?

    Change it to an email address.
    -> https://appleid.apple.com/

  • How do I remove "other" data from my phone?

    I recently tried downloading a movie in the SD format that was around 2gb or so. I had over 2gb of empty spac eon my phone to rent the movie. the movie started to download fine and I left it to download. I went to videos and the rental shows up however it says there isn't enough room to download it. there is no data under videos howver there is over 2gb of added data to my phone under the "other". Itunes continually wants me to download this rental but I can't with 190mb. I'm guessing the movie already downloaded and something went wrong and it wants me to download it again. I did get a refund for the movie but the space it takes up is still there. Does anyone know how can I remove this data? I tried restoring a backup and emailing customer support and nothing has changed.

    Kappy's User Tip to deal with "Other": https://discussions.apple.com/docs/DOC-5142
    Delete your messages. Remove the attached files such as pictures and videos.

  • Can you remove a date and time stamp off a photo that has already been taken?

    Can you remove a date and time stamp off a photo that has already been taken?

    only with Photoshop or similar software that offer some clone/heal feature.
    Weekend Travelers Blog | Eastern Sierra Fall Color Guide

  • How to renormalize number of flows in Netflow Sampled data

    Hi,
    I am working on extrapolation(renormalization) of bytes/packets/flows from randomly sampled (1 out of N packets) collected data. I believe bytes/packets can be renormalized by multiplying bytes/packets value in exported flow record by N.
    Now, I am trying to extrapolate number of flows. So far i have not got any information on it. Do you people have any idea on how flows can be renormalized from sampled data ?
    Well, at the same time i have some doubts regarding this concept altogether -
    1. In packet sampling, we do not know how many flows got dropped. Even router cache will not have entries for dropped flows
    2. In flow sampling, router cache will maintain entries of all the flows and there may be some way by which one can know how many actual flows were there. But again there is no way to know values of individual attributes in missed flows like srcip/dstip/srcport/dstport etc.(though they are there in flow cache)
    3. In case of sampling (1 out of N packets), we anyway multiply #packets and #bytes with N to arrive at estimate for total packets and bytes. When we multiply by N, it means we have taken into account all those packets as well which were NOT sampled. So, it means all the packets which flowed between source and destination have been accounted for. Then there are no missed flows, isn't it ? And if there do exist some missed flows then multiplication by N to extrapolate number of packets/bytes is not correct.
    4. What is the use of count of flows anyways. Number of flows may vary depending upon the configuration such as active timeout etc. So, it does not provide any information about the actual flow between source and destination unlike number of packets and bytes.
    Please share your thoughts.
    Thanks,
    Deepak

    The simplest way is to call GetTableCellRangeValues with VAL_ENTIRE_TABLE as the range, next summing array elements.
    But I don't understand your comment on checksum, so this may not be the more correct method for your actual needs: can you explain what do you mean?
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • I'm doing a scan around a line by sampling data 360 degrees for every value of z(z is the position on the line). So, that mean I have a double for-loop where I collect the data. The problem comes when I try to plot the data. How should I do?

    I'm doing a scan around a line by sampling data 360 degrees for every value of z(z is the position on the line). So, that mean I have a double for-loop where I collect the data. The problem comes when I try to plot the data. How should I do?

    Jonas,
    I think what you want is a 3D plot of a cylinder. I have attached an example using a parametric 3D plot.
    You will probably want to duplicate the points for the first theta value to close the cylinder. I'm not sure what properties of the graph can be manipulated to make it easier to see.
    Bruce
    Bruce Ammons
    Ammons Engineering
    Attachments:
    Cylinder_Plot_3D.vi ‏76 KB

  • Want to remove Technical data Tab from Work Center

    Hi All,
    I want to remove Technical data Tab from Work Center. I have Removed ''Technical data'' Tab from Plant Maintenance and Customer Service-->Master Data in Plant Maintenance and Customer Service -->Maintenance Plans, Work Centers, Task Lists and PRTs >Work Centers>Configure Screen Sequence for Work Center.
    Still I am able to see Technical Data Tab in IR01, Work center.
    Is there any other config to remove the same?

    This is resolved.
    I have changed the config in following node as 0005 for PM
    SPRO / IMG -> Plant Maintenance and Customer Service -> Master Data in Plant Maintenance and Customer Service -> Maintenance Plans, Work Centers, Task Lists and PRTs -> Work Centers->General Data->Define Work Center Types and Link to Task List Application

  • For this sample data how to fulfill my requirement ?

    For this sample data how to fulfill my requirement ?
    with temp as
    select 'MON' WEEKDAY,'9-10' TIMING,'I' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'9-10' TIMING,'II' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'9-10' TIMING,'III' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'10-11' TIMING,'I' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'10-11' TIMING,'II' CLASS FROM DUAL UNION
    select 'TUE' WEEKDAY,'9-10' TIMING,'I' CLASS FROM DUAL UNION
    select 'TUE' WEEKDAY,'9-10' TIMING,'II' CLASS FROM DUAL
    select ?? (what will be the query ??)
    How can i get output data in this way :
    WEEKDAY TIMING CLASS
    MON 9-10 I,II,III
    MON 10-11 I,II
    TUE 9-10 I,II

    If in 11g, you can use LISTAGG
    with temp as
    select 'MON' WEEKDAY,'9-10' TIMING,'I' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'9-10' TIMING,'II' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'9-10' TIMING,'III' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'10-11' TIMING,'I' CLASS FROM DUAL UNION
    select 'MON' WEEKDAY,'10-11' TIMING,'II' CLASS FROM DUAL UNION
    select 'TUE' WEEKDAY,'9-10' TIMING,'I' CLASS FROM DUAL UNION
    select 'TUE' WEEKDAY,'9-10' TIMING,'II' CLASS FROM DUAL
    select
    WEEKDAY,
    TIMING,
    LISTAGG(CLASS,',') WITHIN GROUP (order by 1) as class_aggregate
    from temp
    GROUP by WEEKDAY,TIMING;
    WEEKDAY       TIMING     CLASS_AGGREGATE
    MON           9-10       I,II,III
    MON           10-11      I,II
    TUE           9-10       I,IIOther techniques for different versions are also mentioned here :
    http://www.oracle-base.com/articles/misc/StringAggregationTechniques.php#listagg

  • I reinstalled my OS and now it wants to empty my phone.  How can I get it to back up my phone without removing the data?

    I reinstalled my OS and now it wants to empty my phone.  How can I get it to back up my phone without removing the data?

    You can't. But if you backed up your computer prior to wiping it out, you should be able to restore your iTunes library, contacts, photos, etc. from that backup. Once you do, you can set the phone up again and just sync everything from your library back to it.
    If you didn't back the computer up either, you can transfer items purchased on the phone into iTunes, and if you set up at least one contact in whatever application you sync your contacts to on the computer, it will offer to merge the address books on the first sync, saving those.  Any media you'd acquired from sources other than the iTunes store will have to be re-downloaded from the source or re-ripped.
    The iPhone is NOT a backup device.

Maybe you are looking for

  • Incoming e-Mail (all gmail) going into "Junk" Folder

    Hi...My iPad Air 2 Mail "Inbox" worked fine now e-Mails have stopped going into the "Inbox" & appear in the "Junk" Folder...I have not manually changed any settings...i have removed e-Mail account & reinstalled but still have the problem...Your help

  • Master/detail layout - how to have 'detail' hidden by default.

    The 'master/detail layout' option for spry datasets are great but how can I get the page to load with all the 'details' hidden until the user selects from the 'Master' column to reveal the details?

  • Unable to generate SQL trace file in shared mode ??

    Hello, I have a 10.2.0.1.0 database on Win2003 server 64 bits, with several instances. On instances in dedicated mode, I can create trace files by using dbms_system.set_sql_trace_in_session, but on instances in shared mode nothing happens : no file i

  • Rootupgrade.sh failed on 11g R1 to R2 Upgrade

    I am playing with 11g ASM with XEN (one node on host (or dom0) and another node on vm (or dom1)) and was trying to do a Clusterware + ASM rolling upgrade from 11.0.6 to 11.2.0. After installing 11.2.0 Grid Infrastructure (Oracle seems to be changing

  • Missing Pre-Order Reward Zone Certificate for Fifa 15

    Hi - please let me know who I should contact regarding the missing pre-order certificate for Fifa 15.  Thanks!