General information
Forum:
Microsoft SQL Server
Title:
Currency format from a sum in a query
Environment versions
SQL Server:
SQL Server 2005
I have this query:
SELECT Prospecto.Nombre, SUM(Propuesta.PresupuestoCOP) AS TotalCOP, SUM(Propuesta.PresupuestoUSD) AS TotalUSD, COUNT(Prospecto.Nombre)
AS TotalProspectos
FROM Propuesta INNER JOIN
Prospecto ON Propuesta.IdProspecto = Prospecto.IdProspecto
GROUP BY Prospecto.Nombre
ORDER BY Prospecto.Nombre
And I need to express the SUM in currency format, how can I achive this?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only