About 1,190,000 results
Open links in new tab
  1. SQL CREATE TABLE Statement - W3Schools

    The SQL CREATE TABLE Statement. The CREATE TABLE statement is used to create a new table in a database. Syntax

  2. CREATE TABLE (Transact-SQL) - SQL Server | Microsoft Learn

    CREATE TABLE T1 ( c1 INT PRIMARY KEY, c2 VARCHAR (50) SPARSE NULL, c3 INT SPARSE NULL, CSet XML COLUMN_SET FOR ALL_SPARSE_COLUMNS ); Q. Create a system-versioned disk-based temporal table. Applies to: SQL Server 2016 (13.x) and later, and Azure SQL Database.

  3. Create tables (Database Engine) - SQL Server | Microsoft Learn

    Feb 4, 2025 · You can create a new table, name it, and add it to an existing database, by using the table designer in SQL Server Management Studio (SSMS), or Transact-SQL. Permissions. This task requires CREATE TABLE permission in the database, and ALTER permission on the schema in which the table is being created.

  4. SQL Server CREATE TABLE: Creating a New Table in the Database

    This tutorial shows you how to use the SQL Server CREATE TABLE statement to create a new table in a specific schema of a database.

  5. CREATE TABLE SQL Server Syntax Examples

    Mar 15, 2022 · In this tutorial, we learned some of the basics of creating a table in SQL Server. We learned the core elements of a table, a few ways of creating the table, naming conventions for a table, how to insert and modify data in the table and brief overview of some common data types.

  6. CREATE TABLE statement in SQL Server - SQL Shack

    Apr 29, 2022 · This article taught us about the CREATE TABLE statement in SQL Server. We have learned various use cases that can be used to create a table. We learned: How to create a table in a specific schema of the database. How to create a global and local temporary table. How to create a table with constraints. How to create a table in a different filegroup.

  7. CREATE TABLE in SQL Server - GeeksforGeeks

    Apr 5, 2024 · In this article, we will learn how to efficiently use CREATE TABLE statements to create a table in our database. We will cover all the basic concepts with clear and concise examples along with their respective.

  8. Create Tables in SQL Server with T-SQL - MSSQLTips.com

    Dec 23, 2019 · Basic simple syntax to create a table using T-SQL in SQL Server CREATE TABLE database_name.schema_name.table_name ( col1 datatype [NULL | NOT NULL], col2 datatype [NULL | NOT NULL], ... Here, the syntax uses the CREATE TABLE statement to create a new table with a specified existing schema and in the specified existing database name.

  9. Create New Table in SQL Server - TutorialsTeacher.com

    There are two ways to create a new table in SQL Server: Using T-SQL Script; Using Table Designer in SQL Server Management Studio; Create Table using T-SQL Script. You can execute the CREATE TABLE statement in the query editor of SSMS to create a new table in SQL Server.

  10. Create Table SQL Server Step by Step - MSSQLTips.com

    Jul 28, 2022 · Learn how to create a table in SQL Server using T-SQL along with several different examples that build upon each other to create the final table.