select DATEPART(LATEST) format=DATE9.0
from connection to TERAVW
/* dbms=TERADATA, connect options=(USER='1213144@LDAP' PASSWORD=XXXXX TDPID=dwprod2 CONNECTION=GLOBAL
DBSLICEPARM=(ALL,2) MODE=TERADATA) */
( SELECT MAX(SOR_DTM) AS LATEST FROM test1);
Segmentation Violation In Task [ SQL ]
tryotcv+0x7c
trget+0x260
fetch+0x644
sqxextr_get_next+0x27c
next_common+0x1a0
sqxslct_get_next+0xa8
sqxslct_open+0x2c8
sqxslct_init+0x140
sqxexec+0x510
process_sql+0xa58
sqlloop+0x1dc
sqlloop+0x38 -- bridge stub
sassql+0x188
vvtentr+0xf0
_uc_trampoline
What makes you think FAST EXPORT is causing that error? Why would SAS even call FAST EXPORT to return a single number?
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.