I have Employee table with Empolyee ID column EmpID (nvarchar(5)) ,
and
I want to make EmpID's value to
00001
00002
00003
00004
....
....
How can I make Custom Auto-Generated Sequences likes this ?
I have the following SQL:
SELECT `model_payouts`.`member_id` AS `Member ID`,sum(`model_payouts`.`tips_amount` + `model_payouts`.`other_amount` + `model_payouts`.`ptv_amount` + `model_payouts`.`custom_clips_amount` + `model_payouts`.`phone_amount`) AS `ALLPAYMENTS`,
`content_store`.`ALLCONTENTP...