14 de março de 2010

Boolean em Sql Server

Usar o tipo Bit

SQL Server doesn’t have a Boolean data type, at least not by that name. To store True/False, Yes/No, and On/Off values, use the bit data type. It accepts only three values: 0, 1, and NULL. (NULL is supported by SQL Server 7.0 and later.)

Sem comentários:

LinkWithin

Related Posts with Thumbnails