Create Table In Sql Server
Syntax-
CREATE TABLE TableName
(
ColumnName1 INT PRIMARY KEY IDENTITY,
ColumnName2,
ColumnName3
)
Ex.
CREATE TABLE Tbl_CityMaster
(
Id INT PRIMARY KEY IDENTITY,
CityName nvarchar(20),
C_Id int
)
Syntax-
CREATE TABLE TableName
(
ColumnName1 INT PRIMARY KEY IDENTITY,
ColumnName2,
ColumnName3
)
Ex.
CREATE TABLE Tbl_CityMaster
(
Id INT PRIMARY KEY IDENTITY,
CityName nvarchar(20),
C_Id int
)
0 comments :
Post a Comment