Subject | Re: [firebird-support] 60 chars in a 50 field |
---|---|
Author | Martijn Tonies |
Post date | 2005-02-26T13:39:37Z |
> The thing that scares me is that you should never use a column for twoThey don't!
> completely
> different things.
>I would suggeststorage.
>
> FIELD_DATA_TYPE // English representation like VARCHAR or CLOB
> FIELD_INTERNAL_DATA_TYPE // Current numbering system
> FIELD_CHARACTER_SET // or whatever you would call it
> FIELD_BYTE_SIZE // size in bytes the database needs for internal
> FIELD_LENGTH // For charactersFIELD_LENGTH now is the "byte size"
> FIELD_PRECISION // For number
> FIELD_SCALE // For numbers
CHARACTER_LENGTH is the length in characters.
Your proposal is already done :-)
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server
Upscene Productions
http://www.upscene.com