pub fn normalize_dbms_metadata_ddl(text: &str) -> StringExpand description
Normalize DDL text emitted by DBMS_METADATA.GET_DDL so equality checks
across runs ignore cosmetic differences:
- Trim leading + trailing whitespace.
- Collapse runs of whitespace inside the body to a single space (newlines are preserved as-is so the result remains readable).
- Strip the trailing
/SQL*Plus terminator if present.