Skip to content

Select statement not showing whitespace #302

Closed
@Max-crosskey

Description

@Max-crosskey

Describe the bug

Select statement doesn't include leading blanks in character field, for example if the field has value ' X' then the select and generated insert statement becomes 'X'-

To Reproduce

Insert leading blanks into a character field, then do select from DB2 for i Extension.

Expected behavior

Would expect the return statement to include leading blanks and be ' X'

Screenshots

VSC:
select
image
insert
image

STRSQL:
image

Environment

  • OS: Windows 10
  • Extension Version 1.7.0

Other

Thought it might be a setting for the job but couldn't find it so apologies if I'm just blind

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions