Subject | Re: [firebird-support] Stored Procedure Creator Problem |
---|---|
Author | Ivan Prenosil |
Post date | 2004-12-29T15:27:20Z |
> But the problem is that the RDB$TYPE_NAME and RDB$FIELD_LENGTH isYes, use CASE expression.
> quite different from what is shown in the Firebird GUI I use. There, it
> shows varchar, integer, etc and when I run the SQL Script it shows
> varying, long, text, int64, etc.
>
> So, does anyone knows how to convert these types shown when i run
> the SQL Script to the types shown in the Firebird GUI?
SELECT
CASE RDB$FIELD_TYPE WHEN 8 THEN 'INTEGER' WHEN 37 THEN 'VARCHAR' ... END
Ivan