About 3,050,000 results
Open links in new tab
  1. CAST and CONVERT (Transact-SQL) - SQL Server | Microsoft Learn

    Reference for the CAST and CONVERT Transact-SQL functions. These functions convert expressions from one data type to another.

  2. SQL Server CONVERT () Function - W3Schools.com

    Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.

  3. SQL CONVERT Function - Tutorial Gateway

    The SQL CONVERT is used to change expression from one data type to another. This article shows how to use or write CONVERT in SQL Server.

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

    TRY_CONVERT returns a value cast to the specified data type if the cast succeeds; otherwise, returns NULL.

  5. SQL Convert Function In Depth - SQL Server Tips

    Jan 20, 2022 · Problem There are many different use cases that require us to convert data between different data types (nchar, nvarchar, datetime, datetime2, smalldatetime, etc.) in SQL Server T-SQL, …

  6. CONVERTSQL Tutorial

    The SQL CONVERT function is used to convert an expression from one data type to another. It’s a powerful function that allows you to handle data type conversions and format the output according to …

  7. Mastering the CONVERT Function in SQL: A Comprehensive Guide

    May 25, 2025 · The CONVERT function is a dynamic and precise tool for data type conversions and formatting, making your SQL queries more tailored and robust, especially in SQL Server and MySQL.

  8. Data type conversion (Database Engine) - SQL Server

    Nov 18, 2025 · When you convert between an application variable and a SQL Server result set column, return code, parameter, or parameter marker, the supported data type conversions are defined by …

  9. CONVERT Function in SQL Server - Examples and Alternatives

    Sep 12, 2022 · The article explains how to use CONVERT function in SQL Server | Examples of using the CONVERT function with Date, Numeric, Money, and other data types.

  10. Difference between FORMAT, CAST, and CONVERT in SQL

    When working with SQL Server, three functions often come up that look similar but serve different purposes: FORMAT, CAST, and CONVERT. This guide breaks them down with syntax, examples, …