Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Changing the value of a binary field.

$
0
0

I need to have something like : UPDATE Mytable Set MybinaryField= not(MybinaryField)

I cant get it to work as not is used only in the where clause. Is there a simple way to do this without accessing the database twice? Thanks.


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>