Subject | Re: Database Server Error:unsuccessful metadata update cannot delete DOMAIN RDB$1749 |
---|---|
Author | karolbieniaszewski |
Post date | 2011-04-04T07:54:44Z |
--- In firebird-support@yahoogroups.com, Svein Erling Tysvær <svein.erling.tysvaer@...> wrote:
name my_domain instead of e.g. name VarChar(10)
but procedure have no dependicies and domain still exists and was not modified..
And most interesting is that
start transaction
drop procedure
commit transaction - generate error
but when i run the same once again
start transaction
drop procedure
commit transaction
i successfully drop procedure without error ..
I suppose that is some issue in dependicies of domain type paremer..
Karol Bieniaszewski
>Yes i drop stored procedure and few parameters are defined like
> > > karolbieniaszewski wrote:
> > > > how can i check what dependicies exists on field listed in
> > > > RDB$FIELDS?
> > > >
> > > > SELECT *
> > > > FROM RDB$FIELDS a
> > > > WHERE
> > > > a.RDB$FIELD_NAME like 'RDB$1749%'
> > > >
> > > > result me 1 record
> > > > but
> > > >
> > > > SELECT *
> > > > FROM RDB$RELATION_FIELDS a
> > > > where
> > > > a.RDB$FIELD_SOURCE like 'RDB$1749%'
> > > >
> > > > return 0 records
> > >
> > > Maybe it's a stored procedure parameter?
> > >
> > > --
> > > Milan Babuskov
> >
> > I check this and this is output parameter for my stored procedure
> > but this procedure is not used in any object in database - only is
> > executed by client application
> >
> >then how can i have dependencies on this parameter??
>
> Did you drop or alter the stored procedure? I would expect the stored procedure to depend on the domain of its output parameter to be defined.
>
> HTH,
> Set
>
name my_domain instead of e.g. name VarChar(10)
but procedure have no dependicies and domain still exists and was not modified..
And most interesting is that
start transaction
drop procedure
commit transaction - generate error
but when i run the same once again
start transaction
drop procedure
commit transaction
i successfully drop procedure without error ..
I suppose that is some issue in dependicies of domain type paremer..
Karol Bieniaszewski