About 21,300,000 results
Open links in new tab
  1. SQL Server GETDATE() Function - W3Schools

    The GETDATE() function returns the current database system date and time, in a 'YYYY-MM-DD hh:mm:ss.mmm' format. Tip: Also look at the CURRENT_TIMESTAMP function. Syntax

  2. How to Get Current Date and Time in SQL? - GeeksforGeeks

    Dec 16, 2024 · In this article, we will explain the three main SQL functions to fetch the current date and time: GETDATE (), CURRENT_TIMESTAMP (), and SYSDATETIME (). We will …

  3. SQL Server GETDATE () function and its use cases - SQL Shack

    Dec 16, 2021 · Here, I will use the SQL Server GETDATE function as a specified date for these functions to return various parts or portions of date and timestamp values. We can also use its …

  4. GETDATE (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 22, 2024 · Transact-SQL statements can refer to GETDATE anywhere they can refer to a datetime expression. GETDATE is a nondeterministic function. Views and expressions that …

  5. How to use GETDATE Function in SQL Server

    Nov 28, 2023 · In this SQL Server tutorial, you will learn about the GETDATE function in SQL Server that helps find the current date and time of the system.

  6. sql server - SQL, GETDATE in where clause - Stack Overflow

    Jul 9, 2019 · GETDATE() returns the server's current date and time. Unless you have any records that match that exactly, it doesn't make sense to use GETDATE. It doesn't look like you do …

  7. SQL Server GETDATE() Function Explained By Practical Examples

    Summary: in this tutorial, you will learn how to use the SQL Server GETDATE() function to get the current system timestamp. The GETDATE() function returns the current system timestamp as …

  8. SQL GETDATE Function Use and Examples - SQL Server Tips

    Apr 28, 2025 · Learn about the SQL Server GETDATE () function and how this can be used to get the current date and time to use in T-SQL coding.

  9. SQL Server GETDATE Function Explained with Real-World Examples

    Feb 27, 2025 · In this article, we’ll show you how and when to use GETDATE () in SQL. We’ll also cover the syntax and share some performance tips to make your queries run faster. What is …

  10. GETDATE () in SQL: Examples, Use Cases & Error Handling

    Discover how to use the GETDATE () function in SQL with examples, common use cases, and error handling tips to optimize your queries.

  11. Some results have been removed
Refresh