/*
   چهار شنبه, 17 شهریور 140007:26:45 ب.ظ
   User: 
   Server: TAHERIAN
   Database: ATNDB
   Application: 
*/

Use ATNDBTest
Go
/*=============================================================================================================*/


Create Table dbo.CheckType(
	Serial Bigint Identity(1,1) Not Null,
	Code int Null,
	FADes Varchar(300) Null,
	ENDes Varchar(300) Null,
	RecorderRef Int Null,
	RecordDate char(10) Null,
	EditorRef Int Null,
	EditDate char(10) Null,
	OfficeDetailRef Int Null,
	Tag Varchar(50) Null)
Go


BEGIN TRANSACTION
SET QUOTED_IDENTIFIER ON
SET ARITHABORT ON
SET NUMERIC_ROUNDABORT OFF
SET CONCAT_NULL_YIELDS_NULL ON
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
COMMIT
BEGIN TRANSACTION
GO
ALTER TABLE dbo.CheckGetPayDetail ADD
	CheckTypeRef bigint NULL
GO
ALTER TABLE dbo.CheckGetPayDetail SET (LOCK_ESCALATION = TABLE)
GO
COMMIT
