2017年1月4日
摘要: private static String driverName = "com.mysql.jdbc.Driver"; public static void main(String[] args) { Connection con = null ; Statement stmt =null; Pre 阅读全文
posted @ 2017-01-04 19:37 ..SunXin 阅读(3408) 评论(0) 推荐(0) 编辑
  2017年1月3日
摘要: import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream;import java.io.IOException;import java.io.OutputStreamWrite 阅读全文
posted @ 2017-01-03 20:54 ..SunXin 阅读(5981) 评论(0) 推荐(0) 编辑
摘要: 1.create view 444(...) as select ...from... 2.insert into select.......union select 不支持 请分开写 4.GBase 8t默认大小写不敏感,但在引号中的内容则是大小写敏感的;Oracle默认则是在引号内外均不敏感。 阅读全文
posted @ 2017-01-03 20:48 ..SunXin 阅读(1198) 评论(0) 推荐(0) 编辑
摘要: 1. mysql查询所有表: SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '数据库名' AND TABLE_TYPE ='BASE TABLE' mysql查询建表语句: show create tabl 阅读全文
posted @ 2017-01-03 18:20 ..SunXin 阅读(19922) 评论(0) 推荐(2) 编辑
  2016年12月28日
摘要: 自己写service > 传入map(idsql,rssql,prior) idsql 查询id rssql 查询结果集 调用 以下方法 @param ids 要查询的起始 start with * @param allres 包含要递归数据的结果集 ( 查询时别名ID PID ) * @param 阅读全文
posted @ 2016-12-28 14:09 ..SunXin 阅读(21979) 评论(0) 推荐(0) 编辑