Jan 29, 2002 #1 c4sob IS-IT--Management Joined Mar 6, 2001 Messages 10 Location US Hi, Does anyone know how to simulate the lastday function (to select the last day of any specified month) that Oracle has in Sybase? --Jim
Hi, Does anyone know how to simulate the lastday function (to select the last day of any specified month) that Oracle has in Sybase? --Jim
Jan 30, 2002 #2 grega Programmer Joined Feb 2, 2000 Messages 932 Location GB You could use the dateadd function to subtract 1 day from the 1st of the next month. Greg. Upvote 0 Downvote
Jan 30, 2002 Thread starter #3 c4sob IS-IT--Management Joined Mar 6, 2001 Messages 10 Location US Thanks Greg, I'll see if that will work for this particular requirement. --Jim Upvote 0 Downvote