Groups | Blog | Home
all groups > sql server (microsoft) > october 2004 >

sql server (microsoft) : Querying Data Dictionary?


NavEEd
10/18/2004 5:19:27 PM
Hi there.

Just wondering if there's a select you can do against the sys tables in SQL
server like there are in Oracle.

ie.

SELECT distinct column_name
from user_tab_columns
where table_name = 'CUSTOMER'
order by column_id

Greg D. Moore (Strider)
10/19/2004 1:44:07 AM

[quoted text, click to view]

Yes.

Just be careful updating system tables, some are virtual and your changes
may not survive reboots.


[quoted text, click to view]

AddThis Social Bookmark Button