Message
From
02/10/2006 11:59:30
 
General information
Fórum:
Visual FoxPro
Category:
Bases de dados, Tabelas, Views, Indices e SQL
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
ID da thread:
01158559
ID da mensagem:
01158579
Views:
26
>Try
>
>select *
>	from person p
>		inner join referral r on p.cl_ref = r.cl_ref
>			where p.cl_dob > (
>					select GOMONTH(min(EVL(rr.re_date, {^9000-12-31}), -216))
>						from referral rr
>						where rr.cl_ref = p.cl_ref )
That seems to fail on the min() function call, it's expecting 2 arguments...

Thanks
Kev
Previous
Next
Responder
Mapa
View