
CREATE TABLE customerDocumentTmp
(
	rowId BIGINT NOT NULL IDENTITY(1, 1) PRIMARY KEY
	,customerId BIGINT NOT NULL
	,[fileName] VARCHAR(80) NOT NULL
	,documentType INT
	,createdBy VARCHAR(80) NOT NULL
	,createdDate DATETIME NOT NULL
	,approvedBy VARCHAR(80) NULL
	,approvedDate DATETIME NULL
	,isDeleted BIT
	,deletedBy VARCHAR(80) NULL
	,deletedDate DATETIME NULL
);

select * from customerDocumentTmp

alter table customerMasterTemp add otherIdNumber varchar(80)
alter table customerDocument alter column createdBy varchar(80)
alter table customerDocument alter column approvedBy varchar(80)
