- 博客(2)
- 问答 (3)
- 收藏
- 关注
java中获得当前文件路径
public String getClassPath(){ String path=""; try {path=new File(getClass().getClassLoader().getResource("").toURI()).getPath(); }catch (URISyntaxException ex) {} return path;} 取...
2006-08-19 09:49:00 52
获得数据库中所有的表.
在数据库中一般都会有一个系统表来记录下所有的用户表或视图,存储过程等等的.名字就叫SYSOBJECTS.所有要查询出所有的表可以用以下语句: SQL2000: Select * From Sysobjects where xtype = ' U或 V 或 P ' ACCESS: SELECT * From MSysObjects Where Flags = 0 And Type=1 ORACLE...
2006-08-02 11:54:00 57
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人