摘要: Select concat(COLUMN_NAME , ' \'', COLUMN_COMMENT ,'\','), COLUMN_NAME , COLUMN_COMMENT from INFORMATION_SCHEMA.COLUMNS Where table_name = 'evt_c'##表名 阅读全文
posted @ 2021-11-25 19:35 ct-group 阅读(503) 评论(0) 推荐(1)
摘要: 自己工程路径下的类和 jar包里面的类重复时,优先加载工程路径下的 阅读全文
posted @ 2020-11-30 17:47 ct-group 阅读(367) 评论(0) 推荐(1)
摘要: #! 是一个约定的标记,它告诉系统这个脚本需要什么解释器来执行,即使用哪一种 Shell。 chmod +x ./test.sh #使脚本具有执行权限 ./test.sh #执行脚本 告诉系统说,就在当前目录找。 /bin/sh test.sh #指定解释器执行 这种方式运行的脚本,不需要在第一行指 阅读全文
posted @ 2020-11-28 15:27 ct-group 阅读(85) 评论(1) 推荐(1)
摘要: 排序找出年龄在13岁到16岁数据,按salary排序 1 select id,name,age,salary,row_number()over(order by salary desc) rank 3 from TEST_ROW_NUMBER_OVER t where age between '13 阅读全文
posted @ 2020-11-27 16:23 ct-group 阅读(259) 评论(1) 推荐(1)
摘要: distinct只能放在首列之前,作用于select出的所有列;若与order by一起使用,则order by后的字段需出现在select列表中。 'distinct‘ keyword can only be placed before the first column and applies t 阅读全文
posted @ 2020-11-14 17:34 ct-group 阅读(122) 评论(1) 推荐(1)
摘要: org.dom4j javax.xml.bind.JAXBContext(parse xml to Java object,there are annotations associated with “xml” in the declaration of this class of the obje 阅读全文
posted @ 2020-11-14 17:28 ct-group 阅读(68) 评论(0) 推荐(1)
摘要: jar:org.apache.commons; copies array :java.lang.System.arraycopy; getting classloader:(function:get class,) thread.currentthread().getcontextclassload 阅读全文
posted @ 2020-11-14 17:27 ct-group 阅读(85) 评论(0) 推荐(1)
摘要: Ctrl O 在本类中快速查找方法 Ctrl+shift+f11 运行当前JAVA文件 shift+enter 快速换行 ctrl+shift+g 查找类或者方法在其他地方的用法 Ctrl+h 全局搜索 阅读全文
posted @ 2020-11-03 18:42 ct-group 阅读(121) 评论(0) 推荐(1)
摘要: export LANG=UTF-8(set encode) vim + filepath [--cmd "set encoding=charset":opens files with the specified encoding,file--in Unix system ,getting file 阅读全文
posted @ 2020-10-28 12:50 ct-group 阅读(83) 评论(0) 推荐(1)