Click here to Skip to main content
15,902,114 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hey can anyone show me how to set database inuse field to false..
Posted
Comments
SudhirKankal 4-Jun-13 5:22am    
Could you please clarify the need of your request.
Maciej Los 4-Jun-13 5:38am    
Not clear. Please, be more specific and provide more details. Use "Improve question" widget.

1 solution

If you are talking about boolean data types, MS SQL Server does not provides this functionality... ;)
You can use BIT data type to store boolean data.
SQL
SELECT CONVERT(BIT, 'TRUE') AS TRUE, CONVERT(BIT, 'FALSE') AS FALSE
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900