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