Is there a difference between the two examples of creating a table? One includes the CONSTRAINT keyword, the other does not.
CREATE TABLE [dbo].[Person]( [ID] [bigint] NOT NULL, [Name] [varchar](255) NOT NULL, PRIMARY KEY CLUSTERED ([ID] ASC)) CREATE TABLE [dbo].[Person]( [ID] [bigint] NOT NULL, [Name] [varchar](255) NOT NULL, CONSTRAINT [PK_Person] PRIMARY KEY CLUSTERED ([ID] ASC))
I have a database with tables defined in both directions, I wonder if I will do something with it.
source share