如何在查询数据库时把bit转换为int类型

SELECT bit_column+0 as bit_column from *****

对应bit列字段加上0就可以了
posted @ 2022-01-06 09:23  cup_leo  阅读(387)  评论(0编辑  收藏  举报