About 279,000 results
Open links in new tab
  1. MySQL :: MySQL 9.3 Reference Manual :: 14.10 Cast Functions

    With CAST(expr AS type syntax, the CAST() function takes an expression of any type and produces a result value of the specified type. This operation may also be expressed as …

  2. MySQL | CAST( ) Function - GeeksforGeeks

    May 12, 2023 · The MySQL CAST() function is used for converting a value from one datatype to another specific datatype. The CAST() function accepts two parameters which are the value to …

  3. MySQL CAST() Function - W3Schools

    Aug 29, 2017 · The CAST() function converts a value (of any type) into the specified datatype. Tip: See also the CONVERT() function. Syntax

  4. MySQL CAST Function - MySQL Tutorial

    This tutorial shows you how to use MySQL CAST function to convert a value of any type into a value with a specified type.

  5. Why do I get a syntax error when using CAST in MySQL?

    Jan 26, 2013 · I am trying to use the CAST function, but keep getting the following error: It doesn't matter what the source and target date types are. The only time it doesn't give me an error is …

  6. sql - MySQL Workbench: Using the CAST function to return …

    Mar 2, 2020 · For the following SQL query: SELECT OrderDate, CAST(OrderDate AS data(YY:MM:DD:HH:MM:SS)) AS 'Order - full date and time', CAST(OrderDate AS …

  7. MySQL CAST: A Guide to the Data Conversion Function

    Nov 25, 2024 · CAST is a MySQL function that takes an expression of any type and produces a result value of the specified type. In other words, it converts a value from one data type to …

  8. MySQL :: MySQL 9.3 Reference Manual :: 14 Functions and …

    For information about loadable functions and stored functions, see Section 7.7, “MySQL Server Loadable Functions”, and Section 27.2, “Using Stored Routines”. For the rules describing how …

  9. How to Effectively Use MySQL's CAST Function to Convert Data …

    Feb 19, 2025 · By using the CAST function to convert these values into integers, you can execute your calculations accurately. In this SQL statement, the CAST function converts the sales …

  10. MySQL CAST Function with Examples - Dot Net Tutorials

    The MySQL CAST function is used to convert a value or expression from one data type to another data type. The changing of one data type to another data type is known as casting. The …

  11. Some results have been removed
Refresh