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