get the last date of a month in oracle
2010-11-04 14:29
309 查看
select add_months(trunc(sysdate, 'MM'), 1) -1 as last_date from dual
这里的sysdate可以替代为任一日期。
这里的sysdate可以替代为任一日期。
相关文章推荐
- oracle日期时间段查询遇到问题to_date ora-01847 day of month must be between 1 and last day of month
- How to get the query statement of LOV in Oracle Form
- Reduce a date range to an array of the last days of each month?
- How to Get First and Last Day of a Month in SQL Server
- Get the true value of a calculate field in SharePoint
- Xcode4 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest change
- How can i get hold of all of the visible items in my QListView?
- Questions[SQL]:Calculate the Number of Days in a Month
- MyEclipse部署项目出错:Deployment is out of date due to changes in the
- sql server query to get the list of column name in a table
- 获取本机已安装的软件列表C#/VB.NET(Get the list of installed software in local pc)
- Most efficient way to get the last element of a stream
- Get the date of the days before today on AIX
- 在C++中怎样获得数组的大小?(原文标题:How Would You Get the Count of an Array in C++?)
- Automate the Sizing of your SGA in Oracle 10g
- How to Get First and Last Day of a Week in SQL Server
- How to get the date N days ago in Python
- How to Get the Frequency Table of a Categorical Variable as a Data Frame in R
- How do I get the path of the current executed file in Python?
- Code snippet of the day : Get Chinese Spell in C#