You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.2 KiB
45 lines
1.2 KiB
|
|
|
|
/****** Object: Table [dbo].[OTB_PRJ_WorkAuthorize] Script Date: 10/14/2014 19:49:47 ******/
|
|
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[OTB_PRJ_WorkAuthorize]') AND type in (N'U'))
|
|
DROP TABLE [dbo].[OTB_PRJ_WorkAuthorize]
|
|
GO
|
|
|
|
|
|
|
|
/****** Object: Table [dbo].[OTB_PRJ_WorkAuthorize] Script Date: 10/14/2014 19:49:47 ******/
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
|
|
SET ANSI_PADDING ON
|
|
GO
|
|
|
|
CREATE TABLE [dbo].[OTB_PRJ_WorkAuthorize](
|
|
[OrganizationID] [varchar](50) NOT NULL,
|
|
[PrjWorkTypeID] [char](36) NOT NULL,
|
|
[ProjectNumber] [varchar](50) NOT NULL,
|
|
[ProgramID] [varchar](200) NOT NULL,
|
|
[AllowRight] [char](200) NULL,
|
|
[Memo] [text] NULL,
|
|
[CreateUser] [varchar](50) NULL,
|
|
[CreateDate] [datetime] NULL,
|
|
[ModifyUser] [varchar](50) NULL,
|
|
[ModifyDate] [datetime] NULL,
|
|
CONSTRAINT [PK_OTB_PRJ_WorkAuthorize] PRIMARY KEY CLUSTERED
|
|
(
|
|
[OrganizationID] ASC,
|
|
[PrjWorkTypeID] ASC,
|
|
[ProjectNumber] ASC,
|
|
[ProgramID] ASC
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
|
|
|
|
GO
|
|
|
|
SET ANSI_PADDING OFF
|
|
GO
|
|
|
|
|