用sql语句得到指定日期所在的周是本年度第几周(Specify the date where the annual week was the first few weeks with the SQL statement).docVIP
- 8
- 0
- 约2.49千字
- 约 7页
- 2017-09-15 发布于河南
- 举报
用sql语句得到指定日期所在的周是本年度第几周(Specify the date where the annual week was the first few weeks with the SQL statement)
用sql语句得到指定日期所在的周是本年度第几周(Specify the date where the annual week was the first few weeks with the SQL statement)
Specify the date where the annual week was the first few weeks with the SQL statement
Personal classification: SQL skills
Yesterday, a customer demand, demand has to be used for the specified date in the week was the year of the first few weeks
Seeing this question, I naturally think of the use of to_char (D,ww):
SQL, select, date2010-01-1+ rownum - 1 r,
2 to_char (date2010-01-1+ rownum - 1,d) -1 wn,
3 to_number (to_char (date2010-01-1+ rownum - 1,ww)) nthweek
4 from dual
5 connect by
您可能关注的文档
- 玻璃器具等的清洗、烘干、包扎、灭菌实验(Cleaning, drying, bandaging and sterilizing experiments of glassware).doc
- 玻璃分类(Glass classification).doc
- 现货盘面知识(Spot disk knowledge).doc
- 玻璃幕墙的施工方案及施工工艺(Construction scheme and construction technology of glass curtain wall).doc
- 玻璃材质(Glass material).doc
- 玻璃纤维桩修复残根残冠的临床观察(Clinical observation of glass fiber post for restoration of residual roots and crowns).doc
- 玻璃清洗(Glass cleaning).doc
- 珍珠奶茶制作方法(Method for making pearl milk tea).doc
- 玻璃检测(Glass inspection).doc
- 玻璃纤维增强型复合树脂桩核修复基牙折断烤瓷牙效果观察(Effect of glass fiber reinforced composite resin post core for restoration of abutment fracture of porcelain fused to tooth).doc
最近下载
- 数学物理方程-谷超豪.pdf VIP
- 1例静脉采血致桡神经损伤病人的护理.pptx VIP
- 静脉采血损伤.pptx VIP
- JB∕T 14397-2022 食品机械 静水压杀菌设备.pdf
- 八年级生物下册7.3人类与自然界的协调发展单元检测含解析新版冀教版.doc VIP
- 马凡综合征麻醉管理要点.pptx VIP
- 合肥经济学院专升本法学专业真题.docx VIP
- 生态旅游课程体系构建与教学方法创新研究.docx VIP
- 冀少版生物八年级下册单元检测卷 第七单元第一章 生物与环境的关系(测能力).pdf VIP
- 2026春统编版语文 语文二年级下册语文园地二 课件 (56张PPT).pptx VIP
原创力文档

文档评论(0)