Ver Mensaje Individual
  #11  
Antiguo 14-01-2009
pcicom pcicom is offline
Miembro
 
Registrado: may 2003
Ubicación: MONTERREY MEXICO
Posts: 253
Reputación: 22
pcicom Va por buen camino
ALGO MAS SIMPLE..

Código SQL [-]
select (casE when count(CODIGO)=0 then 'NO REGISTRADO' else 'REGISTRADO' end) from ESTUDIANTES where CODIGO='123456'
__________________
Poco ha de saber el que no pregunta.. Yo por eso soy un pregunton
Responder Con Cita