摘要:
mysql表:DROP TABLE IF EXISTS `test`;CREATE TABLE `test` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) DEFAULT NULL, `age` int(11) ... 阅读全文
摘要:
BEGIN DECLARE startIndex int; select COUNT(*) INTO RecordCount from test; SET startIndex = (PageIndex - 1) * PageSize; SELECT * FROM test ORDER BY id... 阅读全文
摘要:
//MySQL Date类型 -> java.sql.Datejava.sql.Date d = new java.sql.Date(Calendar.getInstance().getTime().getTime());//MySQL Time类型-> java.sql.TimeTime t = ... 阅读全文