How to remove the project using sql with the proper sequence

Hello

Tried to delete the project failed with query according to the sequence shown below. But get error when running below final sql script (delete from epub_process where of the project = '?')

SQL error: ORA-02292: integrity constraint (PUB.) PROC_HIST_ID_FK) violated - book of the foundling

02292 00000 - 'constraint integrity (s.%s) violated - child notebook found. '

* Cause: attempted to remove a parent key value that was a stranger

dependence.

* Action: remove dependencies first then the parent or disable the constraint.

delete from avm_asset_lock where workspace_id in

(select avm_devline id, whose name in)

(select Workspace from epub_project where project = 'prj49024')) ;

delete from EPUB_PR_HISTORY where project in

(select project in epub_project where project = "prj49024");

delete from epub_project where project = "prj49024";

delete from EPUB_PROC_HISTORY where ID_processus in

(select ID_processus from epub_process where of the project = "prj49024");

delete from EPUB_PROC_TASKINFO where id in

(select ID_processus from epub_process where of the project = "prj49024");

delete from epub_taskinfo where ID_processus in

(select ID_processus from epub_process where of the project = "prj49024");

delete from EPUB_WORKFLOW_STRS where id in

(select ID from EPUB_IND_WORKFLOW where ID_processus in)

(select ID_processus from epub_process where of the project = 'prj49024')) ;

delete from EPUB_IND_WORKFLOW where ID_processus in

(select ID_processus from epub_process where of the project = "prj49024");

Get the error when running this script

remove the epub_process of the project where = "prj49024";

Please let me know good sequence or how to avoid this mistake

Thank you

Sri

Here are the steps:

delete from EPUB_PR_HISTORY where project in ('prj213002', 'prj200001');

delete from EPUB_PROC_HISTORY where ID_processus in

(select ID_processus from the epub_process of the project where in ('prj213002', 'prj200001'));

delete from EPUB_PROC_TASKINFO where id in

(select ID_processus from the epub_process of the project where in ('prj213002', 'prj200001'));

delete from EPUB_IND_WORKFLOW where ID_processus in

(select ID_processus from the epub_process of the project where in ('prj213002', 'prj200001'));

remove the epub_process of the project where in ('prj202001', 'prj213002');

delete from avm_asset_lock where workspace_id in

(select avm_devline id, whose name in)

(sélectionnez project_id dans epub_project où project_id dans ('prj213002', 'prj213002'))) ;

delete from epub_project where project in ('prj202001', 'prj213002');

commit;

Peace

Shaik

Tags: Oracle Applications

