You might also want to search the forums for a post I made about 6 months ago. I posted the source code for a little app that converts the generated SQL and all of its parameters to a standard SQL statement that can be executed in Management Studio.