• This might help: http://geekswithblogs.net/pakistan/archive/2005/04/19/36884.aspx

    You need to SELECT the data from the table, but the client has to deal with the stream.