Paste this into a new question or an answer at dba.stackexchange.com:
<!-- --> > CREATE TABLE T (ID INT, FOO INT); > GO > > <pre> > ✓ > </pre> <!-- --> > INSERT INTO T VALUES (1,1),(1,2),(1,3); > GO > > <pre> 3 rows affected > </pre> <!-- --> > SELECT * FROM T WHERE ID * 1; > GO > > <pre> > Msg 4145 Level 15 State 1 Line 1 An expression of non-boolean type specified in a context where a condition is expected, near ';'. > </pre> *db<>fiddle [here](https://dbfiddle.uk/?rdbms=sqlserver_2017&fiddle=b162f1b3329ed9bc092ed2a4a4b9c5a3)*
back to fiddle