how to get a list of all tables in all database on a single server

  • how to get a list of all tables in all database on a single server

    I would appreciate your help

  • sp_msforeachdb 'SELECT ''?'' AS db_name, name as table_name from ?..sysobjects where xtype = ''U'' order by name asc'

    Try that...

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply