Using the SQL below one can list SQL Server tables

Use testDB
SELECT table_name FROM INFORMATION_SCHEMA.TABLES;

table_name
———–
ExceptionLog
Employee

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.