Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Place decimal in a integer value

Author  Topic 

turbo
Starting Member

19 Posts

Posted - 2013-06-08 : 06:54:00
Hi all ,
I have a series of integer values in a column,

A
----
2343
3416
6735
4566
3455


I want to place a decimal point so it will look like XX.XX

A
---
23.43
34.16
67.35
45.66
34.55


Can anyone help me out here
Thanks

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2013-06-08 : 09:16:09
[code]SELECT A / 100.0 FROM yourtable[/code]


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page
   

- Advertisement -