[성현모] UniqueKeyDB PairKey 테이블 추가

This commit is contained in:
SHM
2025-10-30 09:37:15 +09:00
parent 3c49451dc7
commit 690b26d4da
10 changed files with 39 additions and 4 deletions

View File

@ -259,6 +259,22 @@ CREATE TABLE [dbo].[tUniqueKeyStorage] (
);
GO
PRINT N'테이블 [dbo].[tPairKeyStorage]을(를) 만드는 중...';
GO
CREATE TABLE [dbo].[tPairKeyStorage] (
[cPrimaryKey] NVARCHAR (50) NOT NULL,
[cSecondaryKey] NVARCHAR (50) NOT NULL,
[cValue1] NVARCHAR (200) NULL,
[cValue2] NVARCHAR (200) NULL,
[cDateTime] DATETIME2 (7) NOT NULL,
CONSTRAINT [PK_cProductKey] PRIMARY KEY CLUSTERED ([cPrimaryKey] ASC),
CONSTRAINT [UQ_cMacAddress] UNIQUE NONCLUSTERED ([cSecondaryKey] ASC)
);
GO
DECLARE @VarDecimalSupported AS BIT;