Subject | Re: [firebird-support] 60 chars in a 50 field |
---|---|
Author | Daniel Rail |
Post date | 2005-02-25T21:43Z |
Hi,
At February 25, 2005, 15:31, Thomas Miller wrote:
SUBTYPE TEXT. This could make sure that the metadata extraction shows
the same as what you initially specified.
And, don't forget RDB$FIELD_SUB_TYPE
There's also RDB$COLLATION_ID
So essentially, most of the different fields that you suggest are
already there.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)
At February 25, 2005, 15:31, Thomas Miller wrote:
> The thing that scares me is that you should never use a column for twoI agree.
> completely
> different things.
> I would suggestThis would be welcomed. Especially if CLOB is the same as BLOB
> FIELD_DATA_TYPE // English representation like VARCHAR or CLOB
SUBTYPE TEXT. This could make sure that the metadata extraction shows
the same as what you initially specified.
> FIELD_INTERNAL_DATA_TYPE // Current numbering systemIt's the same as RDB$FIELD_TYPE
And, don't forget RDB$FIELD_SUB_TYPE
> FIELD_CHARACTER_SET // or whatever you would call itSame as RDB$CHARACTER_SET_ID
There's also RDB$COLLATION_ID
> FIELD_BYTE_SIZE // size in bytes the database needs for internal storage.Same as RDB$FIELD_LENGTH
> FIELD_LENGTH // For charactersSame as RDB$CHARACTER_LENGTH
> FIELD_PRECISION // For numberSame as RDB$FIELD_PRECISION
> FIELD_SCALE // For numbersSame as RDB$FIELD_SCALE
So essentially, most of the different fields that you suggest are
already there.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)