If that's not the case, what happens if you just replace all occurances of $year with a hard coded int?
Rich
Update: Thanks to crazyinsomniac for correcting me. SQL is not delimited by a CR so I was completely off base.
In reply to Re: Re: Re: Type casting
by rchiav
in thread Type casting
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |