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 Chriss Miller 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
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
 
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