Subject | Re: [ib-support] Metadata SP order extraction problem |
---|---|
Author | Kubanych Tajmamat uloo |
Post date | 2003-01-22T03:06:53Z |
Marco Menardi wrote:
ORDER BY RDB$PROCEDURE_ID DESCENDING;
this one selects procedure names in order reverce to creation order.
Best regards, Kubanych.
>Hi, I've always extracted metadata (with IB_Manager or IB_SQL),SELECT RDB$PROCEDURE_NAME FROM RDB$PROCEDURES
>modified and rebuild the database.
>Now that I've add other more SP in my database, I can't rebuild
>because the order in wich metatata is extracted makes a SP being
>created before another SP that it calls (i.e. A calls B, and A is
>created before B, so it does not found the B reference).
>If I rearrange the SP order and build the database, next time I
>extract and rebuild I have the same problem.
>Is there a way to extract the SP in "creation" order? How can I avoid
>this?
>Thanks
>Marco Menardi
>
>
ORDER BY RDB$PROCEDURE_ID DESCENDING;
this one selects procedure names in order reverce to creation order.
Best regards, Kubanych.