Quick Guide to Some Sources for Naming Conventions for Oracle Database Development

I occasionally am asked about naming conventions for PL/SQL program units.

I did publish a document back in 2009 (link below), but there are also other sources for naming conventions from others, offering different ideas and excellent motivation for standardizing the way you write your code. I have collected links to them here.

The most important thing about naming conventions is BE CONSISTENT.

PL/SQL Naming Conventions and Coding Standards - Steven Feuerstein 2009

Coding Standards for SQL and PL/SQL - William Robertson

ORACLE-BASE / Tim Hall / Oracle Naming Conventions

Trivadis PL/SQL and SQL Coding Guidelines Version 2.0

Ask Tom on Naming Conventions

PL/SQL and SQL naming conventions

Oracle SQL and PL/SQL Coding Standards – Cat Herding for Dummies

Slideshare Presentation on PL/SQL Coding Conventions


  1. Thanks Steven for the post.

    The first link which you have published back in 2009,is not working and giving "404 Not Found!" error.

    Could you please check.


  2. Apologies. That SHOULD have worked, but I should have tested it. I have uploaded the document to OTN, and the link now reflects that.

    1. Thanks for the quick action, will check it now.

      Thanks again Steven.

  3. "The most important factor in a name is that it concisely (not that we have any choice about that with a limit of 30 characters!) " What about 12.2 :=)

    1. You are right, Daniel. Now we have choice AND responsibility. Of course, a name can be concise when using 50 characters. It depends on what you are trying or need to say - or you are using German. :-)

    2. Responsibility was the word. The total length of an identifier, schema.tabel.column might be veeeery long. :)
      Gonna be interesting to see how people use this "feature"

    3. I expect that it will be used as follows: I type a name, it's kinda long - 32, 35, maybe 40 characters - but the compiler no longer complains so I use it.


Post a Comment

Popular posts from this blog

Table Functions, Part 1: Introduction and Exploration

Get rid of mutating table trigger errors with the compound trigger

Quick Guide to User-Defined Types in Oracle PL/SQL