i got demand have select 3 dates db, datetime field of table records not in sequence. how write sql 3 dates' records greater today?
thanks
i think need. use getdate()
current date.
select top 3 datecolumn mytable datecolumn > getdate()
i got demand have select 3 dates db, datetime field of table records not in sequence. how write sql 3 dates' records greater today?
thanks
i think need. use getdate()
current date.
select top 3 datecolumn mytable datecolumn > getdate()
Comments
Post a Comment