Ver Mensaje Individual
  #4  
Antiguo 08-06-2004
__cadetill __cadetill is offline
Miembro
 
Registrado: may 2003
Posts: 3.387
Reputación: 25
__cadetill Va por buen camino
el campo COD_PRO es de tipo string (VACHAR, CHAR,...)???

Si no es así, primero tendrás que hacer un cast

Código SQL [-]
Select  *
From Fachis 
where  substring(cast(COD_PRO as varchar(10)) from 1 for 3) <> '801'
Responder Con Cita