
oralce
orclight
攻城狮
展开
-
oracle 约束查询
SELECT USER_CONS_COLUMNS.CONSTRAINT_NAME AS 约束名, USER_CONS_COLUMNS.TABLE_NAME AS 表名, USER_CONS_COLUMNS.COLUMN_NAME AS 列名, USER_CONS_COLUMNS.POSITION AS 位置FROM USER_CONSTRAINTS JO转载 2012-11-13 15:15:10 · 840 阅读 · 0 评论 -
用SQL语句统计一个表的列
1.oracle数据库 select column_name from user_tab_columns where table_name = '表名'; --表名需要大写2.sqlserver数据库 select syscolumns.name from syscolumns , sysobjects where转载 2012-11-28 14:34:09 · 896 阅读 · 0 评论 -
Oracle 常用函数
1.decode函数 http://www.cnblogs.com/ZHF/archive/2008/09/12/1289619.html原创 2013-01-16 12:01:47 · 452 阅读 · 0 评论