Skip to content

Values of type bit are decoded as strings instead of booleans in Microsoft SQL server #666

@lovasoa

Description

@lovasoa

@lovasoa However, a new issue has arisen: the value of the bit type is incorrect.

select top 2 * from [ZrAdmin].[dbo].[sys_role];;
select 'test测试' as LogLevel;
select CAST('test测试' as varchar(100)) as LogLevel;

select CAST(1 as bit) as menu_check_strictly;
select CAST(0 as bit) as menu_check_strictly;

image
image
image
image

Originally posted by @BlueHtml in #662 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions