sql server export data as sql commands code example Example: how to download data with sql select * from data;