数据库
xiaofeng471
这个作者很懒,什么都没留下…
展开
-
获得数据库中的所有表及某个表的所有字段
oracle实现: 得到指定库的所有表 select table_name from all_tables where trim(owner)='库名'; 得到指定表的所有字段 select column_name from USER_TAB_COLUMNS where TABLE_NAME='表名'; ms sqlserver实现: 得到制定库的所有表 select name f...原创 2010-02-26 18:23:37 · 227 阅读 · 1 评论 -
DB2函数大全
转载自:http://sunmoonking.spaces.live.com/blog/cns!E3BD9CBED01777CA!739.entry DB2函数大全 函数名 函数解释 函数举例 AVG() 返回一组数值的平均值. SELECTAVG(SALARY)FROMBSEMPMS; CORR(),CORR...原创 2010-06-13 14:27:08 · 123 阅读 · 0 评论