﻿if not Exists(SELECT * FROM information_schema.tables where Table_name = 'PersonCardSelect')
begin
	CREATE TABLE dbo.PersonCardSelect
	(
		ID bigint primary key IDENTITY(1,1),
		FC_ID int references dbo.Finance_Cycle(ID) not null,
		Taf_ID bigint references dbo.Tafsili(ID) not null,
		MovementKey varchar(100) NOT NULL,
		Tarikh	int not null,
		TarikhSabt int not null,
		SaatSabt int not null,
		TarikhSaatKey BIGINT not null default 0
	);
end