I have this simple class:
CREATE TABLE [dbo].[Movie] ( [MovieId] INT IDENTITY (1, 1) NOT NULL, [Title] NVARCHAR (200) NULL, [Genre] NVARCHAR (200) NULL, [Date] DATE NULL, [Price] DECIMAL (18, 2) NULL, CONSTRAINT [PK_dbo.Movies] PRIMARY KEY CLUSTERED ([MovieId] ASC) );
Now I want to implement SpecialMovie ..., which has one additional property called Special .
I work with a basic approach.
I tried to find some guides, but nothing was really helpful.
I have a SQL Server 2008 book and it says nothing about inheritance ... is not inheritance an important thing in SQL? It is strange that he has nothing to inherit from ....
source share