Update Primary Key query to support schema name.