- SQL can access non-IBMi databases. (with appropriate driver installed)As can RPG with OA handler...
- SQL can read only the needed fields from a record (instead of all)As can RPG with the right logical
- SQL doesn't get "level check" errors.Neither does RPG if you access only via logicals whose formats don't
- SQL can do lookups on fields that DON'T have an index built over themWell, technically, RPG could do that the same way SQL does, start at