Similar Questions

  • How to remove the Tables of HFM Application in SQL

    Hi gurus

    1. how to remove the HFM Application Tables in SQL?
    Its manual removal but each application having 120-150 tables? How to do this in one fell swoop?

    I deleted some applications using the workspace / shared services, but still its display under HFM under the Tables of SQL Server.

    Please help me

    concerning
    Smilee

    Hi Smilee,

    1. If the application opens in the web management interface, go to Taskflows management module and make sure that no taskflows exist yet for this application. Remove any existing taskflows.

    2. If demand exists in Shared Services, right-click on the demand for Shared Services and try to remove the application from here

    3. stop Hyperion Shared Services and all the Windows of financial management processes and backups of the relational database of the two patterns.

    4. check the relational database of Hyperion Shared Services repository, in the "ces_apps" table and make sure that there are no lines containing the appname "EXAMPLE." If the line still exists you should enlist the help of Oracle Global Support software to clean Hyperion Shared Services before proceeding.

    5. it is possible to remove all content removed from the relational database of financial management application. Must be very careful when handling manually tables database that permanent damage can be done at the application and other applications if the wrong content is removed.

    (a) first remove all tables, indexes, sequences, and the package objects that begin with the name of the application
    (b) remove all tables starting HSV_appname_xxxxxx
    (c) remove all rows in tables referring to demand HSX_CLUSTER_xxxxx.
    (d) delete all the HSV_ACTIVITY_KILL_USERS, HSV_ACTIVITY_NO_ACCESS, HSV_ACTIVITY_SESSIONS and HSV_ACTIVITY_USERS and HSV_USERS_ON_SYSTEM lines that refer to the name of the application.
    (d) remove the line containing the name of the application from the HSX_DATASOURCES table.

    6. the next time that all Hyperion services are restarted, the application must be removed safely from Windows client.

    You can contact your DBA to write a query on how to remove it.

    Hope this helps,

    Thank you
    Charles Babu J

  • a date column, with timestamp... How to remove the timestamp

    Hello

    I have a table name WRESTLING, with one of its fieldnamed DATE, using the DATE data type.
    The date format incudes timestamp, can someone help me how to remove the timestamp part.
    I want only the part of date only. I tried this:

    Update DATE is to_char(date,'DD-MON-YYYY') set of CATCH;.
    but the result of all the date inside the table always have timestamp.

    can I use this:
    Update DATE is to_date(date,'DD-MON-YYYY') set of CATCH;.
    and still the same result.

    Can anyone advice on this? pls.
    Thank you

    user9353110 wrote:
    Thank you very much.. If this is the case, we can remove the timestamp when creating view for this table?

    No, you can never remove the component "hour" of a DATE.

    If you do not want to display a date in time (display purposes only!), use TO_CHAR to "transform" the DATE to a string with the format mask

    SQL> alter session set nls_date_format = 'dd-mm-yyyy hh24:mi'
      2  /
    
    Session altered.
    
    SQL> select sysdate
      2    from dual
      3  /
    
    SYSDATE
    ----------------
    17-03-2010 09:28
    
    SQL> select to_char (sysdate, 'dd-Mon-yyyy')
      2    from dual
      3  /
    
    TO_CHAR(SYSDATE,'
    -----------------
    17-Mar-2010
    
    SQL> select to_char (sysdate, 'yyyy-MON-dd')
      2    from dual
      3  /
    
    TO_CHAR(SYSDATE,'
    -----------------
    2010-MAR-17
    
    SQL> 
    

    NOTE: the example of last two are not DATEs! They are STRING

  • How to remove the support contact at screenshot using the "home" button

    guys, please help, how to remove the support contact at screenshot using the "home" button? I use 6 s ios 9.2, but when I take screenshot with the menu help key, the help key disappear on my photo, but the problem is, I want to take screenshot with my home button, please help... Thank you

    What turned the problem into a screen with the home button? Quickly, you press the power off button and home together and release - if the sounds are enabled - you should hear the camera shutter sound and have the capture in your app screen shots. The help key is not displayed

  • How to remove the default for a limited only account gateway (with static ip address)

    I have 1 pc with 4 accounts 1 account administrator and user the rest is limited accounts. I use a static ip address and the question is how to remove the default gateway on these limited account so that they cannot access the internet

    The entry door is fixed to the adapter and selectively cannot set properties of the different adapter for different users, all users use the same adapter.

    With Internet Explorer (does not work with other browsers), you can configure a proxy server with a fake address, you can do this through Group Policy, or you can do it manually for each individual user through the Internet Options settings.  You can set the proxy server address map of loopback (127.0.0.1) or you can set it to a bogus address of your private address range (usually the range 192.168.xxx.xxx)

    If you are using other browsers, you can use NTFS permissions to deny access to the Explorer or the program directory or you can use software restriction policies to deny access to specific programs.

    Alternatively, you can use a logon script to activate the network connection service when you open a session and the other to turn it off when you log, but if you do this you will disable the entire network for limited users if it cannot be a solution for them.  The script can be a simple two-line script:

    Logon script:

    SC config Netman start = demand
    net start netman

    Logoff script:

    net stop netman
    SC config Netman start = disabled

    These can be useful:

    http://www.howtonetworking.com/Internet/restrictie11.htm
    http://www.christianblog.com/blog/abelajohnb/disable-Internet-access-in-Windows-for-specific-user-accounts/

    John

  • How to remove a specific email inbox with the client application code?

    Hello

    How to remove a specific email inbox with the client application code?  Please suggest useful links.

    Advanced thanks.

    Concerning

    Sunil.G

    Your question is a bit broad, so it is difficult to give you details.

    First of all, you must have the ID of the original message. Usually, you get either by hanging the message when he came into the Inbox (by implementing FolderListener), or by retrieving a list of mail of enamel "Store".

    Once you have this message ID, you call Folder.deleteMessage ().

    Here, there is a laboratory of Developer:

    http://NA.BlackBerry.com/eng/developers/resources/Labs/listeningforemail.jsp

    Moreover, classes to look in the API of reference:

    Store

    Folder

    FolderEvent

    FolderListener

    Session

    ServiceConfiguration

    Message (message RIM, not the J2ME)

  • How to remove the variable created when using definedNamedWhereClauseParam()

    Hello

    My Jdev version 11.1.1.7.0.

    I'm Executive where clause programatically where I need to bind two bind parameters under certain conditions. Example, I have two bind variables X, Y.

    Here's the problem:

    Assume that the first time I'm setting one variable X, so I define X bind variable and execute the query.

    What second time I send only Y but not X. In this implementation of the scenario of VO throw an exception, given that the variable X is already created in the VO object and where clause does not have this setting.

    So how to remove variables created in the original Version all in definedNamedWhereClauseParam(). I need to erase what ever the previously created variable every time I execute method.

    I can make the similar functionlity using setWhereClauseParam (using literals). But I have a few technical restrictions for use.

    Could you please help me how to remove the variable before vo using definedNamedWhereClauseParam.

    Caused by: java.sql.SQLException: try to set a parameter name that does not intervene in the SQL: itemNumber
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:15969)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:911)
    at weblogic.jdbc.wrapper.PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper.setObjectAtName (unknown Source)
    at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:4669)
    at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3687)
    at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:22742)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1298)
    ... more than 96



    Thank you.

    -Diette.

    Published by: Vidya Diette on February 28, 2013 08:43

    Hello

    You need access to the variable Manager. Order of reading in the JavaDocs:

    http://docs.Oracle.com/CD/E28389_01/apirefs.1111/e10653/Oracle/JBO/ViewObject.html--> http://docs.oracle.com/cd/E28389_01/apirefs.1111/e10653/oracle/jbo/VariableManagerOwnerBase.html#getVariableManager%28%29--> http://docs.oracle.com/cd/E28389_01/apirefs.1111/e10653/oracle/jbo/VariableValueManager.html--> http://docs.oracle.com/cd/E28389_01/apirefs.1111/e10653/oracle/jbo/VariableManager.html#removeVariable%28java.lang.String%29

    Frank

  • Anyone know how to remove the fisheye from a gopro camera effect, remove with premiere pro c

    Anyone know how to remove the fisheye from a gopro camera effect, remove it with premiere pro cc.

    Use the distorting effect of the lens curvature set at your convenience.

  • How to remove the message "not using current Version" boring?

    For months, my Firefox home page included a note that I do not have the latest version and provides a link to update. When I use the link I said "Congratulations, you are using the latest version." Adding insult to injury, there are not 20 minutes, I downloaded 27, and the message is still there. Almost the end of the world, but at this point, it is very annoying. How to remove the message?

    The old page of Google-Firefox has not changed since Firefox 4 is released, please disregard the information updated on this page.

  • I need to know how to remove the most recent version of Firefox. I JUST downloaded tonight and my computer does not have this edit bar little to work with, so I can download the reader good Adobe and my internet was screwed up ever since I downlo

    I need to know how to remove the most recent version of Firefox. I JUST downloaded tonight and my computer does not have this edit bar little to work with, so I can download the reader good Adobe and my internet was screwed up, since I downloaded the new version of Firefox. I want just the old version of this back because I can't download the Adobe stuff which is necessary to protect my computer against hackers apparently not. It would have been nice to know he had a problem with the new update of Firefox BEFORE I downloaded it. I have Vista, which is usually a problem with Adobe and Firefox. I don't seem to be able to run a lot of Adobe at all on my computer because of the Vista.

    This has happened

    Each time Firefox opened

    http://support.Mozilla.com/en-us/KB/installing+a+previous+version+of+Firefox

  • password on HP pavilion home pc used I'll start PC how to remove the password of owner he ask to log

    I bought a pc at a yard sale and the guy gave me a password, but it does not work what can make the password on HP pavilion windows xp home edition and it won't let me boot pc how to remove the owner password it asks to connect to windows? is there a jumper to remove the old?

    Hello

    Welcome to the Microsoft Community and thanks for posting the question. I understand that you want to remove the password on computer xp. Let me help you with the issue.

    1. were you able to get to the desktop screen earlier?

    2. what security software is installed?

    3. have you made changes on the computer recently?

    4. have you SP 3 installed update?

    To resolve this issue, let us try these methods:

    Method 1.

    Start the computer in safe mode and try to connect to the admin user account.

    To start the computer in safe mode: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true

    Method 2.

    You can create a new admin user account and check the status.

    You can create a new user account and check. Once the new user account works fine, then copy the data from the old user account for the user account.

    How to copy data from a user profile damaged to a new profile in Windows XP: http://support.microsoft.com/kb/811151

    I hope this helps. If you need further assistance on this particular issue or any other related issue Windows let us know and we will be happy to help you.

    Thank you.

  • P645-MG how to remove the battery? I push with a paper clip in the hole of the icon on the back, but no reaction

    TravelMate P645-MG how to remove the main battery? Nothing happens when I push with a paper clip in the hole of the battery icon at the back of the computer. A video UTube said that a cover opens, but I can't find where there is a cover of the battery compartment.

    Hello

    Your laptop is equipped with an internal battery. You need to remove some modules and the bottom of the laptop to have access to it. The pinhole is only to reset the battery.

  • BlackBerry Smartphones used BB Curve, how to remove the previous E-mail addys

    Hello! I bought a used BB curve and I cannot for the life of me figure out how to remove the e-mail address of owners at the previous address. When I compose a message he asks me what email I want to send from and he has my address and 2 of the former owners of e-mail addresses. When I look in different folders there only my email address listed to delete or change. Any ideas?

    To remove the previous owners email ID

    1. go to Options
    2. Advanced options
    3. Service books
    4. Highlight the E-mail ID that you want to remove
    5. Click on the Menu
    6. Select Remove
  • How to remove the trial version of Acrobat DC 30 days that I have somehow on my MacBook Pro?  I don't want the dang thing, and it prevents me from using my Acrobat Pro 11 software.  Trying to access using the tree without end of support for Adobe is reall

    How to remove the trial version of Acrobat DC 30 days that I have somehow on my MacBook Pro?  I don't want the dang thing, and it prevents me from using my Acrobat Pro 11 software.  Trying to access using the tree without end of support for Adobe of really making me cranky.

    Hi thomh65004143,

    You simply drag the Acrobat DC application from the applications folder to the trash to uninstall.

    Then restart your system & install Acrobat XI Download Adobe Acrobat products. Standard, Pro | DC, XI, X.

    Let me know if you are still having a problem.

    Kind regards

    Nicos

  • How to remove the meeting via API to use Adobe Connect 8 Web Services

    Support using Adobe Connect 8 Web Services API 'Meetings to create' to create an Acrobat Connect Pro meeting.

    But I don't find not "Delete meeting" API similar to delete the meeting, could you tell me how to remove the meeting via API.

    Thank you!

    You must have used sco - create to create the meeting. To remove a meeting, use sco - remove API call.

    Find its documentation here.

Maybe you are looking for