sql中的布尔数据类型 [英] boolean data type in sql

查看:350
本文介绍了sql中的布尔数据类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

字段中是否有任何数据类型具有复选框,并且适合于数据的真/假类型?

is there any data type for field that will have a check box and will be suitable for the true/false type of data?

推荐答案

在SQL Server中boolean值由bit类型表示.

大多数语言的数据访问层都会自动为您设置和转换它们,以便您可以通过数据绑定将它们分配给复选框.
In SQL Server boolean values are represented by the bit type.

The data access layer for most languages automatically sets up and converts these for you so you can assign them to checkboxes via data binding.


是的. [ ^ ](大约向下一半)
Yes. Bit[^] (about half way down)


这篇关于sql中的布尔数据类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