I'd like to take the results of a stored proc and place into a text file. I don't want a straight export. The data that gets placed into the text file will be based on some conditions and formatted in a certain way. Any way to write to a text file from a stored procedure?