Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Naming conventions

Re: Naming conventions

From: Uwe Schneider <us_at_webde-ag.de>
Date: Wed, 19 Dec 2001 16:41:15 +0100
Message-ID: <3C20B51B.E3815704@webde-ag.de>


Pacman wrote:
>
> I'm a junior DBA for Oracle and wondered if there are naming conventions for
> indexes, sequences, etc. With them sharing a global namespace it would be
> useful to know if there is a PDF or something out there to explain this.
>

Any naming convention is OK as long it is non-ambiguous and evident. Names of Objects must be uniwue within their schema.

We do use

- id for the PK
- pk_table for PK constraint
- fk_table_table for FKs
- ix_table_rows for indexes
- seq_table for sequences 
- tr_table_event for triggers

and so on.

U.

-- 
Uwe Schneider - WEB.DE AG  - Amalienbadstr. 41  - 76227 Karlsruhe 
F&E / Database & Software Technologies - Tel. (+49) 721 94329 8320
Received on Wed Dec 19 2001 - 09:41:15 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US