PDC_REPORT_CreazioneDB/sql/tablesCollaudo/dbo_ReportSezionePers_20180606_MIFID2.sql
2025-06-09 19:17:49 +02:00

9 lines
370 B
Transact-SQL

CREATE TABLE [dbo].[ReportSezionePers_20180606_MIFID2] (
[DtCreazione] datetime NULL,
[DtCancellazione] datetime NULL DEFAULT ('1900-01-01'),
[IdReport] int NOT NULL,
[IdSezione] int NOT NULL,
[Utente] varchar(13) NULL
)
ALTER TABLE [dbo].[ReportSezionePers_20180606_MIFID2] ADD CONSTRAINT [PK_ReportSezionePers] PRIMARY KEY CLUSTERED ([IdReport],[IdSezione])
GO