I have this query
SELECT CONVERT(numeric(18,0), CAST((g.SI_Existencia) * gg.SI_Costo_Promedio AS MONEY),1)
from SI_Inventario_Teorico_QAD g
INNER JOIN SI_Maestro_Ref_QAD gg ON g.SI_Articulo = gg.SI_Num_Articulo
WHERE SI_Articulo = 200038
I'm trying to make the result show it to me in thousands separator so the fields g.SI_Existencia
and gg.SI_Costo_Promedio
are numeric(18,0)
g.SI_Existencia = 58
gg.SI_Costo_Promedio = 41040.010