CREATE TABLE [dbo].[TimeSheet](
[timeID] [smallmoney] NOT NULL,
[ActivityDate] [smalldatetime] NULL,
[CliID] [int] NULL,
[HID] [int] NULL,
[ClientName] [varchar](255) NULL,
[CurrentStatus] [smallint] NULL CONSTRAINT [DF__TimeSheet__Curre__4AB81AF0] DEFAULT ((0)),
[STATUS_IN] [smallint] NULL CONSTRAINT [DF__TimeSheet__STATU__4BAC3F29] DEFAULT ((0)),
[STATUS_OUT] [smallint] NULL CONSTRAINT [DF__TimeSheet__STATU__4CA06362] DEFAULT ((0)),
[STATUS_MEETING] [smallint] NULL CONSTRAINT [DF__TimeSheet__STATU__4D94879B] DEFAULT ((0)),
[STATUS_CONF] [smallint] NULL CONSTRAINT [DF__TimeSheet__STATU__4E88ABD4] DEFAULT ((0)),
[STATUS_LUNCH] [smallint] NULL CONSTRAINT [DF__TimeSheet__STATU__4F7CD00D] DEFAULT ((0)),
[STATUS_OFF] [smallint] NULL CONSTRAINT [DF__TimeSheet__STATU__5070F446] DEFAULT ((0)),
[STATUS_VAC] [smallint] NULL CONSTRAINT [DF__TimeSheet__STATU__5165187F] DEFAULT ((0)),
[Back_At] [varchar](15) NULL,
[STATUS_MSG] [varchar](80) NULL,
[OooReason] [smallint] NULL CONSTRAINT [DF_TimeSheet_OooReason] DEFAULT ((0)),
[tssAddDate] [smalldatetime] NULL,
[tssCreateUser] [int] NULL,
CONSTRAINT [PK__TimeSheet__49C3F6B7] PRIMARY KEY CLUSTERED
(
[timeID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
|