Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

tsql to parse/separate/split a decimal (float) column into two Int columns - whole number in one column and decimal part (as int) in another column?

$
0
0

MyDecVal    LeftSideVal    RightSideVal

   10.4               10                  4

How do I split 10.4  into 10   and   4   with tSql?   (on Sql Server 2008 Express) 

Thanks in advance for any suggestions


Rich P



Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>