Fixing robustness in Teradata