Subject | Re: [firebird-support] Firebird 1.5 : Retrieval of Procedure Metadata |
---|---|
Author | Milan Babuskov |
Post date | 2010-06-22T15:17:12Z |
brian.gooch.uk@... wrote:
source Blob.
Datatype of parameters is stored in domain table: RDB$FIELDS, just like
table/view columns. RDB$FIELD_SOURCE will tell you which domain is used.
To get the exact datatype from RDB$FIELDS info, you can look at isql or
FlameRobin source code. For example, take a look at loadProperties() and
dataTypeToString() functions in this file:
http://tinyurl.com/flamerobindomain
HTH
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================
> we also need to retrieve each parameter's datatype.Not really. Only internal variables (DECLARE VARIABLE) are stored in
> The system tables tend to reveal that the datatype info is stored in the Blob which contains that procedure's text.
source Blob.
Datatype of parameters is stored in domain table: RDB$FIELDS, just like
table/view columns. RDB$FIELD_SOURCE will tell you which domain is used.
To get the exact datatype from RDB$FIELDS info, you can look at isql or
FlameRobin source code. For example, take a look at loadProperties() and
dataTypeToString() functions in this file:
http://tinyurl.com/flamerobindomain
HTH
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================