Added missed column type changes to BigInt for resultID.
Added a generated DDL for MS SQL.