Answers for "script create table sql server"

SQL
2

create table sql server

CREATE TABLE schema_name.table_name (
  ID_column INT NOT NULL IDENTITY(1,1) PRIMARY KEY,
  column_1 data_type NOT NULL,
  column_2 data_type 
);
Posted by: Guest on December-10-2021
0

Create table in SQL Server

-- ********************** For more tutorial - Visit NAYCode.com 
CREATE TABLE [dbo].[Customers](
	[Cust_Id] [int] NOT NULL,
	[Cust_Name] [nvarchar](50) NULL,
	[Cust_Address] [nvarchar](100) NULL,
	[Cust_Phone] [nvarchar](50) NULL,
	[Cust_DOB] [datetime] NULL,
 CONSTRAINT [PK_Customers] PRIMARY KEY CLUSTERED 
(
	[Cust_Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
Posted by: Guest on January-09-2022

Code answers related to "script create table sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language