I have a proc sql code, creating table as below:
proc sql; create table aa as
select distinct
id, question, answers;from stg.bag ;
quit;
proc print data=work.aa;
var
id question answers; run;
I have warning when I run this query in SAS data integration, when I run this query in Enterprise Guide I don't have. Warning is:
WARNING: Data too long for column "question"; truncated to 127 characters to fit.
I put length=2000 next to question at proc sql code, but still giving me error. My confusion is, should I put the length in proc sql or proc print code. The warning is after proc print code.