About 596,000 results
Open links in new tab
  1. Date Functions in SQL Server and MySQL - W3Schools

    As long as your data contains only the date portion, your queries will work as expected. However, if a time portion is involved, it gets more complicated. MySQL comes with the following data …

  2. sql - How do I use select with date condition? - Stack Overflow

    Jan 20, 2009 · Always make the end date the zero time on the day after you want and use "<". Doing that, you will always include any dates properly, regardless of the time portion of the date.

  3. Where Date in SQL Reference Guide and Examples

    Jan 19, 2023 · Filtering on dates and times is a common SQL operation. This tutorial provides a simple, helpful reference for using the WHERE clause with dates and times in Microsoft SQL …

  4. SQL - SELECT DATE - GeeksforGeeks

    Jul 23, 2025 · In this article, we’ll explore how to use the SELECT DATE functionality in SQL. We will explain how to retrieve and manipulate date values using SQL queries, including DATE, …

  5. SQL Server Date In Where Clause - SQL Server Guides

    May 26, 2025 · In this comprehensive article, I’ll cover everything you need to know about using dates in SQL Server WHERE clauses, from basic syntax to advanced techniques.

  6. SQL Server: Query Date and Time with Datetime Select - PopSQL

    Learn how to query and manipulate date and time data in SQL Server using datetime and timestamp values. Discover how to retrieve the current date and time, filter records between …

  7. Selecting Dates Within a Range Using SQL Queries - Baeldung

    Apr 9, 2025 · In this article, we’ve explored various ways to select dates within a range using SQL queries. First, we looked at basic date filtering, followed by selecting dates within a range, and …

  8. How to Use Dates in SQL - SQL Knowledge Center

    Mar 3, 2024 · Retrieving dates from a SQL database is crucial for analyzing and displaying time-sensitive data accurately. Mastering date retrieval queries can significantly enhance your data …

  9. SQL SELECT WHERE with date and time - Stack Overflow

    Dec 12, 2011 · If you want more than a 24 hour window, you'll need three clauses, one for the start date, one for the end date and one for all the dates in between: WHERE (date = '2011-12 …

  10. SQL Date Functions

    SQL date functions allow you to manipulate date and time effectively. You can use the date functions for various operations such as adding days to a date, calculating the difference …