mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 11:26:00 +00:00
fix:divide field length by 4
This commit is contained in:
@@ -17,7 +17,7 @@ SELECT DISTINCT
|
||||
f.rdb$field_type AS "dataTypeCode",
|
||||
f.rdb$field_precision AS "precision",
|
||||
f.rdb$field_scale AS "scale",
|
||||
f.rdb$field_length AS "length",
|
||||
f.rdb$field_length / 4 AS "length",
|
||||
CAST(TRIM(rf.RDB$DEFAULT_SOURCE) AS VARCHAR(255)) AS "defaultValue",
|
||||
CAST(TRIM(rf.rdb$description) AS VARCHAR(255)) AS "columnComment",
|
||||
CASE
|
||||
|
||||
Reference in New Issue
Block a user