Yahoo Αναζήτηση Διαδυκτίου

Αποτελέσματα Αναζήτησης

  1. 18 Αυγ 2013 · USE Database_name SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='Table_Name'; And do not forget to replace Database_name and Table_name with the exact names of your database and table names.

  2. Syntax. SELECT column1, column2, ... FROM table_name; Here, column1, column2, ... are the field names of the table you want to select data from. The table_name represents the name of the table you want to select data from.

  3. 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: sp_help [ [ @objname = ] table_name ] In MySQL and Oracle, you can use DESCRIBE: DESCRIBE table_name;

  4. 10 Μαΐ 2023 · Step 1: Defining the structure of the table. Creating a table: create table one. ( id int not null, name char(25), city varchar2(25) )

  5. 22 Ιουλ 2024 · SELECT s.name as schema_name, t.name as table_name, c.* FROM sys.columns AS c INNER JOIN sys.tables AS t ON t.object_id = c.object_id INNER JOIN sys.schemas AS s ON s.schema_id = t.schema_id WHERE t.name = 'mytable' AND s.name = 'dbo'; Related content. sys.columns (Transact-SQL) sys.tables (Transact-SQL) sys.schemas (Transact-SQL)

  6. 2 Ιουλ 2024 · To view the structure of a SQL table, you can start by writing a SELECT statement with the keyword SELECT followed by the column names or the wildcard character (*) to select all columns from the table.

  7. 2 Ιουλ 2009 · The INFORMATION_SCHEMA.TABLES view allows you to get information about all tables and views within a database. By default it will show you this information for every single table and view that is in the database.

  1. Γίνεται επίσης αναζήτηση για