About 64,700,000 results
Open links in new tab
  1. SQL Data Types for MySQL, SQL Server, and MS Access - W3Schools

    In MySQL there are three main data types: string, numeric, and date and time. A FIXED length string (can contain letters, numbers, and special characters). The size parameter specifies the …

  2. Change the Data Type of a Column in SQL - Baeldung

    Aug 20, 2024 · In this article, we explored how to change a column’s data type across different database management systems: MySQL, PostgreSQL, and SQL Server. Each system offers …

  3. Change column datatype in SELECT in SQL Server - Stack Overflow

    To change the datatype of the column to a text datatype, you could execute this: where n is the number of characters in the string, or: where n is the maximum number of characters in the …

  4. SQL queries to change the column type - SQL Shack

    Sep 22, 2021 · This article will show the way to change the data type of the columns in SQL Server 2019, MySQL Server, and PostgreSQL.

  5. SQL alter type of column – SQL Tutorial

    This article will cover how to alter the data type of a column in SQL Server using the ALTER TABLE command, as well as best practices and considerations to ensure a smooth transition. …

  6. SQL Server ALTER TABLE ALTER COLUMN By Examples

    SQL Server allows you to perform the following changes to an existing column of a table: To modify the data type of a column, you use the following statement: ALTER COLUMN …

  7. How to change data type in SQL select query?

    Oct 28, 2024 · By using the methods outlined in this article, you can effectively change data type in your SQL select query to improve performance, ensure data integrity, and support specific …

  8. SQL - Modify Column Data Type and Size - TutorialsTeacher.com

    Different databases support different ALTER TABLE syntax to modify the column data type and size. Learn how to change them in the SQL Server, Oracle, and PostgreSQL database.

  9. SQL ALTER TABLE Statement - W3Schools

    To change the data type of a column in a table, use the following syntax: SQL Server / MS Access: My SQL / Oracle (prior version 10G): Oracle 10G and later: Look at the "Persons" …

  10. SQL ALTER COLUMN Guide: Change Datatype of Column in SQL

    May 5, 2025 · While standard SQL supports a limited set of alterations, Transact-SQL (T-SQL)—SQL Server’s proprietary extension—offers broader support with stricter rules and …

  11. Some results have been removed
Refresh