Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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

SELECT FORMAT(EmployeeID, '000000')
FROM dbo.RequestItems
WHERE ID=0 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #put #depending #IDCustomer #length #sql #server
ADD COMMENT
Topic
Name
3+3 =