Question : export the sas dataset to create a table in my sql database

Hi EE,

Can anyone please help me how to export the sas dataset and dump the contents into a new table in MY sql database.


Answer : export the sas dataset to create a table in my sql database

assuming the libref mysql already contains your connection definition to the mysql database, and your table is found in libref srcref, it's simply
data mysql.target_table_name;
  set srcref.src_table_name;
run;

Random Solutions  
 
programming4us programming4us