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