About 31,500,000 results
Open links in new tab
  1. How to find specific column in SQL Server database?

    Jul 13, 2017 · You can query the database's information_schema.columns table which holds the schema structure of all columns defined in your database. Using this query: select * from …

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

    Jan 1, 2022 · Here are examples of getting the data type of a column in various SQL databases. As mentioned, most major RDBMSs support the information_schema.columns view. Here’s an …

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

  4. INFORMATION_SCHEMA.COLUMNS - SQL Server Tips

    Apr 1, 2025 · The INFORMATION_SCHEMA.COLUMNS view allows you to get information about all columns for all tables and views within a database. By default it will show you this …

  5. How to Determine the Data Type of a Column Using SQL

    Jul 23, 2024 · In this tutorial, we’ll explore different ways to determine a column’s data type in various SQL-based systems. We’ll cover methods using the information_schema.columns and …

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

    Dec 28, 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 …

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

  8. How To Check Datatype Of Column In SQL Server

    Dec 27, 2024 · To check datatype of column in SQL Server, follow the below steps. 1. Open SQL Server Management Studio and connect to your SQL server instance. 2. Expand the …

  9. Methods to Get Data Type and Column Information in SQL

    Mar 14, 2025 · When working with databases, it’s often necessary to retrieve metadata about the structure of your tables, including column names, data types, and other relevant properties. In …

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

    Dec 8, 2021 · GUIs like SSMS or Azure Data Studio make it easy to see a column’s data type. Usually it’s a simple matter of navigating to the column in the object explorer and you can see …

  11. Some results have been removed