MsSQL MySQL SQL Generate string with leading character/number October 15, 2024October 15, 2024 by juliusgoh22 MSSQL: SELECT CONCAT('MIG-T-',FORMAT(1, '000000')); MYSQL: SELECT CONCAT('MIG-T-',LPAD(1,5,0)); juliusgoh22 Website https://juliusgoh.life