
16/01/2009, 12:52
|
 | Colaborador | | Fecha de Ingreso: diciembre-2004
Mensajes: 1.802
Antigüedad: 20 años, 2 meses Puntos: 38 | |
Respuesta: sumar registros repetidos con procedimiento almacenado informe de ventas-s
Código:
Select IdProducto , sum(Cantidad)
From tblSalidas
Group by IdProducto
 Saludos!
__________________ La sencillez y naturalidad son el supremo y último fin de la cultura...
--
MCTS : SQL Server 2008, .NET Framework 3.5, ASP.NET Applications. |