If I have the following table definition:
CREATE TABLE [dbo].[Application] (
[ApplicationId] INT IDENTITY (1, 1) NOT NULL,
[Name] NVARCHAR (MAX) NULL,
CONSTRAINT [PK_dbo.Application] PRIMARY KEY CLUSTERED ([ApplicationId] ASC)
);
Is it possible to insert my own test data and override the identity column? The reason I am asking is because I have several tables I need to populate like this and I want to get the ID columns in each to match foreign keys?
If this is not possible then could I insert data and then later change it to an identity column? If anyone can give me an example how to do that I would be very happy.