further refinement to check if rdbms or not