About 2,310,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

    Definition and Usage The CONVERT () function converts a value (of any type) into a specified datatype. Tip: Also look at the CAST () function. Syntax CONVERT (data_type (length), expression, style)

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

  4. SQL Server CONVERT () Function - TutorialsTeacher.com

    The CONVERT () function is similar to the CAST () function except for the style parameter. The CONVERT () is specific to SQL Server whereas CAST () is a part of ANSI SQL functions, which is …

  5. SQL Server: CONVERT Function - TechOnTheNet

    This SQL Server tutorial explains how to use the CONVERT function in SQL Server (Transact-SQL) with syntax and examples. In SQL Server (Transact-SQL), the CONVERT function converts an …

  6. When to Use CONVERT () vs CAST () for Date Formatting in SQL Server

    Aug 6, 2025 · When formatting dates in SQL Server you may be wondering whether to use CONVERT() or CAST(). After all, both functions allow us to convert between data types. Let’s take a look at at …

  7. Understanding the SQL Server CONVERT Function - Axial SQL

    Sep 17, 2024 · The CONVERT function is a conversion function in SQL Server that allows you to convert data between different datatypes and format the result at the same time. It is important to …

  8. Converting Data Types in SQL: Essential Techniques for Data Analysts

    Apr 3, 2025 · Explicit conversion in SQL means manually changing the data type of a value to ensure it is correctly interpreted. Unlike implicit conversion, which SQL handles automatically, explicit …

  9. Conversion functions (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · Conversion functions support data type casting and conversion in the SQL Server Database Engine.

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

    May 25, 2025 · What Is the CONVERT Function? The CONVERT function in SQL converts an expression from one data type to another, often with additional formatting options for dates or …