Oracle: Länge von Trigger-Namen

sceppi

Mitglied
Hallo,
ich hab leider dazu bis jetzt noch nix gefunden:
Gibt es in Oralce (10g) eine maximale Länge, die der Name eines Triggers haben darf?
grüße
sceppi
 
30 Zeichen (korrekterweise 30 Bytes) sind das Maximum. Mehr dazu in den Schema Object Naming Rules in der Oracle Doku.

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.
 
Zurück