﻿CREATE TABLE [dbo].[tCertificate]
(
	[cCuid] BIGINT NOT NULL PRIMARY KEY, 
    [cCsrsignature] NVARCHAR(1024) NOT NULL,   
    [cTierCode]NVARCHAR(20) NOT NULL, 
    [cUnitCode]NVARCHAR(20) NOT NULL, 
    [cVehicleCode]NVARCHAR(20) NOT NULL, 
    [cLocalCode]NVARCHAR(20) NOT NULL, 
    [cBrandCode]NVARCHAR(20) NOT NULL,     
    [cCsr] NVARCHAR(2048) NOT NULL, 
    [cCert] NVARCHAR(2048) NOT NULL, 
    [cMessage] NVARCHAR(250) NOT NULL,
    [cIssueCount] INT NOT NULL,
    [cDateTime] DATETIME2 NOT NULL
)
