That worked perfectly. Thanks.
One interesting point that I learned in testing it - Teradata insists that a DDL statement must be the last statement in it's transaction, so I had to create the view, which remains as a permanent view in the DB and then run the update as a separate submission...
I am translating an Oracle SQL query to Teradata. The task is to update 2 columns in table A, one with a constant, the other with the max value for that column in table B, where the ID number matches the ID number in table A.
This is the Teradata code:
update tableA
from tableB...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.