Changed query to only ask for one field in case the table schema has been changed by the database driver, such as sqlsrv.