Custom result set layout for end user

Sometimes you asked to view your query result in an away that customers need to provide for example for another system that will handle it, once I asked to provide some result in CSV file that will be displayed in a specific order. They asked to get data like this 1

CustomView.sql
 
 
 
 
 
(0)
268 times
Add to favorites
Databases
7/13/2014
E-mail Twitter del.icio.us Digg Facebook