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
);
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
);
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us