Database sites are greater for easier maintenance and better tracking.
But static is loved by search engines..
This is a false dichotomy. There is no need to compromise any aspect of SEO because you have a database backed site. True, some database backed sites do suck because they are designed they way they are. But that is completely the fault of the designer. Others are indistinguishable from static sites.