I recommend checking out Enterprise Library 1.0 from Microsoft. Just search for "Enterprise Library" in MSDN, you'll find the download link.

It contains a Data Acccess Application Block, which is DB independent. And I think it contains a class named "CommandWrapper" for creating DB independent SP structure.

Regards,
Mert Sakarya
mertsakarya@hotmail.com