Neste link,

http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements008.htm#i27561

Você encontra o seguinte:


Schema Object Naming Rules

Every database object has a name. In a SQL statement, you represent
the name of an object with a quoted identifier or a nonquoted identifier.

    *

      A quoted identifier begins and ends with double quotation marks
("). If you name a schema object using a quoted identifier, then you
must use the double quotation marks whenever you refer to that object.
    *

      A nonquoted identifier is not surrounded by any punctuation.

You can use either quoted or nonquoted identifiers to name any
database object. However, database names, global database names, and
database link names are always case insensitive and are stored as
uppercase. If you specify such names as quoted identifiers, then the
quotation marks are silently ignored. Please refer to CREATE USER for
additional rules for naming users and passwords.

The following list of rules applies to both quoted and nonquoted
identifiers unless otherwise indicated:

   1.

      Names must be from 1 to 30 bytes long with these exceptions:
          *

            Names of databases are limited to 8 bytes.
          *

            Names of database links can be as long as 128 bytes.

      If an identifier includes multiple parts separated by periods,
then each attribute can be up to 30 bytes long. Each period separator,
as well as any surrounding double quotation marks, counts as one byte.
For example, suppose you identify a column like this:

      "schema"."table"."column"


      The schema name can be 30 bytes, the table name can by 30 bytes,
AND THE COLUMN NAME CAN BE 30 BYTES. Each of the quotation marks and
periods is a single-byte character, so the total length of the
identifier in this example can be up to 98 bytes.


Anderson.




--- Em oracle_br@yahoogrupos.com.br, "Carlos" <[EMAIL PROTECTED]> escreveu
>
> Olá André,
> 
> Veja só, andei pesquisando nessas suas sugestões, mas ainda não
> encontrei o local que diz explicitamente que o tamanho máximo
> permitido para nomes de colunas no Oracle é 30, 32, 35 ou 40.
> Em todo caso, valeu mesmo pela recomendação.
> 
> []s
> 
> Carlos
> 
> --- Em oracle_br@yahoogrupos.com.br, "Andre Santos"
> <andre.psantos.ti@> escreveu
> >
> > Carlos
> > 
> > Para nomes de tabelas e colunas (e a maioria dos outros objetos)
são 30
> > caracteres.
> > 
> > Procure em:
> > 
> > Oracle... SQL Reference
> >    Basic Elements of Oracle SQL
> >       Schema Object Names and Qualifiers
> >          Schema Object Naming Rules
> > 
> > [ ]
> > 
> > André
> > 
> > 
> > Em 20/12/06, Carlos <carlitoed@> escreveu:
> > >
> > >   Pessoal,
> > >
> > > Estou precisando justificar aqui que existe um tamanho máximo para
> > > nomes de colunas no oracle. Assim, eu já ouvi dizer que existe essa
> > > limitação só não sei qual é esse tamanho máximo, e o mais
importante,
> > > em que documento oficial tipo metalink ou reference guide consta
essa
> > > informação.
> > >
> > > Caso alguém conheça onde posso encontrar essa informação, por favor,
> > > me avisem.
> > >
> > > Grato
> > >
> > > Carlos
> > >
> > > 
> > >
> > 
> > 
> > [As partes desta mensagem que não continham texto foram removidas]
> >
>


Responder a