Who are the best trigger/s to use for this? (Issue of master-detail)

Hi all

I am currently updating an old Oracle database. The last phase is to apply foreign keys (their absence on the PB at the moment). It is fine - the keys are easily identified - but it will cause a problem with some of the application that uses these tables. It is written in Oracle Forms (version 10g, although a large part of the code is from an earlier version). In some forms, the block order is such that the detail is committed to the master! Of course, this now gives a constraint error. This was done largely for the purposes of validation, for example. to check some detail item exists before committing the master.

What is the best way to solve this problem now? Is the trigger of the POST-FORMS-COMMIT the best to use for validation?

The only idea I have for this would be to "rewrite" the userexit-standard pl/SQL code and proceed in the same way (POST-FORMS-COMMIT)

Tags: Oracle Development

Similar Questions

  • What are the best export settings to use for a video posted on facebook

    What are the best export settings to use for a video posted on facebook?

    I used the H.264 > Vimeo HD presets in Media Encoder with excellent results.

    Thank you

    Jeff Puler

  • What are the best settings to standard calibration for the XBR65X850C?

    What are the best settings to standard calibration for the XBR65X850C?

    Hi DRATCLIFFE,

    Thank you for your time to write a post.

    We are very sorry for the late reply.

    Change the picture or the sound settings of your TV depends on your preferences and on what you watch/listen to.

    You can use the settings preset for image and sound.

    In addition, to better enjoy your viewing experience, follow these steps:

    Thank you
    ^ Ron

    If my post answered your question, please mark it as "accept as a Solution.

  • What are the best setting of calibration screen for video editing, if you are shooting indoors, without natural light?

    What are the best setting of calibration screen for video editing, if you are shooting indoors, without natural light?

    Not really related to Prem Pro, however:

    Neutral gray scale to set the brightness (white saturation) and contrast (black crush).

    Conveniently located:

    Gamma: 2.2

    White point: 6500K (5800K with ambient lighting)

    Brightness: 100-120 (cd/m)

    Use a calibration device like SpyderElite (above applies). Grade with a neutral gray background low light level - easier on the eyes.

    Claire

  • Aspire v3 - 772 g nvidia gtx 760 m. who are the best drivers for this graphics card?

    I have used so many drivers for this graphics card... some of them drop fps, others are late or whatever... I would like to know which are the best drivers to use? SRY for my English. Thank you

    Click the help button at the top of this page. Choose your country. Click on drivers and manuals. Click on laptop aspire v3 - 772 g. Choose Win8 or Win8.1. Nvidia VGA drivers listed are recommended.

    Jack E/NJ

  • What is the best bit rate to use for files WMV to DVD?

    I shoot with a low point and shoot digital camera.  I take the files AVI-video from the camera, which are quite large, and edit them in Windows Live Movie Maker 2011 and then save them as WMV files that are typically much smaller.  I like to create DVDs with better videos using Windows DVD creation or another program video.  My question is what bit rate to specify when I publish the films completed as WMV files?

    My camera AVI files can be played in Windows Media Player.  They have little of rates which vary from about 3 Mbit/s to a little more than 5 Mbps.  Is STANDARD DEFINITION 640 x 480 VGA quality video.

    Movie Maker default bitrate for the option "burn to DVD" is 2.99 MB/s.  I do not notice a difference in quality between the 2 MB/s I usually use and.  (I chose 2 Mbps, because in the past, I've used Windows Media Encoder and it defines "DVD quality" like 1-2 Mbps transmission speed and quality "HD" as 5 Mbps.)  Bit rates below 1 Mbps up to 500 Kbps have been defined as "Quality VHS" and below which has been 'QVGA quality'.

    With important videos, I publish movies with a flow rate of 5 Mbps.  Default speed of movie Maker for videos "to be played on my computer" is 7.69 Mbps, but it's more than the AVI from the camera, then how is this possible?  How can save the file with a bit rate higher than the bit rate of the input file?

    Is another experiment, a good way to decide on the rate of good bit for my projects?

    Hello

    Thanks for joining us out on Microsoft Community Forums. I understand that you want to know the best bitrate for video files Windows media burn on DVD.

    I suggest you check out the link to check the bit rate and resolution.

    The movie settings: frequently asked questions.

    http://Windows.Microsoft.com/en-in/Windows-Vista/movie-settings-frequently-asked-questions

    Refer to this video file formats can I choose to publish my movie in windows movie maker? The link above.

    If you face problems more while working with Windows Mail on Microsoft Community Forums, we will be happy to help you.

    Thank you.

  • What are the best screen protector and case for iphone 6 s more on amazon?

    I've seen several ads for the glass screen protector and bulletproof glass, do not know what is the best!

    There are probably thousands of cases and a whole bunch of screen protectors. Because nobody here knows your needs, preferences or budget, even if we knew everything about each other, we still know not which one would be best for you. I suggest that you sort your search results by hand and then read a representative sampling of the most popular to those reviews.

  • What are the best BlackBerry to develop themes for phones smart blackBerry?

    Hi all

    I did research with conflicting results using Google in terms of finding the best BlackBerry model to develop themes for sale on world BlackBery.

    I developed for mainly the Curve 8520 themes, but I'm sure that's not the most popular actually sell themes for... See if you have enough money to buy a mid to the end range model, you would probably also extra money for byt a theme...

    I would really appreciate if someone could help me whith this question!

    Thanks a ton

    Good luck with your business.

    You will notice that there is a forum of developers here, separate and apart from the 'Forums to Support General' when you send messages currently.

    Visit this link:

  • What are the best practices to install drivers for Windows 7-64 bit?

    I have HP Pavilion dv6-1115e laptop, which Windows Vista was the original OS. Recently I upgraded to Windows 7-64 bit version, but I still use pilots who originallay came for Windows Vista (no problem at all for the moment). Now I have thoughts of installing drivers that are specifically for Windows 7 64 bit to improve performance. So what I need to first uninstall each software driver and then install the new versions OR I can install them without deleting the previous versions? It would lead to a kind of shock?

    Hello:

    Normally you can just update the drivers without uninstalling existing, unless the installation instructions will tell you to do.

    Some driver packages will automatically uninstall the old drivers before installing new.

    More simply install on the current criteria. I rarely uninstall drivers before updating them.

    After you update a driver, you must always check the tab driver in the Device Manager for the device that you updated to ensure that the new driver installed. You can check this tab before update and then after you updated to note the date/version of the pilot before and the driver date and version later.

    If for some reason, there was no change, then I uninstall the current driver and try reinstalling the newest one.

    Others may have different opinions.

    Paul

  • What are the best settings for the export of the comps before edditing in Premiere Pro

    Hi all!

    As the title says, who are the best settings to export compositions of EI on Pr.Pro and then edit them?

    Let me explain: I have two comps in AE (intro and outro) and want to export in Pr.Pro for with a fottage edditing I shot.

    When I give the size of the files are huge (30 sec = 7 GB).

    Which is the best method (and settings) I can export the intro and outro to a 'normal' size of the file and then put them in Pr.Pro without losing quality?

    [Comp settings: HDTV 1080 29.97 (1920 x 1080)]

    AE and Premiere Pro the two CS4

    If you're having trouble to play things in your Premiere Pro timeline, then find out editing in offline mode. In the edition offline, you work with a version of lower quality of an asset when editing and then replace with a version high quality when you are ready for the release.

  • who is the best 4 db Trigger for auto-differentiels?

    Hello

    Who is the best 4 db Trigger for auto-incrementielle of an id ...?
    With the help of a sequence and the sequence of call in an insert...
    Or by using the following code:
    ----------------------------------------
    SELECT NVL(MAX (SCDEDULE_ID+1),0)
    INTO V_SCDEDULE_ID
    FROM INSP_DAILY_SCHEDULE ;
    EXCEPTION
    when NO_data_found then null;
    WHEN OTHERS then null;
    END;
    or both are the same thing... ?

    Pls advice me..... !

    Kind regards

    Abdetu...

    As already mentioned, you should definitely use sequences, because they are the only mechanism that works in multi user environments. Each user will receive a different schedule_id assigned, while the use of the nvl - max method two sessions when it is running at the same time will acquire the same schedule_id. You can of course lock the entire table to work around this problem, but which leads to questions of scalabilty. Sequences are also faster, as can be seen in the following example:

    SQL> create table insp_daily_schedule
      2  ( schedule_id number primary key
      3  , other_columns varchar2(100)
      4  )
      5  /
    
    Tabel is aangemaakt.
    
    SQL> create sequence myseq
      2  /
    
    Reeks is aangemaakt.
    
    SQL> create package schedule_api
      2  as
      3    procedure add_daily_schedule_nvlmax
      4    ( p_other_columns in insp_daily_schedule.other_columns%type
      5    );
      6    procedure add_daily_schedule_sequence
      7    ( p_other_columns in insp_daily_schedule.other_columns%type
      8    );
      9  end schedule_api;
     10  /
    
    Package is aangemaakt.
    
    SQL> create package body schedule_api
      2  as
      3    procedure add_daily_schedule_nvlmax
      4    ( p_other_columns in insp_daily_schedule.other_columns%type
      5    )
      6    is
      7      l_schedule_id insp_daily_schedule.schedule_id%type;
      8    begin
      9      select nvl(max(schedule_id),0)+1
     10        into l_schedule_id
     11        from insp_daily_schedule
     12      ;
     13      insert into insp_daily_schedule
     14      ( schedule_id
     15      , other_columns
     16      )
     17      values
     18      ( l_schedule_id
     19      , p_other_columns
     20      );
     21    end add_daily_schedule_nvlmax
     22    ;
     23    procedure add_daily_schedule_sequence
     24    ( p_other_columns in insp_daily_schedule.other_columns%type
     25    )
     26    is
     27    begin
     28      insert into insp_daily_schedule
     29      ( schedule_id
     30      , other_columns
     31      )
     32      values
     33      ( myseq.nextval
     34      , p_other_columns
     35      );
     36    end add_daily_schedule_sequence
     37    ;
     38  end schedule_api;
     39  /
    
    Package-body is aangemaakt.
    
    SQL> set timing on
    SQL> begin
      2    for i in 1..10000
      3    loop
      4      schedule_api.add_daily_schedule_sequence(lpad('*',100,'*'));
      5    end loop;
      6  end;
      7  /
    
    PL/SQL-procedure is geslaagd.
    
    Verstreken: 00:00:00.93
    SQL> /
    
    PL/SQL-procedure is geslaagd.
    
    Verstreken: 00:00:00.92
    SQL> /
    
    PL/SQL-procedure is geslaagd.
    
    Verstreken: 00:00:00.92
    SQL> begin
      2    for i in 1..10000
      3    loop
      4      schedule_api.add_daily_schedule_nvlmax(lpad('*',100,'*'));
      5    end loop;
      6  end;
      7  /
    
    PL/SQL-procedure is geslaagd.
    
    Verstreken: 00:00:01.32
    SQL> /
    
    PL/SQL-procedure is geslaagd.
    
    Verstreken: 00:00:01.68
    SQL> /
    
    PL/SQL-procedure is geslaagd.
    
    Verstreken: 00:00:01.32
    

    The only counter-argument that can be given for the nvl - max method, is that it is the independent database, while Oracle sequences are used by Oracle only as far as I know. But since independence database should never be a goal because it leads to poor applications and poor database design because it can only operate features that each database has, this argument is hardly any value.

    Kind regards
    Rob.

  • I want to learn more about how to use my pencil and what are the best applications for drawing

    I want to know what I can use my pencil for and what applications are the best to use with my iPad pro

    Hi scscsc,

    Welcome to the communities of Apple Support and congratulations for your new pencil from Apple!

    Looks like you want to know what you can do with the pencil of Apple and which applications you can use with. Take a look at the Web page below provides much information about the pencil of Apple, which also highlights some applications that are supported by the pencil of Apple.

    iPad Apple Pro - Apple pencil-

    See you soon.

  • Where are the best sites for high-level and how information to do different things in Oracle?


    Hello

    Where are the best sites for high-level and how information about various things in Oracle?

    Some examples of things:

    * spa

    * spm

    * db replay

    * Resource Manager

    I need a place high-level

    and also a place of step by step.

    For example, I look at these sites:

    www.Oracle-base.com

    www.psoug.org

    Thank you Roger

    Part of the problem is not so much finding sites that have articles on Oracle, that is to find reliable websites with this information.  When I search my site of certification for resources, I find a significant number of people who have 'technical' Articles on Oracle. However, many of these blog posts have simply no useful information.  It is not even that they are wrong so far as article does not include anything that is not declared more clearly and in detail in the documentation.

    That said, a site you have not mentioned above is the Oracle Learning Library.  There very often an excellent material that is very closely linked to the themes of the certification:

    https://apexapps.Oracle.com/pls/Apex/f?p=44785:1:0

  • What are the advantages and disadvantages of using iCloud drive (or other Cloud services) compared with iTunes game against external hard drive, Solid State etc. to store my songs iTunes, playlists, ratings etc?

    First question: what are the advantages and disadvantages of using iCloud drive (or other Cloud services) compared with iTunes Match against Solid State external hard drive etc to store my songs iTunes, playlists, ratings etc?

    Please let me know what are the alternatives for storage of my songs, playlists, song etc. other than iTunes game ratings ($ 24.99 / year)?  Is there a way to store all my songs with my song ratings, playlists, etc. with a CD song quality? Most of my (currently 130 GB) songs on my computer are CD quality that I prefer to keep as well as my notes of each song (i.e. 5 * vs. 4 * etc.), playlists, groups (music, classical, popular, country etc.).  What are the advantages and disadvantages to store my iTunes songs while CD quality with my personal notes, reading lists, groupings in the cloud?  ICloud of Apple Drive ($ 2.99 per month or $36 / year for 200 GB) would be the best way to automatically update and maintain my rankings iTunes personal including the future editions of the song etc or using Amazon, IBM, Microsoft etc cloud or an external hard drive SSD would work as well and maybe cheaper?  I currently have my iTunes on a PC of 2007 with vista (I use a 1 8T Western Digital external upward by car for my personal info all over HP, songs, photos etc. which is currently close to 170 GB) but also have an Apple i-phone 6 & I Air cushion.  Although I did not need to have all of my music with all their sides, etc. available on all of my devices at all times as iTunes game, I still would have easy access to information on both my PC and my iPhone or iPad?  Thank you.

    In my opinion?

    I back up my data to an external drive for several reasons.  The first is my data - if I put on the cloud, someone else has control over it, they can see what I have and change the preferences to what they see of marketing.

    Almost as important as that - if I had to rely on the cloud whenever I wanted to update my playlists on my phone, I need a better internet connection I have now (working at sea).  To get the best out of the cloud, you need a solid link to home, work or mobile.

    As a spin-off - I hate the fact that Apple take away a feature in their software updates and then allow an app to be sold in their store to replace this feature - or worse still, some features that were available before the updates are now "cloud only."  And Yes - you have to pay for the cloud.  I like most of the people do not appreciate the 'accomplished fact. "

    From the back of the external hard drive ASI downside, is that to be safe, you need to store outside in a separate computer place.  If keep you them together, if one is lost, probably, they are both.  That is to say for me a full backup before you travel, then a new upward as soon as I go home.  Downside is how much data may be lost between the two back ups if I needed to restore.  For me, its worth the risk.  If I was away and say had bought a ton of new music and couldn't go home anytime soon, I can always head to the store and buy a new external drive, they are massively expensive.  Even if my computer has to go for repair and my remote is to halfway around the world - I want to buy a new one.

    Now, some will say that once you buy a new external, you spend more than you would on a cloud subscription.  It's true, but in the 6 years following the purchase of Mac that I've only had to buy a new external once - so with a little luck and planning - it works.

    I left took well - I am not a subscriber of cloud, nor do I want to be.

  • What are the best deals for an iPad?

    What are the best deals for an iPad?

    That best meets your needs. We do not know what those needs are, it is really not possible to say which cases would be best for you.  I would recommend that search you Amazon for the type of case (business keyboard, leather case, etc.) in which your interests and then read the comments for those who is very much appreciated.

Maybe you are looking for

  • How to disable dialog airplay when my library photos are transmitted continuously on TV

    I get the Airplay dialog box popping up while the pictures are streamed on my TV from my Itunes library.  How can I disable this dialog box?

  • I can't download my game

    I can't load a game that I installed from the internet. There is a casino and it has worked before, but now I can't even install it. I've tried the resolution of compatibility issues and nothing works. Any ideas?

  • Not able to download BB 10 native SDK

    Not able to download the native SDK BB10 or momentics IDE of https://developer.blackberry.com/native/downloads/ , the same page opens again and again. What is the correct link, I can download it Thank you Maria

  • Smartphones blackBerry from net_rim... library error ' not found

    Whenever I try to access any one of my media libraries this error comes to the top. If I try to use the camera the camera freezes too with the viewfinder, updated as if the camera wants to take a picture but no go and I have to do battery pull the de

  • Need to reinstall everything... Ugh!

    Creative cloud downloaded several versions of the AI on my system. I got CS6, CC and CC2014. I'm sure it's something I've done in the settings or the basic user error, but the short version of my problem is that newer versions have had some compatibi