title: SQL Server: Select Top 0?
body: <p>We just came across this in an old production stored proc (there is a lot more going on in here, but this is in one leg of its logic). Why would someone ever select top 0 rows from a table?  Is this some sort of SQL hack or trick I am not familiar with?</p>