Site Menu
- Home
- Products
- NexusDB
- Nexus Quality Suite
- NexusDB Drivers & Connectors
- Nexus Remoting
- Nexus Memory Manager
- Some of our Customers
- Testimonials and use(r)s
- Downloads
- Documentation
- Support
- Pricing & Orders
- About
- Community
- My Nexus
- Recently Updated ...
- Search...
- Site Login
Search
How to I query a date in SQL? What's the date format?
Nexus (and FF) SQL want the date in yyyy-mm-dd format with a compulsary Date keyword.
Similarly for Time you need to use TIME'hh:mm:ss' for and Timestamp/Datetime you need to use TIMESTAMP'yyyy-mm-dd hh:mm:ss' formats.
Examples:
Select * from mytable where mydate = DATE'2002-11-24'; Select * from mytable where mytime = TIME'13:58:27'; Select * from mytable where mydate = TIMESTAMP'2002-11-24 13:58:27';
Questions? Problems?
- Interested to buy but something put you off?
- Can't find what you're looking for?
- Have a suggestion?
Let us know. If you're having trouble contacting us, please check here.
Site Updates
- May 14 2025 - 12:32pm
- Mar 19 2025 - 9:52pm
- Mar 19 2025 - 11:17am
- Mar 14 2025 - 11:23am
- Mar 13 2025 - 11:42pm