About 1,590,000 results
Open links in new tab
  1. 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 …

  2. 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 …

  3. 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.

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

    Dec 11, 2011 · You need to create an additional column in your table called date_time (type DATETIME) which combines the two fields. You should probably ditch the separate date and …

  5. 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 …

  6. How to Write a SQL Query For a Specific Date Range and Date Time?

    Jul 23, 2025 · In this guide, we will focus on working with the DATETIME2 datatype in Microsoft SQL Server, including querying specific time ranges, retrieving records, and handling custom …

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

    Apr 9, 2025 · In this tutorial, we’ll explore how to effectively select dates within a range using SQL queries. We’ll use the University database schema for our examples.

  8. SQL Select Date - TutorialsCampus

    SELECT DATE is used to fetch matching data with specified date in WHERE clause. Syntax - SELECT column1, column2, …, columnN FROM table_name WHERE date_column = …

  9. SQL Date and Time (With Examples) - Programiz

    Here's a quick overview of how date and time are stored by different database systems. There are too many date functions available in each database. However, in this tutorial, we will follow …

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

    Mar 3, 2024 · When diving deeper into working with dates in SQL, mastering date functions is crucial. These tools help manipulate and extract date parts, allowing for more dynamic data …