Because the maximum length of a SAS name is 32 characters, DBMS table names that are referenced with the LIBNAME engine must follow SAS naming rules. A DBMS table name that is longer than 32 characters cannot be referenced using the LIBNAME engine.
In this situation, you can do any of the following:
proc sql;
connect to odbc(dsn=mydsn user=xxxx pwd=yyy);
select * from connection to odbc
(select * from my_table_with_a_very_Very_Very_Long_name);
disconnect from odbc;
quit;