Error executing SQL

select * from WebCategoryAttributes as ca where ca.category='00f600070003' and ca.attribute=7
DB Error: unknown error