Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
SQL
how to put 0 or 000 depending IDCustomer length in sql server
Toni
Programming language:
SQL
2021-04-26 10:57:24
0
Q:
how to put 0 or 000 depending IDCustomer length in sql server
HQQ
Code:
SQL
2021-08-06 06:56:27
SELECT FORMAT(EmployeeID, '000000') FROM dbo.RequestItems WHERE ID=0
0
Tags
server
sql server
how
"length
sql
Related
SQL server select to get sum of hours
set all the vluses in calumn in sql to false
print intervals of 15 minutes in sql query
sql set max value in column
sql length
sql var that stores the number of lines changed
mysql text type max length
Sql select by content lenght
SQL get max per id
New to Communities?
Join the community