On Thu, Dec 16, 2004 at 08:41:18PM -0400, Fernando Galvez wrote:
> Como puedo hacer un casting de un campo que es de tipo MONEY y tengo
> que restarle otro campo que tambien es MONEY pero esta en otra tabla
> bueno el lio es Restarlo por que la consulta trabaja bien.. :)
???
select tabla1.campo1 - tabla2.campo2
from tabla1, tabla2
where ...
--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"There is evil in the world. There are dark, awful things. Occasionally, we get
a glimpse of them. But there are dark corners; horrors almost impossible to
imagine... even in our worst nightmares." (Van Helsing, Dracula A.D. 1972)