Well, like anything else, this can be done but the reason may change the approach. You are going to need to know the number of parameters and the sprocs. You can always query server for the sprocs and create a class that parses this information. You would probably want to look at the sysobjects table. It would be something like this (I'm just shootin from the hip here, so you may need to play with this a bit):Select * from sysobjects where type = 'P' and category = 0
You can then start digging a little deeper to get the parms, etc. and build a logical command with the parameters, etc.