If you want to manually create the list and paste it into a text or excel file, you can run the following command in Query Analyzer and cut/paste the results.
SELECT name
FROM sysobjects
WHERE (xtype = 'U')
ORDER BY name
If you want to automate the process you may need to create a DTS package where your Source is the DB you want the table names from. Then you Target would be set to an excel worksheet or text file. Then you would use an "Transform Data Task" with the same code as listed above.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.