About 58,500,000 results
Open links in new tab
  1. sql - How do I use select with date condition? - Stack Overflow

    Jan 20, 2009 · Select * from Users where RegistrationDate >= CONVERT(datetime, '01/20/2009', 103) is safe to use, independent of the date settings on the server. The full list of styles can be …

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

    Dec 16, 2024 · SQL provides various tools and data types to work with date and time effectively. In this guide, we will focus on working with the DATETIME2 datatype in Microsoft SQL Server, …

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

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

  5. Where Date in SQL Reference Guide and Examples - SQL Server Tips

    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 …

  6. How to Use Dates in SQL - SQL Knowledge Center - SQL Easy …

    Mar 3, 2024 · First, let’s start with a basic SQL query to fetch a date: This simple command retrieves the order_date for a specific order. However, when dealing with dates, the retrieval …

  7. SQL Server Filter By Date

    May 7, 2025 · Choosing the right data type for your specific needs is the first step toward effective date filtering. Basic Date Filtering Approaches. Let’s explore the fundamental methods for …

  8. SQL – SELECT DATE - GeeksforGeeks

    Dec 2, 2024 · SELECT DATE is an essential concept in SQL, especially when dealing with time-based data. By mastering SQL date functions, such as YEAR(), MONTH(), DAY(), …

  9. How to select rows for a specific date, ignoring time in SQL

    Nov 11, 2010 · Given a table with a datetime column, how do I query for rows where the date matches the value I specify but ignores the time portion? For example, select * from sales …

  10. SQL SELECT DATE: Retrieving and Filtering Dates Professionally

    Jan 29, 2025 · The SQL SELECT DATE statement allows you to retrieve, compare, and filter records based on specific date criteria. This article explores how to use SELECT DATE with …

  11. Some results have been removed
Refresh