﻿if not Exists(SELECT * FROM information_schema.tables where Table_name = 'AccountHeader')
begin
	create table dbo.AccountHeader
	(
		ID	int primary key,
		Mat_ID	bigint references dbo.Matter(ID) not null,
		Dom_ID_Type	int references dbo.Domain(ID) not null, -- سیستمی - غیرسیستمی
		Pro_ID_Stage	int references dbo.OtherProperties (ID) not null,
		SerialNo	int not null,
		Title	nvarchar(200),
		Description	nvarchar(1000)
	)
end