Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VB.NET: What is the equivalent of the SQL Server bit datatype?

I have a field in a SQL Server table that is of type bit.

When I try to use a Boolean in VB.NET when passing parameters to a stored procedure, there are never any matches. I have also tried passing an integer to the stored procedure and that does not work either.

like image 479
WACM161 Avatar asked Dec 09 '22 18:12

WACM161


1 Answers

have a look at this table:

http://msdn.microsoft.com/en-us/library/ms131092.aspx

like image 113
Tony The Lion Avatar answered Dec 29 '22 01:12

Tony The Lion