摘要:
持續性整合與發佈(Continuous Integration / Continuous Delivery) 阅读全文
摘要:
public static boolean isValidDate(String str) { boolean convertSuccess=true; // 指定日期格式为四位年/两位月份/两位日期,注意yyyy/MM/dd区分大小写; SimpleDateFormat format = new 阅读全文
摘要:
【唯一】DISTINCT与UNIQUE的“区别” 今天一个朋友在Oracle中偶然发现UNIQUE也可以得到唯一的数据结果,问到DISTINCT与UNIQUE的区别。答案是:他们没有区别! distinct这个关键字来过滤掉多余的重复记录只保留一条,但往往只用 它来返回不重复记录的条数,而不是用它来 阅读全文
摘要:
文件个数 ls -l |grep "^-"|wc -l 文件夹个数 ls -l |grep "^d"|wc -l 阅读全文
摘要:
This is an Oracle-specific notation for an outer join. It means that it will include all rows from t1, and use NULLS in the t0 columns if there is no 阅读全文
摘要:
//FIXME 阅读全文
摘要:
notFound = 1403L; .dupKey = -1L; openCloseErr = -2117L; cursorNotOpenErr = -1002L; .nullCursor = -1405L; noMatchVal = 99L; multRowsOnSelect = -2112L; 阅读全文
摘要:
JDBC实现基本的CRUD示例 private static void insertTest() throws SQLException { String dbURL = "jdbc:mysql://localhost/test"; Connection con = DriverManager.getConnection(dbURL, "root", "123"); St... 阅读全文
摘要:
SQL-02112 SELECT..INTO returns too many rows Cause: A SELECT...INTO statement returned more rows than can be stored in the host variable provided. 阅读全文
摘要:
"C" hex is positive, "D" hex is negative, and "F" hex is unsigned. 阅读全文