SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Place decimal in a integer value
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

turbo
Starting Member

19 Posts

Posted - 06/08/2013 :  06:54:00  Show Profile  Reply with Quote
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)

Singapore
17681 Posts

Posted - 06/08/2013 :  09:16:09  Show Profile  Reply with Quote
SELECT A / 100.0 FROM yourtable



KH
Time is always against us

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000