Friday, 15 May 2015

sql order by - sql to oder by current date -



sql order by - sql to oder by current date -

i trying roder resultset based on current date in sybase ase. not understand how that.

select x,date1 abc x>y order date1> current_date

how utilize current date in orderby clause?

not clear guess want somemthing below query

select x,date1 abc x>y , date1 >current_date --can utilize getdate() current date order date1

sql sql-order-by sybase-ase

No comments:

Post a Comment