07-30-2023, 02:11 PM
I'm a SQL developer and spend most of my time in MSSQL.
I'm looking for a better way to filter a "Timestamp without timezone" field in a PostgreSQL DB.
I'm using:
Where
DateField >= '2010-01-01' and
DateField < '2012-01-01'
But given that I'm not an expert at the syntax I have to think there's a better way.
Any Suggestions? Thanks.
I'm looking for a better way to filter a "Timestamp without timezone" field in a PostgreSQL DB.
I'm using:
Where
DateField >= '2010-01-01' and
DateField < '2012-01-01'
But given that I'm not an expert at the syntax I have to think there's a better way.
Any Suggestions? Thanks.