Hi All,
i have written this query
SELECT FGItemId, Convert(char(7),FGFormulaeRM.BatchSize) +'-'+ MasterUnit.Name as BatchName FROM FGFormulaeRM INNER JOIN
MasterUnit ON FGFormulaeRM.BatchUnitId = MasterUnit.UnitId
works correctly
if FGFormulaeRM.BatchSize= 2345.24 and MasterUnit.Name =Kg.
O/P is 2345.24-Kg. Ok...
But
if FGFormulaeRM.BatchSize= 1 and MasterUnit.Name =Kg.
O/P is 1 -Kg.
How i can remove the space Between them showing O/P 1-Kg.
Thanks