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

    Example Convert an expression from one data type to another (datetime): SELECT CONVERT(datetime, '2017-08-25'); Try it Yourself »

  2. CAST and CONVERT (Transact-SQL) - SQL Server | Microsoft Learn

    This example displays a date and time as character data, uses CAST to change the character data to the datetime data type, and then uses CONVERT to change the character data to the datetime data …

  3. SQL convert string to date

    This example demonstrates how to use the CAST function to convert a string to a date. The CAST function is generally simpler and more concise but may be less flexible than the CONVERT function …

  4. SQL Server functions for converting a String to a Date

    In this article, we will learn about SQL Server convert String to Date functions like CAST (), TRY_CAST (), CONVERT (), TRY_CONVERT () and TRY_PARSE () to convert a string to a date format in SQL …

  5. SQL Convert Examples for Dates, Integers, Strings and more

    May 28, 2024 · In this article, we look at how to use the SQL CONVERT function to convert between data types such as date, integers, strings, and more.

  6. Oracle TO_DATE Function

    May 5, 2025 · This tutorial shows you how to use the Oracle TO_DATE () function to convert a date string to a DATE value using a specific format.

  7. SQL Convert Text to Date, Number & String | Cross-Platform Guide

    Nov 20, 2025 · Converting between SQL data types—text to dates, numbers to strings, and everything in between—is fundamental database work. Get the syntax right, avoid performance pitfalls, and …

  8. Convert String to Datetime in SQL Server

    In this tutorial, you will learn how to convert a string to a datetime in SQL Server using the CONVERT () and TRY_CONVERT () function.

  9. Convert Date From String to Date in SQL | A Comprehensive Guide

    May 5, 2025 · When dealing with date information arriving in string format, the date conversion data types become essential. In SQL, date conversion from string to date can be done using functions like …

  10. How Do You Cast a String to Date in SQL?

    Learn how to cast string to date in SQL with easy-to-follow examples and best practices. Understand different SQL functions for date conversion to improve your database queries.