By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,806 Members | 1,829 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,806 IT Pros & Developers. It's quick & easy.


P: 374
i have 4000 rows in a column that has numeric values such as 12345678 in each of them
how would i change the values to have a comma in it such as 123,45678 ???

I need to change all of them.

Please help
Nov 26 '08 #1
Share this Question
Share on Google+
2 Replies

Uncle Dickie
P: 67
If the comma always goes in the same place could you use:

Expand|Select|Wrap|Line Numbers
  1. UPDATE    Table
  2. SET        Column = substring(Column,1,3) + ',' + substring(Column,4,200)
Nov 26 '08 #2

Expert 2.5K+
P: 2,878
if this is for display purposes, you might as well handle that on your front-end, much easier, less stress to the server.

-- CK
Nov 26 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.