Is there a way to get stored procedures from a SQL Server 2005 Express database using C#? I would like to export all of this data in the same manner that you can script it o
I think this is what you're really looking for:
select SPECIFIC_NAME,ROUTINE_DEFINITION from information_schema.routines
There are a ton of other useful columns in there too...