Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/02/2007, 11:04
Avatar de CésarBalaguer
CésarBalaguer
 
Fecha de Ingreso: octubre-2006
Ubicación: en mi casa
Mensajes: 181
Antigüedad: 18 años, 7 meses
Puntos: 0
Re: error en Select sum()

Prueba con esto:
<% SQLtxt = "Select SUM(dias) AS di, tipo FROM permiso where rut = '" & Request("rut_aux") & "' and permiso.tipo= 'VACACIONES' GROUP BY tipo"
Set Consulta = oConn.Execute(SQLtxt)%>