based on the table below:
(
FolderID int NOT NULL IDENTITY(1,1)PRIMARY KEY CLUSTERED,
ParentFolderID int NOT NULL,
FolderName nvarchar(255) NOT NULL,
FolderOrg hierarchyid NOT NULL,
CreateDate date NOT NULL
CONSTRAINT def1_CreateDate DEFAULT GETDATE(),
Title varchar(20) NULL
) ;
Thank you
If all you need to do is add a record, wouldn’t something as simple as this work?
Usage:
If that’s not what you need, please clarify the question.