Example: Changing the Session Dateform From ANSIDATE to INTEGERDATE
You need to change the DATEFORM setting for the current session from ANSI session mode to Teradata session mode so you can run a legacy application that does not support ANSI dates. Use the following statement:
SET SESSION DATEFORM = INTEGERDATE;
Example: Changing the Session Dateform from INTEGERDATE to ANSIDATE
To change the DATEFORM setting back to ANSIDATE, use the following statement:
SET SESSION DATEFORM = ANSIDATE;