I am getting below error while creating a table on Redshift using (datastep) Redshift ODBC connection.
ERROR: The character variable VAR1 has too long a value for the RSCONN library.
my connection statement and datastep:
libname rsconn odbc datasrc='XXXXXXXXXX' user="&user." pwd="&rspwd." schema=XXXXX;
data rsconn.table1;
set work.table2(keep=var1);
run;
The length of the var1 is $10.
any help in resolving this issue is appreciated