There was an error while loading. Please reload this page.
UNIQUE
AlaSQL supports UNIQUE constraints.
For example:
CREATE TABLE dbo.BOM ( partid INT NOT NULL REFERENCES dbo.Parts, assemblyid INT NULL REFERENCES dbo.Parts, unit VARCHAR(3) NOT NULL, qty DECIMAL(8, 2) NOT NULL, UNIQUE(partid, assemblyid), CHECK (partid <> assemblyid) );
Quick links
AlaSQL wiki frontpage
About AlaSQL
Install AlaSQL
Get started with AlaSQL