Skip to content

dialect(oracle, derby): column types on Oracle; padding, numbers as text and dates from parts on Derby - #78

Merged
stbischof merged 1 commit into
mainfrom
pr/oracle-derby-dialects
Nov 10, 2026
Merged

stbischof merged 1 commit into
mainfrom
pr/oracle-derby-dialects

Conversation

@stbischof

Copy link
Copy Markdown
Contributor
  • Oracle: a binary column is RAW (n) up to 2000 bytes, else a BLOB.
  • Oracle: a text column counts characters: VARCHAR2 (n CHAR), beyond 4000 a CLOB, a fixed one CHAR (n CHAR).
  • Derby: right padding without RPAD.
  • Derby: TO_TEXT is TRIM(CHAR(x)), which takes every number.
  • Derby: a date from year, month and day without LPAD or a VARCHAR cast.

…ext and dates from parts on Derby

Oracle: a binary column is RAW (n) up to 2000 bytes, else a BLOB; a text column counts characters,
VARCHAR2 (n CHAR), beyond 4000 a CLOB. Derby: right padding without RPAD, TO_TEXT as TRIM(CHAR(x)),
a date from year, month and day without LPAD or a VARCHAR cast.

Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
@stbischof
stbischof merged commit 4a7b508 into main Nov 10, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant