Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/07/2011, 10:43
Avatar de ARGFA
ARGFA
 
Fecha de Ingreso: noviembre-2009
Ubicación: Ciudad Guayana, Venezuela
Mensajes: 55
Antigüedad: 14 años, 5 meses
Puntos: 0
Respuesta: no contar los duplicados de una tabla

LO TENGO ASI AHORA:
Código vb:
Ver original
  1. Set rscantprove = myconn2.Execute("SELECT COUNT (DISTINCT(codigo_proveedor))  FROM tb1")

Y ME DA EL SIGUIENTE ERROR:
la funcion 'distinct' no esta definida en al expresion