I need to create a txt file from a SQL SERVER DataBase composed as follows:
Products
OutputQuery1
Racks
OutputQuery2
Products per Rack
OutputQuery3
...
OutputQuery1 is only a value returned from Query1
OutputQuery2 is only a value returned from Query2
OutputQuery3:
each row is composed by the following columns: Id_Prod, Id_Rack, NumProd in the txt file I have to show only the number of product.
This is an example:
Products
3
Racks
2
Products per Rack
5 5 5
4 4 4
Have you some suggestion??
Thnaks!