aravind (10/23/2008)
Hi Madi,The output wont be the one I expected. The decimal should not get truncated.
Here it is
declare @d float
declare @d1 float
select @d = '34343.454'
select @d1 = '676.1566545'
select cast(cast (@d as decimal(12,3)) as varchar(20)) + CHAR (9) + cast(cast (@d1 as decimal(18,7)) as varchar(20))
Failing to plan is Planning to fail