init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,37 @@
|
|||
--Migration
|
||||
PRINT N'Altering Table [dbo].[T_TANITASIORA]...';
|
||||
|
||||
|
||||
GO
|
||||
ALTER TABLE [dbo].[T_TANITASIORA]
|
||||
ADD [C_TANULASIEGYSEGID] INT NULL;
|
||||
|
||||
|
||||
GO
|
||||
PRINT N'Creating Index [dbo].[T_TANITASIORA].[NCI_TanitasiOra_TanulasiEgysegId]...';
|
||||
|
||||
|
||||
GO
|
||||
CREATE NONCLUSTERED INDEX [NCI_TanitasiOra_TanulasiEgysegId]
|
||||
ON [dbo].[T_TANITASIORA]([C_TANULASIEGYSEGID] ASC);
|
||||
|
||||
|
||||
GO
|
||||
PRINT N'Creating Foreign Key [dbo].[FK_TanitasiOra_TanulasiEgysegId_REF_TanulasiEgyseg]...';
|
||||
|
||||
|
||||
GO
|
||||
ALTER TABLE [dbo].[T_TANITASIORA] WITH NOCHECK
|
||||
ADD CONSTRAINT [FK_TanitasiOra_TanulasiEgysegId_REF_TanulasiEgyseg] FOREIGN KEY ([C_TANULASIEGYSEGID]) REFERENCES [dbo].[T_TANULASIEGYSEG] ([ID]);
|
||||
|
||||
|
||||
GO
|
||||
ALTER TABLE [dbo].[T_TANITASIORA] WITH CHECK CHECK CONSTRAINT [FK_TanitasiOra_TanulasiEgysegId_REF_TanulasiEgyseg];
|
||||
|
||||
|
||||
EXEC dev.uspCreateSchemaViews 'T_TANITASIORA'
|
||||
|
||||
EXEC dev.sp_Global_GenerateAsyncAuditTriggerAll
|
||||
|
||||
GO
|
||||
PRINT N'Update complete.';
|
Loading…
Add table
Add a link
Reference in a new issue