Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Currency format from a sum in a query
Message
De
26/11/2008 22:26:41
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Currency format from a sum in a query
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01364335
Message ID:
01364335
Vues:
58
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform