SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TBTC_FIH_PROFILE](
	[GUID] [int] IDENTITY(1,1) NOT NULL,
	[ACTIVE] [bit] NOT NULL,
	[SEQUENCE] [smallint] NOT NULL,
	[SCHEDULE_RUN] [nvarchar](100) NOT NULL,
	[LAST_RUN] [datetime] NULL,
	[NAME] [nvarchar](100) NOT NULL,
	[DESCRIPTION] [nvarchar](500) NULL,
	[TYPE] [nvarchar](50) NOT NULL,
	[SET_RIGHTS] [bit] NOT NULL,
	[WD_OBJECTTYPE] [nvarchar](50) NOT NULL,
	[WD_INDEX_VALIDATION] [nvarchar](50) NULL,
	[WD_INDEX_ERROR] [nvarchar](50) NULL,
	[WD_SEARCH_PROFILE] [nvarchar](250) NULL,
	[SQL_CONNECTION_ID] [smallint] NULL,
	[SQL_SEARCH_QUERY] [nvarchar](max) NULL,
	[SQL_CHECK_INDEX] [nvarchar](max) NULL,
	[FILE_SEARCH_PATH] [nvarchar](250) NULL,
	[FILE_EXTENSION] [nvarchar](10) NULL,
	[FILE_DELETE_AFTER_IMPORT] [bit] NOT NULL,
	[LDAP_SERVER_URL] [nvarchar](250) NULL,
	[LDAP_AUTH_MODE] [bit] NOT NULL,
	[LDAP_AUTH_USERNAME] [nvarchar](50) NULL,
	[LDAP_AUTH_PASSWORD] [nvarchar](100) NULL,
	[FULLTEXT_INDEX] [nvarchar](50) NULL,
	[FOLDER_INDEX_ACTIVE] [bit] NOT NULL,
	[FOLDER_WD_OBJECTTYPE] [nvarchar](50) NULL,
	[FOLDER_LEVEL] [nvarchar](10) NULL,
	[MOVE_AND_RENAME_ACTIVE] [bit] NOT NULL,
	[MOVE_AND_RENAME_FOLDER_FOR_INDEX] [nvarchar](250) NULL,
	[MOVE_AND_RENAME_NAMECONVENTION] [nvarchar](250) NULL,
	[MOVE_AND_RENAME_VERSIONING_OFF] [bit] NULL,
	[ADDED_WHO] [nvarchar](50) NOT NULL,
	[ADDED_WHEN] [datetime] NOT NULL,
	[CHANGED_WHO] [nvarchar](50) NULL,
	[CHANGED_WHEN] [datetime] NULL,
 CONSTRAINT [PK_TBTC_FIH_PROFILE] PRIMARY KEY CLUSTERED 
(
	[GUID] 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
CREATE TRIGGER [dbo].[TBTC_FIH_PROFILE_AFT_UPD] ON [dbo].[TBTC_FIH_PROFILE]
FOR UPDATE
AS
BEGIN 
	UPDATE TBTC_FIH_PROFILE SET CHANGED_WHEN = GETDATE() FROM INSERTED WHERE TBTC_FIH_PROFILE.GUID = INSERTED.GUID
END		

/****** Object:  Table [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE]    Script Date: 20.03.2025 18:08:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE](
	[GUID] [int] IDENTITY(1,1) NOT NULL,
	[PROFILE_GUID] [int] NOT NULL,
	[ACTIVE] [bit] NOT NULL,
	[SEQUENCE] [smallint] NOT NULL,
	[DESCRIPTION] [nvarchar](500) NULL,
	[METHODE] [nvarchar](25) NOT NULL,
	[RIGHT_GROUP_OR_USER] [nvarchar](25) NOT NULL,
	[RIGHT_CARRIER] [nvarchar](250) NOT NULL,
	[RIGHT_LEVEL] [tinyint] NOT NULL,
	[ADDED_WHO] [nvarchar](50) NOT NULL,
	[ADDED_WHEN] [datetime] NOT NULL,
	[CHANGED_WHO] [nvarchar](50) NULL,
	[CHANGED_WHEN] [datetime] NULL,
 CONSTRAINT [PK_TBTC_FIH_PROFILE_RIGHTS_RULE] PRIMARY KEY CLUSTERED 
(
	[GUID] 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
CREATE TRIGGER [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE_AFT_UPD] ON [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE]
FOR UPDATE
AS
BEGIN 
	UPDATE TBTC_FIH_PROFILE_RIGHTS_RULE SET CHANGED_WHEN = GETDATE() FROM INSERTED WHERE TBTC_FIH_PROFILE_RIGHTS_RULE.GUID = INSERTED.GUID
END		
/****** Object:  Table [dbo].[TBTC_FIH_PROFILE_RIGHTS_TYPE]    Script Date: 20.03.2025 18:08:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_TYPE](
	[GUID] [int] IDENTITY(1,1) NOT NULL,
	[PROFILE_GUID] [int] NOT NULL,
	[ACTIVE] [bit] NOT NULL,
	[AUTH_TYPE] [bit] NOT NULL,
	[DEL_ALL_RIGHTS] [bit] NOT NULL,
	[DOMAIN] [nvarchar](50) NOT NULL,
	[SERVERNAME] [nvarchar](50) NOT NULL,
	[USERNAME] [nvarchar](50) NULL,
	[PASSWORD] [nvarchar](50) NULL,
	[ADDED_WHO] [nvarchar](50) NOT NULL,
	[ADDED_WHEN] [datetime] NOT NULL,
	[CHANGED_WHO] [nvarchar](50) NULL,
	[CHANGED_WHEN] [datetime] NULL,
 CONSTRAINT [PK_TBTC_FIH_PROFILE_RIGHTS_TYPE] PRIMARY KEY CLUSTERED 
(
	[GUID] 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
CREATE TRIGGER [dbo].[TBTC_FIH_PROFILE_RIGHTS_TYPE_AFT_UPD] ON [dbo].[TBTC_FIH_PROFILE_RIGHTS_TYPE]
FOR UPDATE
AS
BEGIN 
	UPDATE TBTC_FIH_PROFILE_RIGHTS_TYPE SET CHANGED_WHEN = GETDATE() FROM INSERTED WHERE TBTC_FIH_PROFILE_RIGHTS_TYPE.GUID = INSERTED.GUID
END	
/****** Object:  Table [dbo].[TBTC_FIH_PROFILE_RULE]    Script Date: 20.03.2025 18:08:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TBTC_FIH_PROFILE_RULE](
	[GUID] [int] IDENTITY(1,1) NOT NULL,
	[PROFILE_GUID] [int] NOT NULL,
	[ACTIVE] [bit] NOT NULL,
	[SEQUENCE] [smallint] NOT NULL,
	[DESCRIPTION] [nvarchar](250) NULL,
	[TYPE] [nvarchar](50) NOT NULL,
	[CONSTANT_VALUE] [nvarchar](250) NULL,
	[DYNAMIC_VALUE_SOURCE_COLUMN] [nvarchar](50) NULL,
	[DYNAMIC_VALUE_SOURCE_FROM] [nvarchar](100) NULL,
	[DYNAMIC_VALUE_SOURCE_COMMAND] [nvarchar](max) NULL,
	[WD_START_INDEX1] [nvarchar](50) NOT NULL,
	[WD_START_INDEX2] [nvarchar](50) NULL,
	[WD_START_INDEX3] [nvarchar](50) NULL,
	[WD_FINAL_INDEX] [nvarchar](50) NULL,
	[WD_ERROR_INDEX] [nvarchar](50) NULL,
	[WD_TARGETINDEX] [nvarchar](100) NOT NULL,
	[WD_TARGETINDEX_VECTOR_MODE] [tinyint] NULL,
	[ERROR_HANDLING] [nvarchar](10) NOT NULL,
	[ADDED_WHO] [nvarchar](50) NOT NULL,
	[ADDED_WHEN] [datetime] NOT NULL,
	[CHANGED_WHO] [nvarchar](50) NULL,
	[CHANGED_WHEN] [datetime] NULL,
 CONSTRAINT [PK_TBTC_FIH_PROFILE_RULE] PRIMARY KEY CLUSTERED 
(
	[GUID] 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
CREATE TRIGGER [dbo].[TBTC_FIH_PROFILE_RULE_TYPE_AFT_UPD] ON [dbo].[TBTC_FIH_PROFILE_RULE]
FOR UPDATE
AS
BEGIN 
	UPDATE TBTC_FIH_PROFILE_RULE SET CHANGED_WHEN = GETDATE() FROM INSERTED WHERE TBTC_FIH_PROFILE_RULE.GUID = INSERTED.GUID
END	
/****** Object:  Table [dbo].[TBTC_FIM_PROFILE]    Script Date: 20.03.2025 18:08:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TBTC_FIM_PROFILE](
	[GUID] [int] IDENTITY(1,1) NOT NULL,
	[ACTIVE] [bit] NOT NULL,
	[SEQUENCE] [smallint] NOT NULL,
	[SCHEDULE_RUN] [nvarchar](100) NOT NULL,
	[LAST_RUN] [datetime] NULL,
	[NAME] [nvarchar](50) NOT NULL,
	[DESCRIPTION] [nvarchar](500) NULL,
	[WD_OBJECTTYPE] [nvarchar](50) NOT NULL,
	[SOURCEPATH] [nvarchar](250) NOT NULL,
	[SOURCEPATH_SUBFOLDER_OPTION] [tinyint] NOT NULL,
	[SOURCEPATH_DELAY_IMPORT] [smallint] NOT NULL,
	[SOURCEPATH_DELETE_AFTER_IMPORT] [tinyint] NOT NULL,
	[REGEX_VALIDATION_ACTIVE] [bit] NOT NULL,
	[REGEX] [nvarchar](1000) NULL,
	[REGEX_EXAMPLE_FILENAME] [nvarchar](100) NULL,
	[BACKUPPATH_ACTIVE] [bit] NOT NULL,
	[BACKUPPATH] [nvarchar](250) NULL,
	[BACKUPPATH_FILE_VERSIONING] [tinyint] NULL,
	[TARGETPATH] [nvarchar](250) NOT NULL,
	[TARGETPATH_FILE_VERSIONING] [tinyint] NOT NULL,
	[TARGETPATH_SUBFOLDER_OPTION] [nvarchar](50) NOT NULL,
	[ADDED_WHO] [nvarchar](50) NOT NULL,
	[ADDED_WHEN] [datetime] NOT NULL,
	[CHANGED_WHO] [nvarchar](50) NULL,
	[CHANGED_WHEN] [datetime] NULL,
 CONSTRAINT [PK_TBTC_FIM_PROFILE] PRIMARY KEY CLUSTERED 
(
	[GUID] 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
CREATE TRIGGER [dbo].[TBTC_FIM_PROFILE_AFT_UPD] ON [dbo].[TBTC_FIM_PROFILE]
FOR UPDATE
AS
BEGIN 
	UPDATE TBTC_FIM_PROFILE SET CHANGED_WHEN = GETDATE() FROM INSERTED WHERE TBTC_FIM_PROFILE.GUID = INSERTED.GUID
END	
/****** Object:  Table [dbo].[TBTC_FIM_PROFILE_RULE]    Script Date: 20.03.2025 18:08:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TBTC_FIM_PROFILE_RULE](
	[GUID] [int] IDENTITY(1,1) NOT NULL,
	[PROFILE_GUID] [int] NOT NULL,
	[ACTIVE] [bit] NOT NULL,
	[SEQUENCE] [smallint] NOT NULL,
	[DESCRIPTION] [nvarchar](250) NULL,
	[TYPE] [nvarchar](50) NOT NULL,
	[CONSTANT_VALUE] [nvarchar](250) NULL,
	[DYNAMIC_VALUE] [nvarchar](250) NULL,
	[DYNAMIC_VALUE_DATE_FORMAT] [nvarchar](10) NULL,
	[DYNAMIC_VALUE_REMOVE_LEADING_ZEROS] [bit] NULL,
	[DYNAMIC_VALUE_INCLUDE_FILE_EXTENSION] [bit] NULL,
	[DYNAMIC_VALUE_DELIMITER] [nvarchar](10) NULL,
	[DYNAMIC_VALUE_POSITION_START] [smallint] NULL,
	[DYNAMIC_VALUE_POSITION_LENGTH] [smallint] NULL,
	[DYNAMIC_VALUE_FILE_EXTENSION] [nvarchar](10) NULL,
	[DYNAMIC_VALUE_TEXT] [nvarchar](50) NULL,
	[DYNAMIC_VALUE_FOLDER_LEVEL] [tinyint] NULL,
	[WD_TARGETINDEX] [nvarchar](100) NOT NULL,
	[ADDED_WHO] [nvarchar](50) NOT NULL,
	[ADDED_WHEN] [datetime] NOT NULL,
	[CHANGED_WHO] [nvarchar](50) NULL,
	[CHANGED_WHEN] [datetime] NULL,
 CONSTRAINT [PK_TBTC_FIM_PROFILE_RULE] PRIMARY KEY CLUSTERED 
(
	[GUID] 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
CREATE TRIGGER [dbo].[TBTC_FIM_PROFILE_RULE_UPD] ON [dbo].[TBTC_FIM_PROFILE_RULE]
FOR UPDATE
AS
BEGIN 
	UPDATE TBTC_FIM_PROFILE_RULE SET CHANGED_WHEN = GETDATE() FROM INSERTED WHERE TBTC_FIM_PROFILE_RULE.GUID = INSERTED.GUID
END	
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_ACTIVE]  DEFAULT ((1)) FOR [ACTIVE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_SEQUENCE]  DEFAULT ((0)) FOR [SEQUENCE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_SCHEDULE_RUN]  DEFAULT (N'*/5 7-20 * * 1-5') FOR [SCHEDULE_RUN]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_TYPE]  DEFAULT ('DB') FOR [TYPE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_SET_RIGHTS]  DEFAULT ((0)) FOR [SET_RIGHTS]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_FILE_DELETE_AFTER_IMPORT]  DEFAULT ((0)) FOR [FILE_DELETE_AFTER_IMPORT]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_LDAP_AUTH_MODE]  DEFAULT ((0)) FOR [LDAP_AUTH_MODE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_FULLTEXT_INDEX]  DEFAULT ('Extrahierter Volltext') FOR [FULLTEXT_INDEX]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_FOLDER_INDEX_ACTIVE]  DEFAULT ((0)) FOR [FOLDER_INDEX_ACTIVE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_MOVE_AND_RENAME_ACTIVE_1]  DEFAULT ((0)) FOR [MOVE_AND_RENAME_ACTIVE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_MOVE_AND_RENAME_VERSIONING_OFF]  DEFAULT ((0)) FOR [MOVE_AND_RENAME_VERSIONING_OFF]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_ADDED_WHO]  DEFAULT ('DEFAULT') FOR [ADDED_WHO]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_ADDED_WHEN]  DEFAULT (getdate()) FOR [ADDED_WHEN]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_RULE_ACTIVE]  DEFAULT ((1)) FOR [ACTIVE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_RULE_SEQUENCE]  DEFAULT ((0)) FOR [SEQUENCE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_RULE_METHODE]  DEFAULT ('AddRightFile') FOR [METHODE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_RULE_RIGHT_GROUP_OR_USER]  DEFAULT ('group') FOR [RIGHT_GROUP_OR_USER]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_RULE_ACCESS_RIGHT]  DEFAULT ((0)) FOR [RIGHT_LEVEL]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_RULE_ADDED_WHO]  DEFAULT ('DEFAULT') FOR [ADDED_WHO]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_RULE_ADDED_WHEN]  DEFAULT (getdate()) FOR [ADDED_WHEN]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_TYPE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_TYPE_ACTIVE]  DEFAULT ((1)) FOR [ACTIVE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_TYPE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_TYPE_AUTH_TYPE]  DEFAULT ((0)) FOR [AUTH_TYPE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_TYPE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_TYPE_DEL_ALL_RIGHTS]  DEFAULT ((0)) FOR [DEL_ALL_RIGHTS]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_TYPE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_TYPE_ADDED_WHO]  DEFAULT ('DEFAULT') FOR [ADDED_WHO]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_TYPE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RIGHTS_TYPE_ADDED_WHEN]  DEFAULT (getdate()) FOR [ADDED_WHEN]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RULE_ACTIVE]  DEFAULT ((1)) FOR [ACTIVE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RULE_SEQUENCE]  DEFAULT ((0)) FOR [SEQUENCE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RULE_TYPE]  DEFAULT ('CONSTANT_VALUE') FOR [TYPE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RULE_DYNAMIC_VALUE_DATE_FORMAT]  DEFAULT ('dd.MM.yyyy') FOR [DYNAMIC_VALUE_SOURCE_COLUMN]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RULE_REMOVE_ZEROS]  DEFAULT ((1)) FOR [DYNAMIC_VALUE_SOURCE_FROM]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RULE_INCLUDE_FILE_EXTENSION]  DEFAULT ((0)) FOR [DYNAMIC_VALUE_SOURCE_COMMAND]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RULE_ERROR_HANDLING]  DEFAULT ('continue') FOR [ERROR_HANDLING]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RULE_ADDED_WHO]  DEFAULT ('DEFAULT') FOR [ADDED_WHO]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIH_PROFILE_RULE_ADDED_WHEN]  DEFAULT (getdate()) FOR [ADDED_WHEN]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_ACTIVE]  DEFAULT ((0)) FOR [ACTIVE]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_SEQUENCE]  DEFAULT ((0)) FOR [SEQUENCE]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_SCHEDULE_RUN]  DEFAULT (N'*/5 7-20 * * 1-5') FOR [SCHEDULE_RUN]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_SOURCEPATH_SUBFOLDER]  DEFAULT ((0)) FOR [SOURCEPATH_SUBFOLDER_OPTION]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_SOURCEPATH_DELAY_IMPORT]  DEFAULT ((0)) FOR [SOURCEPATH_DELAY_IMPORT]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_SOURCEPATH_DELETE_AFTER_IMPORT]  DEFAULT ((0)) FOR [SOURCEPATH_DELETE_AFTER_IMPORT]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_REGEX_VALIDATION_ACTIVE]  DEFAULT ((0)) FOR [REGEX_VALIDATION_ACTIVE]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_REGEX]  DEFAULT (N'.+') FOR [REGEX]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_BACKUPPATH_ACTIVE]  DEFAULT ((0)) FOR [BACKUPPATH_ACTIVE]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_TARGETPATH]  DEFAULT ('') FOR [TARGETPATH]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_TARGETPATH_FILE_VERSIONING]  DEFAULT ((1)) FOR [TARGETPATH_FILE_VERSIONING]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_TARGETPATH_SUBFOLDER_OPTION]  DEFAULT ('YYYY') FOR [TARGETPATH_SUBFOLDER_OPTION]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_ADDED_WHO]  DEFAULT ('DEFAULT') FOR [ADDED_WHO]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_ADDED_WHEN]  DEFAULT (getdate()) FOR [ADDED_WHEN]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_RULE_ACTIVE]  DEFAULT ((1)) FOR [ACTIVE]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_RULE_SEQUENCE]  DEFAULT ((0)) FOR [SEQUENCE]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_RULE_TYPE]  DEFAULT ('CONSTANT_VALUE') FOR [TYPE]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_RULE_DYNAMIC_VALUE]  DEFAULT ('FILENAME') FOR [DYNAMIC_VALUE]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_RULE_DYNAMIC_VALUE_DATE_FORMAT]  DEFAULT ('dd.MM.yyyy') FOR [DYNAMIC_VALUE_DATE_FORMAT]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_RULE_REMOVE_ZEROS]  DEFAULT ((1)) FOR [DYNAMIC_VALUE_REMOVE_LEADING_ZEROS]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_RULE_INCLUDE_FILE_EXTENSION]  DEFAULT ((0)) FOR [DYNAMIC_VALUE_INCLUDE_FILE_EXTENSION]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE_RULE] ADD  CONSTRAINT [DF_TBTC_FIM_PROFILE_RULE_ADDED_WHO]  DEFAULT ('DEFAULT') FOR [ADDED_WHO]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE]  WITH CHECK ADD  CONSTRAINT [FK_TBTC_FIH_PROFILE_TBTC_FIH_PROFILE] FOREIGN KEY([SQL_CONNECTION_ID])
REFERENCES [dbo].[TBDD_CONNECTION] ([GUID])
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE] CHECK CONSTRAINT [FK_TBTC_FIH_PROFILE_TBTC_FIH_PROFILE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE]  WITH CHECK ADD  CONSTRAINT [FK_TBTC_FIH_PROFILE_RIGHTS_RULE_TBTC_FIH_PROFILE] FOREIGN KEY([PROFILE_GUID])
REFERENCES [dbo].[TBTC_FIH_PROFILE] ([GUID])
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_RULE] CHECK CONSTRAINT [FK_TBTC_FIH_PROFILE_RIGHTS_RULE_TBTC_FIH_PROFILE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_TYPE]  WITH CHECK ADD  CONSTRAINT [FK_TBTC_FIH_PROFILE_RIGHTS_TYPE_TBTC_FIH_PROFILE] FOREIGN KEY([PROFILE_GUID])
REFERENCES [dbo].[TBTC_FIH_PROFILE] ([GUID])
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RIGHTS_TYPE] CHECK CONSTRAINT [FK_TBTC_FIH_PROFILE_RIGHTS_TYPE_TBTC_FIH_PROFILE]
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RULE]  WITH CHECK ADD  CONSTRAINT [FK_TBTC_FIH_PROFILE_RULE_TBTC_FIH_PROFILE] FOREIGN KEY([PROFILE_GUID])
REFERENCES [dbo].[TBTC_FIH_PROFILE] ([GUID])
GO
ALTER TABLE [dbo].[TBTC_FIH_PROFILE_RULE] CHECK CONSTRAINT [FK_TBTC_FIH_PROFILE_RULE_TBTC_FIH_PROFILE]
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE_RULE]  WITH CHECK ADD  CONSTRAINT [FK_TBTC_FIM_PROFILE_RULE_TBTC_FIM_PROFILE] FOREIGN KEY([PROFILE_GUID])
REFERENCES [dbo].[TBTC_FIM_PROFILE] ([GUID])
GO
ALTER TABLE [dbo].[TBTC_FIM_PROFILE_RULE] CHECK CONSTRAINT [FK_TBTC_FIM_PROFILE_RULE_TBTC_FIM_PROFILE]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primärschlüssel dieser Tabelle' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'GUID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'ACTIVE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Reihenfolge' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'SEQUENCE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geplante Laufzeit' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'SCHEDULE_RUN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Letzte Laufzeit' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'LAST_RUN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Name dieses Profils' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'NAME'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Profilbeschreibung' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'DESCRIPTION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Profiltyp: DB, FILE, LDAP oder FULLTEXT' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'TYPE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter: Verwendung des Rechtemoduls' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'SET_RIGHTS'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'windream Dokument Objecttyp' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'WD_OBJECTTYPE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'windream Zielindexname für Validierung' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'WD_INDEX_VALIDATION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'windream Zielindexname falls ein Fehler auftritt' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'WD_INDEX_ERROR'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Pfad zum windream Suchprofil' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'WD_SEARCH_PROFILE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Connection ID aus der Tabelle TBDD_CONNECTION' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'SQL_CONNECTION_ID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'SQL Abfrage statt windream Suchprofil' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'SQL_SEARCH_QUERY'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Vorabprüfung, ob Zeile in DB vorhanden ist' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'SQL_CHECK_INDEX'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Quellpfad in welchem nach XML Dateien gesucht wird' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'FILE_SEARCH_PATH'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Dateierweiterung wie XML' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'FILE_EXTENSION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Datei nach erfolgreichen Import löschen?' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'FILE_DELETE_AFTER_IMPORT'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'LDAP Servername LDAP://<domain>.<local>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'LDAP_SERVER_URL'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter: LDAP Anmeldung im aktuellen Benutzerkontext' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'LDAP_AUTH_MODE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'LDAP Anmedename' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'LDAP_AUTH_USERNAME'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'LDAP Anmeldepasswort' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'LDAP_AUTH_PASSWORD'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'windream Volltext Indexname' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'FULLTEXT_INDEX'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter: Ordnerbasierte Indexvererbung ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'FOLDER_INDEX_ACTIVE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'windream Objekttyp für ordnerbasierte Indexvererbung ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'FOLDER_WD_OBJECTTYPE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ebene für ordnerbasierte Indexvererbung ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'FOLDER_LEVEL'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter: Für Move and Rename' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'MOVE_AND_RENAME_ACTIVE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Dynamischer Zielpfad' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'MOVE_AND_RENAME_FOLDER_FOR_INDEX'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Dynamischer Zieldateiname' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'MOVE_AND_RENAME_NAMECONVENTION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter: Dateiversionierung ausschalten, wenn gewünscht' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'MOVE_AND_RENAME_VERSIONING_OFF'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'ADDED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt am' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'ADDED_WHEN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert am' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHEN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Haupttabelle der Nachindexierungsprofile' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primärschlüssel dieser Tabelle' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'GUID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Fremdschlüssel aus Haupttabelle' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'PROFILE_GUID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'ACTIVE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Reihenfolge' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'SEQUENCE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Regelbeschreibung' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'DESCRIPTION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Art der Operation zb. AddRightFile' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'METHODE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Gruppen- (group) oder Benutzerrecht (user) einrichten' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'RIGHT_GROUP_OR_USER'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Name der Gruppe oder des Benutzers' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'RIGHT_CARRIER'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Rechteschlüssel' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'RIGHT_LEVEL'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'ADDED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt wann' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'ADDED_WHEN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert wann' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_RULE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHEN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primärschlüssel dieser Tabelle' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'GUID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Fremdschlüssel aus Haupttabelle' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'PROFILE_GUID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'ACTIVE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter: Aktuellen Benutzerkontext für Anmeldung verwenden' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'AUTH_TYPE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Alle Rechte vorab löschen' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'DEL_ALL_RIGHTS'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Anmelde Domäne' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'DOMAIN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Anmelde Servername' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'SERVERNAME'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Anmelde Benutzername' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'USERNAME'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Anmelde Passwort' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'PASSWORD'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'ADDED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt wann' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'ADDED_WHEN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert wann' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RIGHTS_TYPE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHEN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primärschlüssel dieser Tabelle' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'GUID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Fremdschlüssel aus Haupttabelle' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'PROFILE_GUID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'ACTIVE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Reihenfolge' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'SEQUENCE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Regelbeschreibung' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DESCRIPTION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Fester (CONSTANT_VALUE) oder dynamischer (DYNAMIC_VALUE); ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'TYPE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Fester zu indexierender Wert' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'CONSTANT_VALUE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Daten Quellspalte' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_SOURCE_COLUMN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Daten Quelltabelle, View oder Funktion' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_SOURCE_FROM'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'SQL Abfrage um benötigte Daten zu ermitteln' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_SOURCE_COMMAND'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erster identifizierender Index' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'WD_START_INDEX1'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Zweiter (optionaler) identifizierender Index' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'WD_START_INDEX2'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Dritter (optionaler) identifizierender Index' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'WD_START_INDEX3'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'windream Zielindexname falls alle Werte gefüllt werden konnten' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'WD_FINAL_INDEX'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'windream Zielindexname falls ein Fehler auftritt' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'WD_ERROR_INDEX'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'windream Zielindexname' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'WD_TARGETINDEX'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Vektor Feld überschreiben, oder erganzen mit und ohne Duplettenprüfung' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'WD_TARGETINDEX_VECTOR_MODE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Verhalten im Fehlerfall: "continue" oder "stop"' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'ERROR_HANDLING'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'ADDED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt wann' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'ADDED_WHEN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert wann' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIH_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHEN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primärschlüssel dieser Tabelle' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'GUID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'ACTIVE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Reihenfolge' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'SEQUENCE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geplante Laufzeit' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'SCHEDULE_RUN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Letzte Laufzeit' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'LAST_RUN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Name dieses Profils' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'NAME'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Profilbeschreibung' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'DESCRIPTION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'windream Dokument Objecttyp' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'WD_OBJECTTYPE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Quellpfad der zu importierenden Dateien' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'SOURCEPATH'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Originalstruktur übernehmen, oder rekursiv übernehmen, oder nur Hauptordner verarbeiten' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'SOURCEPATH_SUBFOLDER_OPTION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Verzögerung des Imports in Millisekunden' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'SOURCEPATH_DELAY_IMPORT'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Quelldatei und/oder Verzeichnis nach Import löschen' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'SOURCEPATH_DELETE_AFTER_IMPORT'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter: RegEx Prüfung' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'REGEX_VALIDATION_ACTIVE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Regulärer Ausdruck zwecks Dateinamensvalidierung (.NET basiert)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'REGEX'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Beispieldateiname für diese Profil' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'REGEX_EXAMPLE_FILENAME'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter: Zu importiernde Dateien als Kopie nach Import kopieren' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'BACKUPPATH_ACTIVE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Sicherungspfad falls BACKUPPATH_ACTIVE auf 1 steht' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'BACKUPPATH'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Sollen Dateien im Sicherungspfad überschrieben werden?' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'BACKUPPATH_FILE_VERSIONING'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Zielpfad' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'TARGETPATH'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Versionierungstyp' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'TARGETPATH_FILE_VERSIONING'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Unterordner anlegen im Zielpfad?' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'TARGETPATH_SUBFOLDER_OPTION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'ADDED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt wann' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'ADDED_WHEN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert wann' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHEN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Haupttabelle der Dateiimportprofile' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Primärschlüssel dieser Tabelle' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'GUID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Fremdschlüssel aus Haupttabelle' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'PROFILE_GUID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ein/Aus-Schalter' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'ACTIVE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Reihenfolge' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'SEQUENCE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Regelbeschreibung' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DESCRIPTION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Fester (CONSTANT_VALUE) oder dynamischer (DYNAMIC_VALUE); und Index oder Ordner basiert (FILENAME oder FOLDERNAME)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'TYPE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Fester zu indexierender Wert' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'CONSTANT_VALUE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'FILENAME oder FOLDERNAME' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Falls Zielindex ein Datumsfeld ist, das Format definieren' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_DATE_FORMAT'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Führende Nullen bei Import entfernen' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_REMOVE_LEADING_ZEROS'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Dateierweiterung mit einbeziehen' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_INCLUDE_FILE_EXTENSION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Trennzeichen' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_DELIMITER'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Start Position für das Auslesen des Dateinamens oder Ordnernamens' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_POSITION_START'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Anzahl der Zeichen beim Auslesen des Dateinamens oder Ordnernamens' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_POSITION_LENGTH'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Wenn Dateierweiterung pdf, dann Wert xy schreiben (hängt zusammen mit DYNAMIC_VALUE_TEXT)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_FILE_EXTENSION'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Wenn Dateierweiterung pdf, dann Wert xy schreiben (hängt zusammen mit DYNAMIC_VALUE_FILE_EXTENSION)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_TEXT'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Auszulesende Ordnerebene bei Indexierung auf FOLDERNAME Basis' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'DYNAMIC_VALUE_FOLDER_LEVEL'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'windream Zielindexname' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'WD_TARGETINDEX'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'ADDED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Erstellt wann' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'ADDED_WHEN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert von' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHO'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Geändert wann' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TBTC_FIM_PROFILE_RULE', @level2type=N'COLUMN',@level2name=N'CHANGED_WHEN'
GO
