You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
594 B

1 year ago
  1. CREATE TABLE customerDocumentTmp
  2. (
  3. rowId BIGINT NOT NULL IDENTITY(1, 1) PRIMARY KEY
  4. ,customerId BIGINT NOT NULL
  5. ,[fileName] VARCHAR(80) NOT NULL
  6. ,documentType INT
  7. ,createdBy VARCHAR(80) NOT NULL
  8. ,createdDate DATETIME NOT NULL
  9. ,approvedBy VARCHAR(80) NULL
  10. ,approvedDate DATETIME NULL
  11. ,isDeleted BIT
  12. ,deletedBy VARCHAR(80) NULL
  13. ,deletedDate DATETIME NULL
  14. );
  15. select * from customerDocumentTmp
  16. alter table customerMasterTemp add otherIdNumber varchar(80)
  17. alter table customerDocument alter column createdBy varchar(80)
  18. alter table customerDocument alter column approvedBy varchar(80)