Blog Pages

Boolean 'NOT' in SQL

DECLARE @Bit bit = 0
SET @Bit = ~@Bit 
SELECT @Bit --1

No comments:

Post a Comment