In Oracle you can do something like this...
SELECT t.column_name AS COLUMNS
FROM all_tab_columns t
WHERE LOWER(t.table_name)= table_name
ORDER BY column_id

I'm not sure if other DBMS have a similar feature

On 10/5/05, Emmet McGovern <[EMAIL PROTECTED]> wrote:
> Is there any way to sort a ColumnList by the order it appears in a database?
>
>
> Thanks,
> emmet
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220141
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to