I’m not sure why you need a multi-part message.
There should be steps elsewhere in this forum of how to use the SQL adapter. You will have to write an orchestration to call the SQL adapter with a send and receive the result back (use a request/response type of send port).
Then you can create a \”flat file\” schema. Flat files schemas can be either CSV or positional. I’m not sure where instructions are on how to build this type of schema – but it’s probably on the web somewhere (I have also have a video on this topic and the SQL adapter on my website below.)
Then in your orchestration, map the response from SQL to the flat file schema and send it to a flat file send port (or maybe even an FTP send port). Biztalk process userid will have to write access to the output file directory.
Neal Walters
http://Biztalk-Training.com – Learn Biztalk Faster
http://Sharepoint-Training.com – End-User Videos