Before_report Trigger - need to add validation for p_start_date

I have a parameter called p_start_date. I need to make sure that the date of entry into a Sunday. If not Sunday then give an error message, and clearly the p start date field.
How can I accomplish this? Help is appreciated.

Use to_char on a DATE parameter:

if to_char(:p_start_date,'DAY') != 'SUNDAY'
then
 ...
end if;

Tags: Oracle Development

Similar Questions

Maybe you are looking for

  • In iPhoto, when I hit the info icon, I get a note of gobbledygook.

    In iPhoto, when I hit the "info" icon, I get a note long gibberish.  The button 'edit', 'create', ' add to ' and 'share' icons work OK.

  • Is there a number that I can call motorcycle?

    I wonder if there is a number where I can talk to the Motorola Support. The support forums are not reallly he cut for me, because it is most often answered by my peers. I would like to talk to someone on a motorcycle.

  • usb 3.0 ports dv7-6b56nr

    Please help, I have a hp dv7-6b56nr, and all of a sudden, ports usb 3.0 has stopped working. I bought the refurbished laptop from wal mart. For some strange reason, I can always used to load usb chargeable items.

  • HP EliteBook 8560w Win8.1 does not fingerprint IE11

    CZE: Hi, Vlastnim for laptop HP EliteBook 8560w u Saada jsem provedl update na CZE Win 8.1 Pro x 64. Bohužel in. installation nastroje HP Password Manager 8.0.1.1328 a jeho současti v IE11 přihlašovani nefunguje mi. Přihlašeni počitače funguje v pořa

  • HP Scan not seeing my Deskjet F2480

    I need to scan documents. I installed the software (successfully without errors) of the HP site, registered, but when I open HP Scan he doesn't see my camera. I used the HP scanning on my previous laptop. I use a Macbook Pro running aid 10.7.5 ~ me!