Hi all How can i write the output of a quey to text file ??? Is there any utilityfor that ?? ThanksShibu MS Sql Server LazyDBA home page