SELECT COUNT(*) FROM information_schema.routines WHERE routine_type = 'PROCEDURE'
SELECT Count(*) FROM sys.sysobjects WHERE xtype = 'P'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)