sql server Convert ID to string with fill zeros on left code example
Example: how to put 0 or 000 depending IDCustomer length in sql server
SELECT FORMAT(EmployeeID, '000000')
FROM dbo.RequestItems
WHERE ID=0
SELECT FORMAT(EmployeeID, '000000')
FROM dbo.RequestItems
WHERE ID=0