I did place it under the General.... You can find it here:http://www.sql-server-performance.com/forum/topic.asp?TOPIC_ID=2321
Mark Could you please move the post to General Developer forum by editing your reply. Thanks. _________ Satya SKJ Moderator SQL-Server-Performance.Com
Call your proc as follows. note ''P'' passed you may even use Replace function to do this. ReturnRows 'select * from sysobjects where type = ''P'' ' , 3, 20 , 'id', ' name desc'