849 lines
43 KiB
MySQL
849 lines
43 KiB
MySQL
|
|
|||
|
CREATE TABLE [dbo].[Party_BasicInformation](
|
|||
|
[BasicInformationId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[Name] [nvarchar](50) NULL,
|
|||
|
[StartDate] [datetime] NULL,
|
|||
|
[Component] [nvarchar](50) NULL,
|
|||
|
[PartyerNum] [nvarchar](50) NULL,
|
|||
|
[PersonNum] [nvarchar](50) NULL,
|
|||
|
[PartyGroupNum] [nvarchar](50) NULL,
|
|||
|
[Commendation] [nvarchar](500) NULL,
|
|||
|
[Punishment] [nvarchar](500) NULL,
|
|||
|
CONSTRAINT [PK_Party_BasicInformation] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[BasicInformationId] 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
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformation', @level2type=N'COLUMN',@level2name=N'BasicInformationId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformation', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>֧<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformation', @level2type=N'COLUMN',@level2name=N'Name'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformation', @level2type=N'COLUMN',@level2name=N'StartDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD>ɵ<EFBFBD>λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformation', @level2type=N'COLUMN',@level2name=N'Component'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformation', @level2type=N'COLUMN',@level2name=N'PartyerNum'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformation', @level2type=N'COLUMN',@level2name=N'PersonNum'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>С<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformation', @level2type=N'COLUMN',@level2name=N'PartyGroupNum'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformation', @level2type=N'COLUMN',@level2name=N'Commendation'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformation', @level2type=N'COLUMN',@level2name=N'Punishment'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>֧<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformation'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_BasicInformationDetail](
|
|||
|
[BasicInformationDetailId] [nvarchar](50) NOT NULL,
|
|||
|
[BasicInformationId] [nvarchar](50) NULL,
|
|||
|
[SortIndex] [int] NULL,
|
|||
|
[Name] [nvarchar](50) NULL,
|
|||
|
[BirthDate] [datetime] NULL,
|
|||
|
[JoinPartyDate] [datetime] NULL,
|
|||
|
[PartyPost] [nvarchar](50) NULL,
|
|||
|
[AdministrationPost] [nvarchar](50) NULL,
|
|||
|
[PartyPostJoinDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_BasicInformationDetail] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[BasicInformationDetailId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_BasicInformationDetail] WITH CHECK ADD CONSTRAINT [FK_Party_BasicInformationDetail_Party_BasicInformation] FOREIGN KEY([BasicInformationId])
|
|||
|
REFERENCES [dbo].[Party_BasicInformation] ([BasicInformationId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_BasicInformationDetail] CHECK CONSTRAINT [FK_Party_BasicInformationDetail_Party_BasicInformation]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformationDetail', @level2type=N'COLUMN',@level2name=N'BasicInformationDetailId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformationDetail', @level2type=N'COLUMN',@level2name=N'BasicInformationId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformationDetail', @level2type=N'COLUMN',@level2name=N'SortIndex'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformationDetail', @level2type=N'COLUMN',@level2name=N'Name'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformationDetail', @level2type=N'COLUMN',@level2name=N'BirthDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD>뵳ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformationDetail', @level2type=N'COLUMN',@level2name=N'JoinPartyDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformationDetail', @level2type=N'COLUMN',@level2name=N'PartyPost'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformationDetail', @level2type=N'COLUMN',@level2name=N'AdministrationPost'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformationDetail', @level2type=N'COLUMN',@level2name=N'PartyPostJoinDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>֧<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_BasicInformationDetail'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_Partyer](
|
|||
|
[PartyerId] [nvarchar](50) NOT NULL,
|
|||
|
[Name] [nvarchar](50) NULL,
|
|||
|
[Sex] [nvarchar](10) NULL,
|
|||
|
[BirthDate] [datetime] NULL,
|
|||
|
[Education] [nvarchar](50) NULL,
|
|||
|
[Nation] [nvarchar](50) NULL,
|
|||
|
[JoinPartyDate] [datetime] NULL,
|
|||
|
[JoinPostDate] [datetime] NULL,
|
|||
|
[Post] [nvarchar](50) NULL,
|
|||
|
[Phone] [nvarchar](50) NULL,
|
|||
|
[PartyRelationInDate] [datetime] NULL,
|
|||
|
[PartyRelationOutDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_Partyer] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[PartyerId] 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
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer', @level2type=N'COLUMN',@level2name=N'PartyerId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer', @level2type=N'COLUMN',@level2name=N'Name'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD>Ա<EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer', @level2type=N'COLUMN',@level2name=N'Sex'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer', @level2type=N'COLUMN',@level2name=N'BirthDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѧ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer', @level2type=N'COLUMN',@level2name=N'Education'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD>뵳ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer', @level2type=N'COLUMN',@level2name=N'JoinPartyDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>ְʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer', @level2type=N'COLUMN',@level2name=N'JoinPostDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ְ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer', @level2type=N'COLUMN',@level2name=N'Post'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>ϵ<EFBFBD><EFBFBD>ʽ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer', @level2type=N'COLUMN',@level2name=N'Phone'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯<EFBFBD><EFBFBD>ϵת<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer', @level2type=N'COLUMN',@level2name=N'PartyRelationInDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯<EFBFBD><EFBFBD>ϵת<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer', @level2type=N'COLUMN',@level2name=N'PartyRelationOutDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_Partyer'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_CommentPartyer](
|
|||
|
[CommentPartyerId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[ProjectId] [nvarchar](50) NULL,
|
|||
|
[Partyers] [nvarchar](1000) NULL,
|
|||
|
[Host] [nvarchar](50) NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_CommentPartyer] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[CommentPartyerId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_CommentPartyer] WITH CHECK ADD CONSTRAINT [FK_Party_CommentPartyer_Base_Project] FOREIGN KEY([ProjectId])
|
|||
|
REFERENCES [dbo].[Base_Project] ([ProjectId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_CommentPartyer] CHECK CONSTRAINT [FK_Party_CommentPartyer_Base_Project]
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_CommentPartyer] WITH CHECK ADD CONSTRAINT [FK_Party_CommentPartyer_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_CommentPartyer] CHECK CONSTRAINT [FK_Party_CommentPartyer_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_CommentPartyer', @level2type=N'COLUMN',@level2name=N'CommentPartyerId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_CommentPartyer', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_CommentPartyer', @level2type=N'COLUMN',@level2name=N'ProjectId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鵳Ա' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_CommentPartyer', @level2type=N'COLUMN',@level2name=N'Partyers'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_CommentPartyer', @level2type=N'COLUMN',@level2name=N'Host'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_CommentPartyer', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_CommentPartyer', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>鵳Ա<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_CommentPartyer'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_FocusLearn](
|
|||
|
[FocusLearnId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[Quarter] [int] NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_FocusLearn] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[FocusLearnId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_FocusLearn] WITH CHECK ADD CONSTRAINT [FK_Party_FocusLearn_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_FocusLearn] CHECK CONSTRAINT [FK_Party_FocusLearn_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_FocusLearn', @level2type=N'COLUMN',@level2name=N'FocusLearnId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_FocusLearn', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_FocusLearn', @level2type=N'COLUMN',@level2name=N'Quarter'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_FocusLearn', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_FocusLearn', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѧϰ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_FocusLearn'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_LastWorkSummary](
|
|||
|
[LastWorkSummaryId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_LastWorkSummary] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[LastWorkSummaryId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_LastWorkSummary] WITH CHECK ADD CONSTRAINT [FK_Party_LastWorkSummary_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_LastWorkSummary] CHECK CONSTRAINT [FK_Party_LastWorkSummary_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_LastWorkSummary', @level2type=N'COLUMN',@level2name=N'LastWorkSummaryId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_LastWorkSummary', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_LastWorkSummary', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_LastWorkSummary', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܽ<EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_LastWorkSummary'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_NewsPropagandaWork](
|
|||
|
[NewsPropagandaWorkId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[NewsDate] [datetime] NULL,
|
|||
|
[Author] [nvarchar](50) NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_NewsPropagandaWork] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[NewsPropagandaWorkId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_NewsPropagandaWork] WITH CHECK ADD CONSTRAINT [FK_Party_NewsPropagandaWork_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_NewsPropagandaWork] CHECK CONSTRAINT [FK_Party_NewsPropagandaWork_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_NewsPropagandaWork', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_NewsPropagandaWork', @level2type=N'COLUMN',@level2name=N'NewsDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_NewsPropagandaWork', @level2type=N'COLUMN',@level2name=N'Author'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_NewsPropagandaWork', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_NewsPropagandaWork', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_NewsPropagandaWork'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_OrganizingLife](
|
|||
|
[OrganizingLifeId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[Quarter] [int] NULL,
|
|||
|
[Theme] [nvarchar](200) NULL,
|
|||
|
[OrganizingLifeDate] [datetime] NULL,
|
|||
|
[Partyers] [nvarchar](2000) NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_OrganizingLife] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[OrganizingLifeId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_OrganizingLife] WITH CHECK ADD CONSTRAINT [FK_Party_OrganizingLife_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_OrganizingLife] CHECK CONSTRAINT [FK_Party_OrganizingLife_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_OrganizingLife', @level2type=N'COLUMN',@level2name=N'OrganizingLifeId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_OrganizingLife', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_OrganizingLife', @level2type=N'COLUMN',@level2name=N'Quarter'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_OrganizingLife', @level2type=N'COLUMN',@level2name=N'Theme'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_OrganizingLife', @level2type=N'COLUMN',@level2name=N'OrganizingLifeDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_OrganizingLife', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_OrganizingLife', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>֯<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_OrganizingLife'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_PartyCommittee](
|
|||
|
[PartyCommitteeId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[Month] [int] NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_PartyCommittee] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[PartyCommitteeId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyCommittee] WITH CHECK ADD CONSTRAINT [FK_Party_PartyCommittee_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyCommittee] CHECK CONSTRAINT [FK_Party_PartyCommittee_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyCommittee', @level2type=N'COLUMN',@level2name=N'PartyCommitteeId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyCommittee', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD>·<EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyCommittee', @level2type=N'COLUMN',@level2name=N'Month'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyCommittee', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyCommittee', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>֧<EFBFBD><EFBFBD>ίԱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyCommittee'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_PartyCongress](
|
|||
|
[PartyCongressId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[Quarter] [int] NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_PartyCongress] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[PartyCongressId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyCongress] WITH CHECK ADD CONSTRAINT [FK_Party_PartyCongress_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyCongress] CHECK CONSTRAINT [FK_Party_PartyCongress_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyCongress', @level2type=N'COLUMN',@level2name=N'PartyCongressId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyCongress', @level2type=N'COLUMN',@level2name=N'Quarter'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyCongress', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyCongress', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>֧<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyCongress'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_PartyHistoryStudy](
|
|||
|
[PartyHistoryStudyId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[StudyDate] [datetime] NULL,
|
|||
|
[Speaker] [nvarchar](50) NULL,
|
|||
|
[Theme] [nvarchar](200) NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_PartyHistoryStudy] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[PartyHistoryStudyId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyHistoryStudy] WITH CHECK ADD CONSTRAINT [FK_Party_PartyHistoryStudy_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyHistoryStudy] CHECK CONSTRAINT [FK_Party_PartyHistoryStudy_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyHistoryStudy', @level2type=N'COLUMN',@level2name=N'PartyHistoryStudyId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyHistoryStudy', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyHistoryStudy', @level2type=N'COLUMN',@level2name=N'StudyDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyHistoryStudy', @level2type=N'COLUMN',@level2name=N'Speaker'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyHistoryStudy', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyHistoryStudy', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>ʷѧϰ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyHistoryStudy'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_PartyLecture](
|
|||
|
[PartyLectureId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[Quarter] [int] NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_PartyLecture] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[PartyLectureId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyLecture] WITH CHECK ADD CONSTRAINT [FK_Party_PartyLecture_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyLecture] CHECK CONSTRAINT [FK_Party_PartyLecture_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyLecture', @level2type=N'COLUMN',@level2name=N'PartyLectureId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyLecture', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyLecture', @level2type=N'COLUMN',@level2name=N'Quarter'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyLecture', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyLecture', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD>α<EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyLecture'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_PartyMeeting](
|
|||
|
[PartyMeetingId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[Month] [int] NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_PartyMeeting] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[PartyMeetingId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyMeeting] WITH CHECK ADD CONSTRAINT [FK_Party_PartyMeeting_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyMeeting] CHECK CONSTRAINT [FK_Party_PartyMeeting_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMeeting', @level2type=N'COLUMN',@level2name=N'PartyMeetingId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMeeting', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD>·<EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMeeting', @level2type=N'COLUMN',@level2name=N'Month'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMeeting', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMeeting', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֧<EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMeeting'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_PartyMoneyUse](
|
|||
|
[PartyMoneyUseId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[UseDate] [datetime] NULL,
|
|||
|
[Purpose] [nvarchar](200) NULL,
|
|||
|
[Cost] [decimal](18, 2) NULL,
|
|||
|
[Partyers] [nvarchar](500) NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_PartyMoneyUse] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[PartyMoneyUseId] 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
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMoneyUse', @level2type=N'COLUMN',@level2name=N'PartyMoneyUseId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMoneyUse', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMoneyUse', @level2type=N'COLUMN',@level2name=N'UseDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>;' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMoneyUse', @level2type=N'COLUMN',@level2name=N'Purpose'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMoneyUse', @level2type=N'COLUMN',@level2name=N'Cost'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMoneyUse', @level2type=N'COLUMN',@level2name=N'Partyers'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMoneyUse', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMoneyUse', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֯<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>ñ<EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyMoneyUse'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_PartyPioneerDemonstration](
|
|||
|
[PartyPioneerDemonstrationId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[PartyerId] [nvarchar](50) NULL,
|
|||
|
[Introduce] [nvarchar](3000) NULL,
|
|||
|
[Deeds] [nvarchar](3000) NULL,
|
|||
|
[Summary] [nvarchar](3000) NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_PartyPioneerDemonstration] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[PartyPioneerDemonstrationId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyPioneerDemonstration] WITH CHECK ADD CONSTRAINT [FK_Party_PartyPioneerDemonstration_Party_Partyer] FOREIGN KEY([PartyerId])
|
|||
|
REFERENCES [dbo].[Party_Partyer] ([PartyerId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyPioneerDemonstration] CHECK CONSTRAINT [FK_Party_PartyPioneerDemonstration_Party_Partyer]
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyPioneerDemonstration] WITH CHECK ADD CONSTRAINT [FK_Party_PartyPioneerDemonstration_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_PartyPioneerDemonstration] CHECK CONSTRAINT [FK_Party_PartyPioneerDemonstration_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyPioneerDemonstration', @level2type=N'COLUMN',@level2name=N'PartyPioneerDemonstrationId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyPioneerDemonstration', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>Ա' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyPioneerDemonstration', @level2type=N'COLUMN',@level2name=N'PartyerId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyPioneerDemonstration', @level2type=N'COLUMN',@level2name=N'Introduce'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD>¼<EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyPioneerDemonstration', @level2type=N'COLUMN',@level2name=N'Deeds'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܽ<EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyPioneerDemonstration', @level2type=N'COLUMN',@level2name=N'Summary'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyPioneerDemonstration', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyPioneerDemonstration', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>Ա<EFBFBD>ȷ<EFBFBD><EFBFBD>ڡ<EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD>ڱ<EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_PartyPioneerDemonstration'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_ThemePartyDay](
|
|||
|
[ThemePartyDayId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[ConveneDate] [datetime] NULL,
|
|||
|
[Theme] [nvarchar](200) NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_ThemePartyDay] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[ThemePartyDayId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_ThemePartyDay] WITH CHECK ADD CONSTRAINT [FK_Party_ThemePartyDay_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_ThemePartyDay] CHECK CONSTRAINT [FK_Party_ThemePartyDay_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_ThemePartyDay', @level2type=N'COLUMN',@level2name=N'ThemePartyDayId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_ThemePartyDay', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_ThemePartyDay', @level2type=N'COLUMN',@level2name=N'ConveneDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_ThemePartyDay', @level2type=N'COLUMN',@level2name=N'Theme'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_ThemePartyDay', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_ThemePartyDay', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ջ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_ThemePartyDay'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_TwoOneGoodSelection](
|
|||
|
[TwoOneGoodSelectionId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[SelectionType] [char](1) NULL,
|
|||
|
[PartyerId] [nvarchar](50) NULL,
|
|||
|
[PartyBranch] [nvarchar](100) NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_TwoOneGoodSelection] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[TwoOneGoodSelectionId] 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
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_TwoOneGoodSelection] WITH CHECK ADD CONSTRAINT [FK_Party_TwoOneGoodSelection_Party_Partyer] FOREIGN KEY([PartyerId])
|
|||
|
REFERENCES [dbo].[Party_Partyer] ([PartyerId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_TwoOneGoodSelection] CHECK CONSTRAINT [FK_Party_TwoOneGoodSelection_Party_Partyer]
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_TwoOneGoodSelection] WITH CHECK ADD CONSTRAINT [FK_Party_TwoOneGoodSelection_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_TwoOneGoodSelection] CHECK CONSTRAINT [FK_Party_TwoOneGoodSelection_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_TwoOneGoodSelection', @level2type=N'COLUMN',@level2name=N'TwoOneGoodSelectionId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_TwoOneGoodSelection', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1-<2D><><EFBFBD>㵳Ա<E3B5B3><D4B1>2-<2D><><EFBFBD>㵳<EFBFBD><E3B5B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߣ<EFBFBD>3-<2D>Ƚ<EFBFBD><C8BD><EFBFBD><EFBFBD>㵳֧<E3B5B3><D6A7><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_TwoOneGoodSelection', @level2type=N'COLUMN',@level2name=N'SelectionType'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD>㵳֧<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_TwoOneGoodSelection', @level2type=N'COLUMN',@level2name=N'PartyBranch'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_TwoOneGoodSelection', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_TwoOneGoodSelection', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD>ȡ<EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_TwoOneGoodSelection'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
|
|||
|
CREATE TABLE [dbo].[Party_WorkPlan](
|
|||
|
[WorkPlanId] [nvarchar](50) NOT NULL,
|
|||
|
[Year] [int] NULL,
|
|||
|
[CompileMan] [nvarchar](50) NULL,
|
|||
|
[CompileDate] [datetime] NULL,
|
|||
|
CONSTRAINT [PK_Party_WorkPlan] PRIMARY KEY CLUSTERED
|
|||
|
(
|
|||
|
[WorkPlanId] 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
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_WorkPlan] WITH CHECK ADD CONSTRAINT [FK_Party_WorkPlan_Sys_User] FOREIGN KEY([CompileMan])
|
|||
|
REFERENCES [dbo].[Sys_User] ([UserId])
|
|||
|
GO
|
|||
|
|
|||
|
ALTER TABLE [dbo].[Party_WorkPlan] CHECK CONSTRAINT [FK_Party_WorkPlan_Sys_User]
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_WorkPlan', @level2type=N'COLUMN',@level2name=N'WorkPlanId'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_WorkPlan', @level2type=N'COLUMN',@level2name=N'Year'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_WorkPlan', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_WorkPlan', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
|||
|
GO
|
|||
|
|
|||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƻ<EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Party_WorkPlan'
|
|||
|
GO
|
|||
|
|
|||
|
|
|||
|
alter table [dbo].[CQMS_Law_ConstructionStandardListProject] add IsChecked bit null
|
|||
|
GO
|