返回特定日期所在月份的最后一天 例: SQL>SELECT last_day(sysdate) FROM dual; LAST_DAY(SYSDATE) ----------------------------- 2008-8-31 例如:找出每个月倒数第三天入职的员工 SELECT * FROM EMP WHERE last_day(hiredate)-2=hiredate;
转载 2011-12-31 16:27:00
108阅读
2评论
重新配置em即可,还有Oracle_SID环境变量一定要记得设置。1,修改DBSNMP密码:重新配置DBCONSOLE,需要输入DBSNMP密码,但任何密码都会显示错误,需要预先修改好。C:\Users\Administrator>sqlplus/nologSQL*Plus:Release11.2.0.1.0Productionon星期二10月1619:24:322018Copyright(
原创 2018-10-16 19:51:57
7146阅读
【功能】:返回日期d1到日期d2之间的月数。 【参数】:d1,d2 日期型 【返回】:数字 如果d1>d2,则返回正数 如果d1<d2,则返回负数 【示例】 select sysdate, months_between(sysdate,to_date('2006-01-01','YYYY-MM-DD
转载 2019-07-02 12:33:00
171阅读
2评论
Pre-Query trigger in Oracle D2k / Oracle Forms DescriptionFires during Execute Query or Count Query processing, just before Form Builder constructs and issuesthe SELECT statement to identify rows that...
原创 2021-07-21 11:34:06
403阅读
【功能】:返回日期d1所在月份最后一天的日期。 【参数】:d1,日期型 【返回】:日期 【示例】select sysdate,last_day(sysdate) hz from dual; 返回:2008-11-5,2008-11-30
转载 2019-07-02 12:32:00
125阅读
2评论
【功能】:返回日期d1所在期间(参数c1)的第一天日期 【参数】:d1日期型,c1为字符型(参数),c1默认为j(即当前日期) 【参数表】:c1对应的参数表: 最近0点日期: 取消参数c1或j 最近的星期日:day或dy或d (每周顺序:日,一,二,三,四,五,六) 最近月初日期:month或mon
转载 2019-07-02 12:39:00
104阅读
2评论
Special Tips for List Items in Oracle D2k In this section, I shall discuss some special tips and techniques offered by Forms with respect to lists and list items. Populating List Items Dynamically i...
原创 2021-07-21 11:34:16
881阅读
Upload Files To FTP in Oracle Forms D2k Use following procedure to upload files to Ftp. PROCEDURE Ftp_Upload IS outfile text_io.file_type;BEGIN -- write a ftp script outfile := text_io.fope...
原创 2021-07-21 11:32:56
391阅读
Using Call_Form in Oracle D2kCALL_FORM examples/* Example 1:** Call a form in query-only mode.*/BEGINCALL_FORM(’empbrowser’, no_hide, no_replace, query_only);END;/* Example 2:** Call a form, pass a pa...
原创 2021-07-21 11:32:57
401阅读
【功能】:给出日期d1按期间(参数c1)四舍五入后的期间的第一天日期(与数值四舍五入意思相近) 【参数】:d1日期型,c1为字符型(参数),c1默认为j(即最近0点日期) 【参数表】:c1对应的参数表: 最近0点日期: 取消参数c1或j 最近的星期日:day或dy或d 最近月初日期:month或mo
转载 2019-07-02 12:35:00
145阅读
2评论
Dynamic Lov is a good idea for the form where too many Lov requirement is there with different record groups. In this blog you will learn create dynamic Lov step by step.See also:http://www.foxinfotec...
原创 2021-07-21 11:29:45
1163阅读
                                                      Oracle11g安装过程出现提示:未找到文件D:\app\Administrator\product\11.2.0\dbhome_2\owb\external\oc4j_applications\applications\WFMLRSVCApp.ear 解决方法:将win64_...
原创 2021-07-15 09:12:51
754阅读
oracle rac 一节点crs无法启动,查看cssd进程处于 /etc/init.d/init.cssd startcheck 阶段 # ps -ef|grep css root      2890     1  0&nbs
原创 2013-01-01 23:57:06
1598阅读
With following steps you can create Object Library (OLB) in Oracle D2k Forms.Step - 1Create a form in form builder and create objects like Data Block, Canvases, Windows, Program Units etc. as shown in...
原创 2021-07-21 11:29:47
481阅读
【功能】:日期/时间d1中,参数(c1)的值 【参数】:d1日期型(date)/日期时间型(timestamp),c1为字符型(参数) 【参数表】:c1对应的参数表详见示例 【返回】:字符 【示例】 select extract(hour from timestamp '2001-2-16 2:38
转载 2019-07-02 12:43:00
130阅读
2评论
Obtaining Query Count Without executing a Query in Oracle D2k
原创 2021-07-21 11:16:42
401阅读
Using GET_APPLICATION_PROPERTY in Oracle D2k FormsDescriptionReturns information about the current Form Builder application. You must call the built-in once for eachvalue you want to retrieve.Usage No...
原创 2021-07-21 11:33:22
886阅读
DISPLAY_ITEM built-in in Oracle D2k FormsDescriptionMaintained for backward compatibility only. For new applications, you should use theSET_ITEM_INSTANCE_PROPERTY built-in. DISPLAY_ITEM modifies an it...
原创 2021-07-21 11:34:04
435阅读
CHECKBOX_CHECKED built-in in Oracle D2k FormsDescriptionA call to the CHECKBOX_CHECKED function returns a BOOLEAN value indicating the state of thegiven check box. If the item is not a check box, Form...
原创 2021-07-21 11:35:02
175阅读
【功能】:返回在日期d1基础上再加n1个月后新的日期。 【参数】:d1,日期型,n1数字型 【返回】:日期
转载 2019-07-02 12:30:00
114阅读
2评论
  • 1
  • 2
  • 3
  • 4
  • 5