Creating Comma Seperated Lists

From TekiWiki

Jump to: navigation, search

This whole wiki has now moved to http://www.springboardsolutions.com/wiki

Go to this page Creating Comma Seperated Lists

Line 26: Line 26:
order by owner,table_name
order by owner,table_name
</pre>
</pre>
-
...and this one puts them in alphabetical order:
+
...and this one puts the columns in alphabetical order:
<pre>
<pre>
select owner,table_name,max(ltrim(sys_connect_by_path(column_name,','),',')) Columns
select owner,table_name,max(ltrim(sys_connect_by_path(column_name,','),',')) Columns

Revision as of 20:29, 20 August 2011

Personal tools