I'm new to Oracle databases. I have used to SQL Server and the description fields (MS_Description) for tables and columns for documentation purposes. Is there an equivalent for Oracle? What is the best practice for documenting Oracle database?
|
|
In Oracle, you would use the COMMENT command to:
Most tools (PL/SQL Developer, Toad...) will display these comments in appropriate fields when you browse the database schema. The comments can be queried directly with the |
|||
|
|
|
In Oracle there are table and column comments that can be used for documentation. These comments can easily be added by the following commands:
|
||||
|
|
|
Oracle exposes its data dictionary through views. You can use these views to query the information you need. The main views that you'll need to use are:
There are also |
|||||
|
