Updating the sql statement to create the definition property table.