About 463,000 results
Open links in new tab
  1. sql - Describe table structure - Stack Overflow

    Jun 7, 2017 · For SQL Server use exec sp_help. For MySQL, use describe. For Sybase aka SQL Anywhere the following command outputs the structure of a table: Highlight table name in the …

  2. SQL | DESCRIBE Statement - GeeksforGeeks

    May 10, 2023 · The SELECT INTO statement in SQL is a powerful and efficient command that allow users to create a new table and populate it with data from an existing table or query …

  3. How can I show the table structure in SQL Server query?

    Aug 18, 2013 · In SQL Server, you can use this query: USE Database_name SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='Table_Name'; And do not …

  4. How to print the structure of a table and its contents in SQL

    Dec 28, 2010 · Two different queries will be used for this. The table to show the table structure is: DESC or DESCRIBE : Used to describe the table structure present in the tablespace. USE : …

  5. How to view table structure in SQL? - TablePlus

    Sep 11, 2019 · To show the table structure with all its column’s attributes: name, datatype, primary key, default value, etc. In SQL Server, use sp_help function: In MySQL and Oracle, …

  6. SQL Server Cheat Sheet - LearnSQL.com

    Sep 4, 2023 · This cheat sheet is a comprehensive guide to SQL Server, offering a quick reference to its essential commands. It covers the basics of creating and displaying databases …

  7. SQL Server – Get the Table Structure Using T-SQL

    When you are writing a SELECT statement and you just want to limit the number of columns, you would use the sp_help stored procedure to research the underlying table structure as shown …

  8. SQLite Describe Table - SQLite Tutorial

    This tutorial shows you how to get information on the structure of a table using SQLite command line shell program or an SQL statement.

  9. get basic SQL Server table structure information

    Feb 11, 2013 · sp_help will give you a whole bunch of information about a table including the columns, keys and constraints. For example, running. will give you information about Address. …

  10. How to View a Table in SQL: Essential Steps for Database …

    Jun 28, 2023 · MySQL and MariaDB users can use the SHOW TABLES command. PostgreSQL has the \dt command in the psql command line. SQL Server users can leverage the sys.tables …

  11. Some results have been removed
Refresh