Given the following:
Job Description Name Salary Amount
Programmer Smithson, John 55, 000
Salesman Germain, Frank 75, 000
Carpenter Johnson, Mark 40, 000
After switching over to ANSI mode, an error was generated with the following statement:
SELECT CAST(Name AS CHAR(5))
What caused the error?
- In Release 12 ofTeradata, ANSI mode has been eliminated.
- In ANSI mode, the CAST function can only be completed in the WHERE clause.
- In ANSI mode, the CAST function does not permit truncation ofnonpad characters.
- In ANSI mode, the TRIM function should have been used to truncate character strings.
Reveal Solution
Next Question