
ALTER TABLE CustomerMasterTemp ADD OldCustomerId BIGINT
ALTER TABLE CustomerMasterTemp ADD txnPin VARCHAR(80)
ALTER TABLE CustomerMaster ADD txnPin VARCHAR(80)
ALTER TABLE CustomerMasterTemp ADD monthlyIncome VARCHAR(100)
ALTER TABLE CustomerMasterTemp ADD organizationType VARCHAR(100)
ALTER TABLE CustomerMasterTemp ADD ADDITIONALADDRESS NVARCHAR(100)
ALTER TABLE customerMasterTemp ALTER COLUMN CREATEDDATE DATETIME

ALTER TABLE customerMasterreceiverFieldSetup ADD isExistingCustomer BIT
ALTER TABLE customerMasterTemp ADD isExistingCustomer BIT

ALTER TABLE CustomerMasterTemp ADD documentType int
ALTER TABLE CustomerMasterTemp ADD nameOfEmployeer VARCHAR(100)
ALTER TABLE CustomerMasterTemp ADD visaStatus VARCHAR(100)
ALTER TABLE CustomerMasterTemp ADD employeeBusinessType int

select top 100 idnumber, mobile, dob,* from customerMaster

EXEC JsonRx_Proc_UserRegistration_V2 @flag='sign-up-pre-old-cust' , @mobile = '9060668836', @idNumber = '222', @dob = '1983-04-16'

SELECT customerIdOld = CUSTOMERID, firstName = ISNULL(firstName, '')
FROM CUSTOMERMASTER (NOLOCK)
WHERE IDNUMBER = '222'
AND mobile LIKE '%9060668836'
AND CAST(dob AS DATE) = '1983-04-16'

SELECT USERNAME,* FROM CustomerMasterTemp
SELECT USERNAME,* FROM mobile_userRegistration

select monthlyIncome,* from customerMaster where username='test1234'

EXEC mobile_proc_customerMaster_V2 @flag='i', @username = 'rohit906', @type = '2', @occupation = '1102', 
@sourceOfFund = '109', @monthlyIncome = '1000', @businessType = '1010', @mobile = '9848700321', 
@email= 'test@gmail.com', @additionalAddress	= N'test', @idType = '1010', @additionalIdType = '1011', 
@idFront = null, @idBack = null, @idSide = null, @additionalId = null, @facePicture = null
