Convert SQL commands to generated wrappers