how to put 0 or 000 depending IDCustomer length in sql server
snippet in sql

how to put 0 or 000 depending IDCustomer length in sql server

user7331

SELECT FORMAT(EmployeeID, '000000')
FROM dbo.RequestItems
WHERE ID=0