SELECT *
FROM all_tab_cols
WHERE TABLE_NAME = 'Your table name'
AND OWNER = 'Your owner name'
all_tab_cols is a system object in Oracle DB.
SQL Server:
using this is a simple way: sp_help 'Your table name'
Monday, April 20, 2009
Get columns of a table
at 3:02 AM
Labels: Oracle, Oracle Query, PL/SQL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment