I need to write a stored procedure to output some data to a text file which (hopefully) will not be too much of a problem. The question I have is do you have to use strictly 'C' language code in the procedure or can 'C++' code be used. I have not used either in a number of years, so would only like to concentrate on what is necessary to write the SP. Any info would be greatly appreciated!