Home Forums SQL Server 7,2000 T-SQL Select date/time field on a daily basis RE: Select date/time field on a daily basis

  • getdate() gives you current date time... converting (convert) it to string and trimming off (substring) the time portion will give you todays calendar date which you can look for all >=... or you cand use dateadd to get yesterday's...