• with small correction...

    declare @lstr varchar(200)

    declare @word table (tableName varchar (50))

    set @lstr = 'select top 1 name from sysobjects'

    insert @word

    exec(@lstr)

    select * from @word

    🙂