Subject | Re: [firebird-support] Alter table error |
---|---|
Author | Ivan Prenosil |
Post date | 2004-08-17T10:27:31Z |
> >Actually, 31 characters for object names, less for constraint names.In fact it is table name that should be restricted.
>
> I've heard this rumour about short contraint name limits too, but I can't
> get Firebird to reject a 31-character constraint name.
Security class name in RDB$SECURITY_CLASSES table
is created as concatenation of 'SQL$' and table name,
and the result should fit into 31 characters (and if not,
it is silently trimmed).
If you have two tables whose names have identical first 27 characters,
they overwrite each other's security classes. (discovered by Claudio)
Ivan