drop table OA_Baoxiao

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
CREATE TABLE dbo.OA_Baoxiao
	(
	GID varchar(50) NOT NULL,
	BSNO varchar(50) NULL,
	COMPANY varchar(50) NULL,
	DEPTNAME varchar(50) NULL,
	CREATEUSER varchar(50) NULL,
	CREATEDATE datetime NULL,
	ISDELETE tinyint NULL,
	DELETEUSER varchar(50) NULL,
	DELETETIME datetime NULL,
	BXSTATUS tinyint NULL,
	REMARK varchar(150) NULL,
	TIMEMARK timestamp null,
	AMOUNT numeric(18,2) default 0
	)  ON [PRIMARY]
GO
ALTER TABLE dbo.OA_Baoxiao ADD CONSTRAINT
	PK_OA_Baoxiao PRIMARY KEY CLUSTERED 
	(
	GID
	) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]

GO
ALTER TABLE dbo.OA_Baoxiao SET (LOCK_ESCALATION = TABLE)
GO
COMMIT
