Charlatat Posted March 1, 2007 Share Posted March 1, 2007 Trying to update a field that has the bit datatype. From various documentation, I've tried using the value 1 for this. However, its showing up as -1 when I view the database. Using this statement:INSERT INTO DB.dbo.table ([Contact]) VALUES (1)Am I missing something, or is this expected behavior? Thanks Link to comment Share on other sites More sharing options...
Charlatat Posted March 2, 2007 Author Share Posted March 2, 2007 Anyone? Link to comment Share on other sites More sharing options...
MrAdam Posted March 4, 2007 Share Posted March 4, 2007 for a " 1/0 " | " true/false " sort of field, you could / should use "bool" data type - i don't know if you are already?What are the squared brackets round "Contact" for ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now