Check for duplicates of validation of the document

Dear friends,

I need to apply the control section of a document where duplicate document must not be inserted into the table as if abc.txt already exists in the table and then must not insert into the table, if I navigate again, so I create

validation process

declare

number of v_cnt;

Start

Select count (1) in v_cnt INT_DOCUMENT_MAS, where NAME =: P173_FILE_NAME;

If v_cnt = 0 then

Returns true;

on the other

Returns false;

end if;

end;

But it does not work. Where I'm wrong?

Thnaks

The CORRECT ANSWER IS TO POST DUPLICATE DOCUMENT INSERSION.

DECLARE

V_CNT NUMBER: = 0;

BEGIN

SELECT COUNT (1) IN V_CNT

OF INT_DOCUMENT_MAS

WHERE NAME = (SELECT DISTINCT (FILENAME)

FROM APEX_APPLICATION_FILES WHERE NAME = (:P173_FILE_NAME));

IF V_CNT > 0 THEN

RETURN FALSE;

ON THE OTHER

RETURN TRUE;

END IF;

END;

Tags: Database

Similar Questions

  • El Capitan checks for virus/malware infections in the system?

    El Capitan checks for virus/malware infections in the system?

    There is so much discussion on the iMac does not require does no antivirus, because it is well protected. On the other hand, horses Trojan seems to get their way in a system through vulnerabilities in browsers or other applications. Is there a way to know the State of health without having to pay for a subscription and the loading of the system with the external scanners and controllers as the extra load of the system?

    Yes, Mac OS X has built-in protection that is updated regularly (in the background). You don't need any other software.

    Adware and malicious software is different. If Safari is supported with pop-ups,

    Quit the Apple Safari > force quit menu. Relaunch Safari since the Dock icon while holding the SHIFT key.

    This reading can also be useful.

    Guide of Mac Malware: How can I protect myself?  http://www.thesafemac.com/MMG-defense/

  • I'm lookng for a product where I can produce a PDF secure for several clients.  When the document is finished, I want to fix it with a password, to make it more difficult to copy, but then I want to record in a secure location, send the link and not

    I'm lookng for a product where I can produce a PDF secure for several clients.  When the document is finished, I want to fix it with a password, to make it more difficult to copy, but then I want to record in a secure location, send the link and the password to the clients.  When customers go to download the PDF, they will have to if they accept the terms and conditions.  If it is accepted, they can download the document.  Working in DocumentCloud PDF services?  Thank you.

    Hi davidc21010281,

    You can try the DC Acrobat Adobe Acrobat download free trial | Acrobat Pro DC. Where you can create a secure PDF file (using Acrobat|) Securing PDF files with passwords) & send them to your customers (send and track online documents |) Tutorials Adobe Acrobat DC), on the other end, customers can download the PDF but they would need the password/certificate in order to open the PDF file.

    See also the FAQ of Adobe Document Cloud.

    Kind regards

    Nicos

  • I bought the creative cloud for students and cannot access the document cloud.

    Hello.  I bought the creative cloud for students and cannot access the document cloud.  I thought that it was part of the overall agreement, but it just says my trial has expired and does not allow me to do something.  My payments were made.  The only reason why I

    Your subscription to cloud shows correctly on your account page?

    If you have more than one email, you will be sure that you use the right Adobe ID?

    https://www.adobe.com/account.html for subscriptions on your page from Adobe

    If Yes

    Some general information for a subscription of cloud

    Cloud programs don't use serial... numbers you, connect you to your cloud account paying to download & install & activate... you may need to sign out of the cloud and restart your computer and log into the cloud for things to work

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp

    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html

    If no

    This is an open forum, Adobe support... you need Adobe personnel to help

    Adobe contact information - http://helpx.adobe.com/contact.html

    -Select your product and what you need help with

    -Click on the blue box "still need help? Contact us. "

  • LAG does not not after more Guide of switch Configuration for EqualLogic San steps in the document.

    We use the information provided in the following document: i.dell.com/.../dell-networking-n4000-series-switch-configuration-guide-for-equallogic-sans.pdf

    We have two switches of N4032F which are stacked and followed almost word for Word from this document.  We do not use DCB.  We are trying to set up a SHIFT and follow-up step 2.11 in the document, but it seems that the SHIFT does not work.

    Switch 1:

    serial interface fortygigabitethernet 1/1/1-2

    No spanning tree portfast

    active in mode channel-group 1

    Switch 2:

    interface series fortygigabitethernet 2/1/1-2

    No spanning tree portfast

    active in mode channel-group 2

    However, when it was discovered after changing these settings it shows them as being inactive.

    Can someone please help?

    Thank you

    Jeff

    Thanks for the additional information. When the switches are stacked, they act as a logical switch. Then when you plug with an OFFSET you are basically creating a loop and hook up a switch on himself. Desempilement switches and just use the OFFSET for the interconnection of the switch and you should see the GAL go active.

  • Check for duplicates in OEDQ

    Hi all

    In OEDQ, when we use the duplicate check tool, it will filter real records so that duplicated, is it possible to OEDQ through which we can keep the original record

    Any help will be really appreciated.

    Thank you

    VT

    Hello

    You must take the duplicate records in a treatment group and the merger of merge duplicates of unique records. If you then meet with no duplicated records, use a merge data stream.

    Normally duplicates found to duplicate check are not duplicated in the complete record, only on the attribute or attributes that you control. This is why you must decide how to build a single multiple record using the logic of normal merger (also available on processors of game).

    Group and merging effectively offers a way to run corresponding to 'fast' accurate, without the need for clustering, comparisons or correspond to rules but with the option to merge.

    Kind regards

    Mike

  • My computer stopped the update since October 23, 2010, and whenever I try to check for popular update, I get the number of error code 80070490. Help, please!

    My update of the computer window stopped updating since October 23, 2010 and each time I tried check the update popular I get the error code 80070490. Help, please!

    Hello

    questions have already been addressed here in my 1st reply:

    Please read the answer given

    Here is the solution for your problem of MS

    You receive an error code "0 x 80070490" when you use Microsoft Update or Windows Update Web sites to install updates

    http://support.Microsoft.com/kb/958044

    or repost in the correct windows update forum

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_update?page=1&tab=all

  • CS6 Question w/save for Web, do not use the Document DPI

    I'm creating an Action where I take a document large PSD format (photography) and change the size of the image at 72 DPI and 1000 pixels on the long side of the photo. If the action flattens the image and then modified the image 72 DPI and 1000 pixels on the longest side. The Action then runs thru photo save for Web, while this does not reduce the file size and it creates the appropriate pixel dimensions, it does not recognize the change DPI and delivers the original document of 360 DPI.

    I can take the same image, resize the image at 72 DPI and 1000 pixels on the longest side and then "save under" a jpg file. This always creates a 72 DPI jpg. What gives save for Web?

    The PPI figure is stored as metadata. If the Metadata in SFW parameter is set to 'All' the 360 PPI is preserved.

    So any setting less than 'All' will throw the Print metadata and set a default value of 72 DPI.

    Gene

  • Student discount - validity of the document

    Hello community,

    A friend of mine wants to buy Adobe Creative Cloud, but she has nearly completed studies. His student card will be valid for only a few months.

    Is it necessary to be a student at time of purchase only, or all the year (if she choose license with 12 month plan for 19.99 euros/month)?

    Thanks in advance for the answers.

    Hello

    Then maybe you can consider contacting Adobe.

    Contact the customer service

  • Unable to control upgrade: an error occurred when checking for a software update, and the only option is to cancel or retry...

    I bought this iPhone 6 + about 4 weeks ago, today, I saw that there was an iOS updated 9.3.3. I was able to update my iPhone to work 5 sec, but not my iPhone6 +. I don't have a phone to jailbreak and current iOS is 9.3.2.  I googled the question and I tried these:

    1. You can try to update your software via iTunes. Your software update may fix this problem.

    2 settings > Wi - Fi and turn off Wi - Fi, and then click New.

    3. restart your iOS device.

    4 reset network by tapping settings settings > general > reset > reset network settings.

    5. change your DNS settings. To do this, simply tap Settings > Wi - Fi, then tap the blue arrow next to your existing Wi - Fi network. Press the 'DNS' field and enter the DNS servers; 8.8.8.8, 8.8.4.4 (Google Public DNS). After that, try a software update.

    I tried these that none worked.

    Thanks for the help in advance!

    Kimlynusa

    Kimlynusa wrote:

    I was able to update my iPhone to work 5 sec, but not my iPhone6 +.

    Why were you unable to update the iPhone 6 +? What happens when you try? You receive an error? If Yes, what is the exact text of the error?

  • Best practices for placing < meta > tags of the document HEAD

    Good afternoon

    We use the ability of Oracle UCM to dynamically generate pages based on page templates, model region and data files of contributor contributors can edit and publish. We have a specific need to include meta tags in the head section of each page that are customized for the data present in each contributor data file. Including meta tags in the model of the region that relates to a section of our site Web do not work, because it does not include a < head > section. Otherwise, I can't put metatags in the page template, since the data contained in each meta tag are specific to the metadata surrounding each contributor of the data file.

    My question is this: is there a best practice, or Oracle-taking method in charge of this task? I believe he remains the path to get there, as is a very common need for meta tags for search engines and social media sites.

    Thank you very much for your time,

    Josh

    I believe that the following should be useful:

    wcmElement

    ssGetDocInfo

    Jonathan

    http://jonathanhult.com

  • Application of a paragraph style for blocks of text in the document

    Hi all! Don't know what I'm doing wrong here, and I can't find examples online, so I thought I'd ask.

    var app.activeDocument = docRef;

    var textRef = docRef.textFrames;

    paraStyle var = docRef.paragraphStyles.getByName ("RetraitGauche");

    var = textRef.paragraphs.length iCount; This is the error that is displayed.

    for (var i = 0; i < iCount; i ++) {}

    paraStyle.applyTo (textRef.paragraphs [i], true);

    }

    Redraw();

    Thanks in advance!

    In short, I would say that you must loop frames within this loop of paragraphs and related texts.

  • How to change the layout for a specific page in the document word using ActiveX?

    Hi all

    I'm generating report word using ActiveX. I want to change a particular landscape page. How can I do this using LabVIEW ActiveX.

    Kind regards

    Santhosh M

    Try this.

  • How to change the language for spell check for CS4?

    How can I change the language for spell check for CS4?

    At the bottom of the character Panel.

    (Window > character)

  • Windows search fails to find the files in the Documents folder

    Original title: Windows 7 search finds no files, even though all the settings have been verified and the search index has been rebuilt

    I recently bought a new Dell laptop Studio 1558 with Windows 7 Home Premium and moved through several hundred documents from my old PC to the new folder 'My Documents'.

    As many others have found, Windows Search has been completely useless. She seems to have no problem finding files in the music folder or image, but anything in the document library is invisible to the it - even if I get in a subfolder small for a file name I see just in front of me, Windows Search will announce that "no element not corresponding to your search.

    I took a number of steps so far to fix the problem, which none have worked:

    1. I checked which locations are indexed for search and ensured that the document library is among them (as well as all of my C drive).

    2. I checked that appropriate file extensions (.doc .docx .pdf, etc.) are all selected from the "File Types" list in indexing options (although I noticed that 'Description of filter' for .pdf bed "Registered IFilert is not found" - not this problem with Word documents).

    3. I have deleted and rebuilt the search index.

    4. I ran the troubleshooting Windows 7 Search tool, which reports that it cannot find any problems.

    5. I have read that some problems with Windows 7 search can be solved by changing a registry key (http://www.intowindows.com/how-to-fix-windows-7-search-problems/) but when I navigate to the folder in my registry, only following three keys are here (not the one mentioned in the difficulty):

    • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\ {0B2BAAEB-0042-4DCA-AA4D-3EE8648D03E5}
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\ {36011842-DCCC-40FE-AA3D-6177EA401788}
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\ {59BD6DD1-5CEC-4D7E-9AD2-ECC64154418D}

    A couple of things, I said - if I create a new word document and save it, Windows Search seems to immediately get back on it and is able to find. I also noticed that at first when I opened one of the word documents that have been transferred over the old PC and then closed it again, Windows Search picked up on it and could find it. So I went to try to open and close then all of my documents (an arduous task...), but the subject to halfway through Windows Search has ceased to be able to find them.

    All Word documents using Microsoft Word 2007 in .doc or .docx format, although the problem also applies to Excel, PDF and image files, so I don't think that the problem is with the word itself.

    I have tried everything I can think so far, including all the solutions, I could see suggested in previous discussions. I really need the search function working to effectively use my laptop so that any help would be welcome!

    Thank you, Jack

    Santosh thanks, I checked the permissions for the appropriate files and SYSTEM was present, which doesn't seem to be the problem. However, I found a solution that might work for other people are having the same problem.

    I noticed that if I changed the location of the files, Windows search suddenly seems to become aware that they existed and then indexed and followed them correctly - even if they were subsequently moved back to the original location. I just created a temporary folder outside my library of documents and then each subfolder in the folder my documents him and then come back, one by one. It was a bit laborious but the problem solved - I know not why it worked, but all the old files are now indexed and appear correctly when you use Windows Search, and it seems not to have any problems, follow-up of the newly created files.

    Cheers, Jack

Maybe you are looking for

  • 10.11.6 updating killed my apps from user account

    I just installed the latest updates on the App Store (10.11.6 I guess) to find when restarting the Apps on my main user account (an administrator account) no longer work. The account is running very slow and lazy, struggling to load anything and beac

  • How can I remove an update of the Bios on the Qosmio X 300

    How can I remove a Bios Update?I installed it on my Qosmio X 300 and now it says I have 2.99 GB instead of 3 GB.My lights not working.My remote is not working. So please help me guys

  • Reduce the size of the string

    Hello I would like to have only the last digit of my rope 2. Example: I have a result in the string 28 "c" but I would only take 8 c (change of result every time that it is only an example). Can you help me please? Thank you.

  • PoCL FlexRIO 7962R and 1483 module

    Hi people! I use a platform SMU make some video acquisition/processing. I use a 7962R with a module of 1483 FlexRIO (and therefore a connection Camera Link between the 1483 and the camera). With the help of examples of LabVIEW, I managed to develop a

  • PtByPt; Question of derivatives

    Hello I'm working on a program that read data from serial port (FS = 1000) permanently. I chose to read the data in blocks of 512 loop producer and send it via FIFO to the consumption loop. On the consumption loop, I want to filter and get the signal