Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Create a Same ID With Different Names In SQL Server
WhatsApp
kumar k
Nov 26
2015
799
0
0
CREATE
TABLE
[dbo].[LookupDetails](
[Code] [
int
] IDENTITY(1, 1)
NOT
NULL
,
[Module] [
varchar
](50)
NOT
NULL
,
[CodeType] [
varchar
](100)
NOT
NULL
,
[Description] [
varchar
](100)
NULL
,
[Parent] [
int
]
NULL
,
[Status] [
int
]
NULL
,
[IsValid] [
bit
]
NULL
,
[CreatedBy] [
int
]
NULL
,
[CreatedByName] [
varchar
](100)
NULL
,
[CreatedOn] [datetime]
NULL
,
[LastUpdatedBy] [
int
]
NULL
,
[LastUpdatedOn] [datetime]
NULL
,
[LastUpdatedName] [
varchar
](100)
NULL
,
CONSTRAINT
[PK__CodeMast__A25C5AA6099F5001]
PRIMARY
KEY
CLUSTERED ([Code]
ASC
)
WITH
(
PAD_INDEX =
OFF
, STATISTICS_NORECOMPUTE =
OFF
,
IGNORE_DUP_KEY =
OFF
, ALLOW_ROW_LOCKS =
ON
,
ALLOW_PAGE_LOCKS =
ON
)
ON
[
PRIMARY
]
)
ON
[
PRIMARY
]
sql server
Create a Same ID With Different Names
Up Next
Create a Same ID With Different Names In SQL Server