create table SaleOrderLines_Links (
  "N" integer not null default autoincrement,
  "SaleLineID" integer not null,
  "Book_RegNum" integer not null,
  "StartDate" date,
  "EndDate" date,
  primary key ("N")
)

GO

alter table SaleOrderLines_Links
add ServiceCreditNo integer not null default 0


