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
- Dec 4 2024 - 1:53pm
- Dec 4 2024 - 1:48pm
- Nov 19 2024 - 1:04pm
- Oct 17 2024 - 10:27am
- Jul 24 2024 - 1:22pm