reject RETRIEVE on tables w/o a primary key (like a view)
print SQL upon SQLSyntaxErrorException