About 1,240,000 results
Open links in new tab
  1. SQL | DESCRIBE Statement - GeeksforGeeks

    May 10, 2023 · The SELECT statement in SQL Server is a foundational SQL command used for querying and retrieving data from one or more tables within a database. This command allows users to specify which columns and rows to retrieve and apply filters to focus on specific data and perform various operations to mani

  2. What is the equivalent of 'describe table' in SQL Server?

    Nov 26, 2008 · There are a few methods to get metadata about a table: Will return several result sets, describing the table, it's columns and constraints. The INFORMATION_SCHEMA views will give you the information you want, though unfortunately you have to query the views and join them manually. this is a more correct version to Viranja's answer.

  3. SQL Server Describe Table - GeeksforGeeks

    May 27, 2024 · In this article, we will learn how to describe a table in SQL Server. There are 3 methods through which we can describe a table in SQL Server: To understand how we can get the describe a table SQL Server, we will consider the table Customer as shown below: 1. Usign sp_help to Describe a Table in SQL Server.

  4. Get the Description of a Table in SQL - Baeldung

    Apr 8, 2025 · In modern databases, for example, we can retrieve a table’s column names, data types, constraints, and indexes. In this tutorial, we’ll explore obtaining a table’s description in PostgreSQL, MySQL, and SQL Server.

  5. SQL DESCRIBE TABLE: Get a Description of a Table with Example

    Aug 30, 2023 · SQL DESCRIBE TABLE is a SQL statement that is accountable for telling something about a specific table in the database. If we want to show the structure of a database table or tables in the server then, we will use the SQL command DESCRIBE or other keyword DESC, which is identical to DESCRIBE one.

  6. How to use DESCRIBE Statement in SQL - Calisto Code

    May 23, 2023 · In this article, we’ll explore how to use the DESCRIBE statement in SQL, including its syntax and some practical examples. Syntax of the DESCRIBE statement. The syntax of the DESCRIBE statement in SQL is straightforward. Simply type the following command into your SQL client: DESCRIBE table_name; Or, for a shorter, equivalent command: DESC ...

  7. Use a Query to access column description in SQL

    Mar 2, 2013 · Example Usage: Lists extended properties for all columns of the ScrapReason table in the Production schema. sp_helptext will not work since it can't be used for tables as per TechNet.

  8. Using SHOW and DESCRIBE statements in MySQL 8: A Practical …

    Jan 25, 2024 · MySQL 8, which is one of the most popular database management systems, provides useful statements such as SHOW and DESCRIBE to facilitate this understanding. In this guide, we’ll explore how to use the SHOW and DESCRIBE statements through practical examples, taking you from basic usage to more advanced applications.

  9. How to Describe a Table in SQL? - Scaler Topics

    Oct 13, 2022 · To describe a table in SQL we first write DESC or DESCRIBE and the name of the table followed by a semicolon ;. Syntax: SQL Query to create Agents table: AGENT_CODE CHAR(6) PRIMARY KEY, . AGENT_NAME VARCHAR(20), . PHONE_NO CHAR(15), . COUNTRY VARCHAR(25) . ); Insert values to the Agents table:

  10. SQL DESC Statement (Describe Table) - Way2tutorial

    SQL DESC statement use for describe the list of column definitions for specified table. You can use either DESC or DESCRIBE statement. both are return same result. DESCRIBE statement to get following information: With database size precision and If NUMERIC datatype scale. SQL DESCRIBE Table Column use following syntax,

  11. Some results have been removed
Refresh