I have a question about executing the year()
function in TeraData from SAS. For example, when executing the code below, I will get the error message below the codes. Is there a way to execute the year()
function besides using the year function in SAS after the table is created from TeraData?
select * from connection to teradata (
select customer_id
, year(date)
from base.customers a
);
ERROR: Teradata execute: Syntax error: expected something between ',' and the 'year' keyword