Let say i have a table:
Create Table records(
Name char(20),
Date char(20),
Primary Key (Name));
Date is in format 2005/07/13
If I want to query the database and retrieve data that have date between 2005/06/12 and 2005/07/12, how can I do it with regular expression?
For the Date attribute, if the datatype is Timestamp instead, how would I do it? Thanks.
BTW, I'm using postgresql and programming it with perl.
Create Table records(
Name char(20),
Date char(20),
Primary Key (Name));
Date is in format 2005/07/13
If I want to query the database and retrieve data that have date between 2005/06/12 and 2005/07/12, how can I do it with regular expression?
For the Date attribute, if the datatype is Timestamp instead, how would I do it? Thanks.
BTW, I'm using postgresql and programming it with perl.