I have a column in my MySQL database (ex. salary). Datatype is DECIMAL(8,2). I noticed that it doesn’t have a thousand separator.
How would I select the whole column and put a thousands separator in each record?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do it with the help of the Format Function in this way :
You can also specify a locale(for example italian) :