![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
01/10/2004, 09:23
|
![Avatar de Itankai](http://static.forosdelweb.com/customavatars/avatar61739_1.gif) | | | Fecha de Ingreso: abril-2004 Ubicación: conkal, yucatan
Mensajes: 184
Antigüedad: 20 años, 10 meses Puntos: 0 | |
De oracle a SQL Alguien sabe como puedo hacer esto en SQL???
select * from catads
where
substr(trim(idads),5,3) = '"&mid(trim(Ejecuta1("idads")),5,3)&"'
and trim(idads) <> '"&trim(Ejecuta1("idads"))&"'
and
substr(trim(idads),11,3) = '"&mid(trim(Ejecuta1("idads")),11,3)&"' order by idads;
d antemano gracias..
__________________ De antemano... Gracias. |