I need to specify a date value in a sybase where clause. For example:
select * from data where dateVal < [THE DATE]
Several ways to accomplish that but be aware that your DB date_format option & date_order option settings could affect the incoming format:
Select cast('2008-09-16' as date) convert(date,'16/09/2008',103) date('2008-09-16') from dummy;