Member Login:
e-mail:
password:
Register
Forgot Password
Site FAQ
Home
>
IT Answers
>
Development
> i want to change the true bits to false and vice versa
Sam53
5 pts.
i want to change the true bits to false and vice versa
BIT data type
,
SQL Server 2000
i have a table where i have true and false bits..i need to replace the true bits to false and vise versa
Software/Hardware used:
ASKED:
March 24, 2008 6:06 AM
UPDATED:
May 14, 2008 9:01 AM
Discuss
 
Add to Watchlist
RELATED QUESTIONS
ACL configuration
upgrade SQL Server 2008 32-bit to 64-bit
(provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53
Exchange 2010 Cross Forest Migration
Question on achieving ultimate network security
Answer Wiki:
You'll need to do this during a single UPDATE query. <pre>UPDATE Table SET Bitcolumn = CASE WHEN BitColumn = 0 THEN 1 ELSE 0 END</pre>
You'll need to do this during a single UPDATE query. <pre>UPDATE Table SET Bitcolumn = CASE WHEN BitColumn = 0 THEN 1 ELSE 0 END</pre>
Last Wiki Answer Submitted:
May 14, 2008 9:01 am
by
Denny Cherry
64,520 pts.
All Answer Wiki Contributors:
Denny Cherry
64,520 pts.
To see all answers submitted to the Answer Wiki:
View Answer History
.
Please complete the following information:
REGISTER / LOG-IN TO ANSWER QUESTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Submit your e-mail address below to continue
E-mail: 
E-mail:
Company:
Handle:
Password:
Forgot Password?
Create Handle:
Your handle identifies you in IT Answers. Max 30 char.
Create Password:
Confirm Password:
Yes, I'd like to receive the IT Knowledge Exchange Community Newsletter
Yes, I agree to the
Terms and Conditions.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
hidden modal window
RSS - Discussions
Help
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Please complete the following information:
REGISTER / LOG-IN TO DISCUSS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Submit your e-mail address below to continue
E-mail: 
E-mail:
Company:
Handle:
Password:
Forgot Password?
Create Handle:
Your handle identifies you in IT Answers. Max 30 char.
Create Password:
Confirm Password:
Yes, I'd like to receive the IT Knowledge Exchange Community Newsletter
Yes, I agree to the
Terms and Conditions.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
hidden modal window
POSTED:
May 14, 2008 9:01 AM (GMT)
Check out my SQL Server blog “
SQL Server with Mr Denny
” for more SQL Server information.
Denny Cherry
64,520 pts.
Ask a Question
Question Title:
(150 char. limit.)
Question:
(Please be specific.)
Tags:
(Separate each tag with a comma.)
What is a Tag?
Browse IT Answers by Topic
AS/400
Big Data
Business Intelligence
Channel
CIO
Cloud Computing
Consumerization
CRM
Database
DataCenter
Development
Exchange
Linux
Lotus Domino
Microsoft Windows
Mobile
Networking
Oracle
SAP
Security
SQL Server
Storage
Virtualization
VoIP
Windows Server
>>
VIEW ALL TAGS
Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.