How do i change the length of multiple variables and datatype of variables from numeric to character in sas teradata passthrough sql. Please check and suggest if the below syntax is correct E.g- proc sql; connect to teradata as tera1 (user=myuser password=mypass server=myserver tpt=yes fastexport=yes); create table mytable as select * from connection to tera1 (select age,entityno ,'fbu1' as put(segid) length=10, trnsid as put(profgrp_id) length=$30.,accno length=20,startdt length=10,enddt length=10 from mytable where age > 15 ); disconnect from tera1; quit; Thanks
... View more