sql server management studio how to export database code example Example: how to download data with sql select * from data;