Im using DBI to connect to a Oracle database and i'm having trouble with 
this:

In a nut shell. I have a table called DATA, and a column called 
DATE_OF_BIRTH.

I need to see if the person is under 21 years old. So I need to compare the 
"DATE_OF_BIRTH" with whatever the current date is. I have tried something 
like.

SELECT DATEDIFF(DATE_OF_BIRTH,SYSDATE) ... But no luck.

Does anyone know how to do this against Oracle?

Thanks in advance.
Steve.



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to