I've this table:
CREATE TABLE [SomeTable](
[Id] int NOT NULL
,[SomeColumn] varchar(50) NULL
,[ParentId] int NULL CONSTRAINT [PK_SomeTable] PRIMARY KEY CLUSTERED ([Id] ASC)
ALTER TABLE [SomeTable] WITH CHECK ADD CONSTRAINT
[FK_SomeTable_SomeTable] FOREIGN KEY([ParentId])
REFERENCES [SomeTable] ([Id])
ALTER TABLE [SomeTable] CHECK CONSTRAINT [FK_SomeTable_SomeTable]
Sql Server does not allow me to put ON UPDATE CASCADE.
Is there any way to get that if i update Id column, all child rows ParentId get updated too?