Are you creating a new table in the remote database? Or appending data to an existing table?
Usually PROC APPEND is the easiest/fastest way.
Create a libref that points to the schema in the remote database and then use PROC APPEND to copy the data.
If the target table does not exist then the FORCE option will tell SAS to create the table first.
libname mydb odbc ..... ;
proc append base=mydb.target_table data=mylib.mydataset force;
run;