Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Function

Status
Not open for further replies.

c4sob

IS-IT--Management
Mar 6, 2001
10
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
 
You could use the dateadd function to subtract 1 day from the 1st of the next month.

Greg.
 
Thanks Greg,
I'll see if that will work for this particular requirement.

--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top