Implemented PARAMETERS queries, some check are still missing