The old rule of thumb was, "Online, go for readability. Batch, go for speed." This almost always translates into, "Online, use 'if' or 'case'. Batch, use Boolean."<p>In the first case, maintenance programmers will thank you. In the second, users processing millions of records will thank you.