Hello Rod,
Thank you for the comments, I see what you were doing! You tried to generate the stored procedure for a table that has no Identity defined and as you might have noticed in my description about the stored procedure "Script asssumes that it has a primary key with auto identity defined".
If you try generating the stored procedure for a table that has Identity defined for the primary key, you will be able to generate a complete stored procedure script with BEGIN and END.
Thanking you for your suggestions and I would incorporate the logic to handle tables without IDENTITY column.
Thanks
Prasad
Prasad Bhogadi
www.inforaise.com