To use SAS code on a DBMS table, you need to define a library pointing to the DB schema. While the name of that library is restricted to 8 characters, the schema name in the connection options of the LIBNAME statement can be anything your DBMS allows. In your SAS code, use the SAS library name.
If you do explicit passthrough, you can use any code that is valid in the DBMS.