CREATE TABLE CUEBOMB ( 
BOM_TIP VARCHAR(3) NOT NULL,
BOM_COD VARCHAR(3) NOT NULL,
BOM_CUE VARCHAR(16) NOT NULL
 CONSTRAINT PK_CUEBOMB PRIMARY KEY CLUSTERED (BOM_TIP,BOM_COD),
 CONSTRAINT CK_CUEBOMBBOM_COD CHECK ((len([BOM_COD])>(0))),
 CONSTRAINT CK_CUEBOMBBOM_CUE CHECK ((len([BOM_CUE])>(0))),
 CONSTRAINT CK_CUEBOMBBOM_TIP CHECK ((len([BOM_TIP])>(0))))
GO