Working PKDF SQL and DB