Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Bit/Boolean Field Problem

Author  Topic 

MrIxi
Starting Member

5 Posts

Posted - 2008-04-18 : 12:43:51
Greetings,

Being fairly new to SQL Server, I created a new field with the data type 'bit' so I can store the equivalent of a yes/no response (0 or 1).

When I try to enter either a 0 or 1 into the field via MS SQL Server Management Studio Express table view, I get

"String not recognized as valid Boolean"

I'd appreciate if someone would let me know how I 'noobed' this up.

Thanks very much.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-04-18 : 12:52:03
Does that view require you to enter True/False (but it would be stored as 0/1 behind the scenes)?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

MrIxi
Starting Member

5 Posts

Posted - 2008-04-18 : 13:21:58
Brilliant! Thank you.
Go to Top of Page
   

- Advertisement -