About 27,600,000 results
Open links in new tab
  1. How do I return the SQL data types from my query?

    Dec 17, 2014 · The first way to check data types for SQL Server database is a query with the SYS schema table. The below query uses COLUMNS and TYPES tables: SELECT C.NAME AS …

  2. How to Get the Type of Columns in SQL - GeeksforGeeks

    Apr 5, 2024 · In this article, we cover retrieving column types in SQL using three methods: SQL's Information Schema, the DESCRIBE statement, and Database GUI Tools. Each method offers …

  3. schema - SQL statement to get column type - Stack Overflow

    Nov 15, 2012 · In ISO SQL (i.e. most RDBMS today) you can use the INFORMATION_SCHEMA.COLUMNS view, which SQL Server supports. This view's …

  4. How to Check a Column’s Data Type in SQL - Database.Guide

    Jan 1, 2022 · Here’s an example of using that view to return column data type information: SELECT COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH AS …

  5. How to Get the Data Type of Columns in SQL Server?

    May 16, 2024 · To get the data type of columns in SQL Server we can use the DATA_TYPE column from the INFORMATION_SCHEMA.COLUMNS view.

  6. SQL Server Management Studio - Determine data types

    Nov 15, 2012 · If you select a table name in the query window of Sql Server Management Studio and press ALT + F1 it will display the details of that table. In the background shortcut key will …

  7. 3 Ways to Get a Column’s Data Type in SQL Server (T-SQL) - Database.Guide

    Dec 8, 2021 · Get a Column’s Data Type from a Query. You can also get the data type of the columns returned by a query. See Find Out the Data Type of the Columns Returned in a …

  8. 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 …

  9. How to get column name and datatype - Microsoft Q&A

    Dec 29, 2023 · Yes, you can use T-SQL to query the column names and data types of a table in SQL Server. One common way to do this is by querying the system catalog views. Here's an …

  10. Use TYPE_NAME () to Get the Name of a Data Type in SQL Server

    Nov 18, 2019 · In SQL Server, you can use the TYPE_NAME() function to return the name of a data type, based on its ID. This can be useful when querying a system view such as …

  11. Some results have been removed
Refresh