Hi all,

Iīm having quite a problem here... My script works with postgree. Now i
want to get a result from a date range... But I just canīt get it done...
Explaining... Letīs supose I want to get all registers from 05/01/2005 to
05/05/2005. How do I do that?
Iīm trying SELECT * FROM table WHERE date BETWEEN $inicial AND $final;
and
SELECT * FROM table WHERE (date > $inicial) AND (date < $final);
But I just canīt get it done... Thanks in advance...


-- 
Diogo N Oliveira - Instrutor EAD - Senai CEDESG


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to