What does the \"&\" mean here:
select pt.TrTp, sum(pt.TrTp) from ProdTr pt where TransSt & 16 <> 16 // this is the row that i don´t understand.. g
It's bitwise AND. Please refer to this MSDN Article.