08 2018 档案
摘要:SELECT to_char(sysdate,'yyyymmdd hh:mi:ss'), to_char(sysdate + 1,'yyyymmdd hh:mi:ss'), to_char(sysdate + 1/24,'hh:mi:ss'), to_char(sysdate + 30/(24*60),'hh:mi:ss'), to_char(sysdate + 30/(24*60*60)...
阅读全文
摘要:SELECT '['|| to_char(325)||']', '['|| to_char(12325,'9,999.999')||']', '['|| to_char(12325,'99,999.999')||']', '['|| to_char(12325,'fm99,999.999')||']', '['|| to_char(0.25)||']', '['|| to_
阅读全文
摘要:https://nt.focus.cn/zixun/93295f4ed44e2ce0.html
阅读全文
摘要:SELECT SYSDATE, ADD_MONTHS(SYSDATE,2), ADD_MONTHS(SYSDATE,-2), LAST_DAY(SYSDATE), MONTHS_BETWEEN(SYSDATE,DATE'2015-12-22'), MONTHS_BETWEEN(SYSDATE,DATE'2020-12-22'), NEXT_DAY(SYSDATE,'SUNDAY'), N...
阅读全文
摘要:TRUNC:Returns the number or expression passed as parameterSyntax:TRUNC(original_number[,n])The parameter for the number of decimals (noriginal number
阅读全文
摘要:SUBSTR:Extracts a portion of a string.Syntax:SUBSTR(original_string,position[,substring_length])It returns a portion of original_string, beginning atI
阅读全文
摘要:NVL(EXPR1,EXPR2)NVL2(EXPR1,EXPR2,EXPR3)NULLIF(EXPR1,EXPR2)COALESCE(EXPR1,,..,EXPRn)decode NVLnvl(COMMISSION_PCT,0)如果第一个参数为null,则返回第二个参数如果第一个参数为非null,则
阅读全文
摘要:关于like后面的条件,Oracle提供了四种匹配模式:1,% :表示任意0个或多个字符。可匹配任意类型和长度的字符,有些情况下若是中文,请使用两个百分号(%%)表示。比如 SELECT * FROM [user] WHERE u_name LIKE '%三%'将会把u_name为“张三”,“张猫三
阅读全文
摘要:Any comparison with null is false - = and <>, >, <, and so on. You cannot use null in an INlist as well - it would be ignored. Moreover, two nulls are
阅读全文
摘要:
阅读全文
摘要:https://www.cnblogs.com/clwydjgs/p/9390488.html 一、视图查看 Ctrl+F12 查看file,method结构图、类继承机构图 (不知道方法结构,Ctrl+F12一下,方法,参数,返回值,一清二楚的展现出来) Ctrl+shift+Alt+U 查看ma
阅读全文
摘要:Eclipse Build all and build project not working - jar missing
阅读全文
摘要:RandomeAccessFile use write replace writeBytes
阅读全文
摘要:import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; public class IOTest { public static void m...
阅读全文
摘要:https://www.cnblogs.com/Java3y/p/9479410.html 二、集群/分布式/微服务/SOA是什么? 像我这种技术小白,看到这些词(集群/分布式/微服务/SOA)的时候,感觉就是遥不可及的(高大尚的技术!!)。就好像刚学Java面向对象的时候,在论坛上翻阅资料的时候,
阅读全文
摘要:常规类型的格式化 String类的format()方法用于创建格式化的字符串以及连接多个字符串对象。熟悉C语言的读者应该记得C语言的sprintf()方法,两者有类似之处。format()方法有两种重载形式。 l format(String format, Object... args) 该方法使用
阅读全文
摘要:60多平方米,一进门是客厅,黄色的牛皮沙发占据了四分之一,房东嘱咐了几次“不能养宠物,定期要擦”,金红每周末都细细擦过,缝隙里也要用吸尘器吸一次,她珍视这张沙发,如同珍视这间房子,位于北京东南角,亦庄经济技术开发区的贵园小区,这是她租过的房中最满意的,“装得像婚房一样。” 来北京19年,河北姑娘金红
阅读全文
摘要:HashMap和Hashtable的比较是Java面试中的常见问题,用来考验程序员是否能够正确使用集合类以及是否可以随机应变使用多种思路解决问题。HashMap的工作原理、ArrayList与Vector的比较以及这个问题是有关Java 集合框架的最经典的问题。Hashtable是个过时的集合类,存
阅读全文
摘要:当我们查看JDK API的时候,总会发现一些类说明写着,线程安全或者线程不安全,比如说到StringBuilder中,有这么一句,“将StringBuilder 的实例用于多个线程是不安全的。如果需要这样的同步,则建议使用StringBuffer。”,提到StringBuffer时,说到“Strin
阅读全文
摘要:sql里面有? 希望输入有参数 java程序里面没有给入参数
阅读全文
摘要:ORA-17129=SQL 字符串不是DML 语句 oracle这个错误的意思是 select 不可以算DML 数据操纵语言(Data Manipulation Language, DML)是SQL语言中,负责对数据库对象运行数据访问工作的指令集,以INSERT、UPDATE、DELETE三种指令为
阅读全文
摘要:UPDATE table1 t1 SET (name, desc) = (SELECT t2.name, t2.desc FROM table2 t2 WHERE t1.id = t2.id) WHERE EXISTS ( SELECT 1 FROM table2 t2 ...
阅读全文
摘要:作者:Dnvce链接:https://www.zhihu.com/question/61950442/answer/441166734来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 3,稳定 第一个问题已经说过了,java是有一个庞大的生态系统,它的覆盖范围非常广,而
阅读全文
摘要:Usually you have a requirement of removing the duplicate records from a file using SORT with the option SUM FIELDS=NONE If the requirement is to alway
阅读全文
摘要:Here is a handy Java class that useSystem.getProperty("os.name") to detect which type of operating system (OS) you are using now. This code can detect
阅读全文
摘要:You can use the keyword silent, which is available in the options clause. You can set the following things to be silent: HEADER - Suppresses the SQL*L
阅读全文
摘要:具体内容: 1. 如何在项目中配置log4j使得该系统可以输出web test的日志文件(自定义格式)到工程dist目录下的junitLog/WebTestLog.log目录下,输出508 check日志(html格式)到c:/508log.html路径下? 第一步:加入log4j-1.2.8.ja
阅读全文
摘要:三 Log4j 有人注意到JUL的一些缺陷,做出了Log for Java。就是曾静风靡一时的Log4j。 Log4j是Apache的一个开源项目,通过使用Log4j,可控制日志信息输送的目的地是控制台、文件、数据库等。也可以控制每一条日志的输出格式,通过定义每一条日志信息的级别,能够更加细致的控制
阅读全文
摘要:In Eclipse, go to Preferences>General>Workspace and select UTF-8 as the Text File Encoding. This should set the encoding for all the resources in your
阅读全文
摘要:ow To Show Subject Above/Below Sender In Mail List In Outlook? Normally in the compact view of a mail folder in Microsoft Outlook, it displays the sen
阅读全文
摘要:背景颜色向你推荐:色调:85。饱和度:1 2 3。亮度:2 0 5 文档都不再是刺眼的白底黑字,而是非常柔和的豆沙绿色,这个色调是眼科专家配置的,长时间使用会很有效的缓解眼睛疲劳保护眼睛。 改变背景颜色windows->Preferences->General->Editor->Text Edito
阅读全文
摘要:在软件ide\bin目录下找到sqldeveloper.conf或ide.conf,加入 C:\Program Files (x86)\sqldeveloper\ide\bin AddVMOption -Duser.language=en AddVMOption -Duser.country=US
阅读全文
摘要:If you wish to use SQL*Plus Command-line , you'll simply issue the sqlplus command from your shell: $ sqlplus. $ sqlplusschema@//machine.domain:port/d
阅读全文