![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
16/08/2011, 10:17
|
![Avatar de Libras](http://static.forosdelweb.com/customavatars/avatar147802_5.gif) | Colaborador | | Fecha de Ingreso: agosto-2006 Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 18 años, 6 meses Puntos: 774 | |
Respuesta: Excluir datos según equivalencia select case
when acta_nacimiento='si' then curp='' else curp=curp from tabla
Seria algo mas o menos asi, estructura esta condicion para tu consulta :), saludos!
__________________ What does an execution plan say to t-sql query? Go f**k yourself, if you are not happy with me |