look at this
http://www.sommarskog.se/share_data.htmlAlso, if you can make it a function instead of a SP, you can return a table variable.
declare @tablename sysname
declare @colname sysname
select top 1 @tablename = tablename, @colname = ColumnName FROM dbo.TestTableList()
select @tablename, @colname