如何取得一个表的所有字段名用逗号分割
来源:互联网 发布:股票知识软件 编辑:程序博客网 时间:2024/05/18 00:44
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
自从 Oracle 9i 开始,就可以通过SYS_CONNECT_BY_PATH 函数实现将从父节点到当前
行内容以“path”或者层次元素列表的形式显示出来。
select max(substr(SYS_CONNECT_BY_PATH(COLUMN_NAME, ','),2)) col from (
select COLUMN_NAME,column_id from user_tab_columns where table_name='&表名')
start with column_id=1
connect by column_id=rownum;
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- 如何取得一个表的所有字段名用逗号分割
- 如何取得一个表的所有字段名用逗号分割(SQLSERVER和ORACLE)
- 如何取得一个表的所有字段名用逗号分割
- mysql 取得所有的表名和字段名
- 如何取得一个数据表的所有列名
- sql如何获取某一个表的所有字段名,并且有一个字段的统计数
- 用sql语句得到一个表的所有字段名
- 用sql语句得到一个表的所有字段名
- 获取指定表名的所有列,按逗号分割好,很适用
- MySQL查询表的所有列名,用逗号拼接
- 如何获取SQL Server所有的数据库名、表名、字段名及字段类型?
- mysql取得数据库所有表名和字段注释
- sqlserver 取得数据库所有表名及字段
- mysql取得数据库所有表名和字段注释
- mysql取得数据库所有表名和字段注释
- oracle下读取一个表的所有字段名
- oracle如何通过sql查询表的所有字段名?
- sqlserver中将查询出来的一个字段的所有值用逗号进行拼接
- 让css使网页图片半透明
- SQL服务器内存有两种基本管理方法:动态分配和静态分配
- DELPHI与INTERNET2
- JS (Javascript)取当前日期、时间的代码
- CoolWebScrollbars-定制网页的滚动条
- 如何取得一个表的所有字段名用逗号分割
- 用 udev 来创建 /dev下面的设备文件名
- 在ASP中获得GUID字符串
- javascript计算两个日期的间隔天数
- Delphi对象模型(Part I)
- 两年内,我不会使用VS2008
- CSS解决未知高度的DIV垂直居中
- 如何快速杀死占用过多资源(CPU,内存)的数据库进程
- 生成下面的模块时,启用了优化或没有调试信息