Answers for "get tables sql"

SQL
11

get the list of all tables in sql server

SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_CATALOG='YOUR_Database_name'
Posted by: Guest on May-19-2020
0

get tables in database sql

SELECT
  *
FROM
  INFORMATION_SCHEMA.TABLES;
Posted by: Guest on April-15-2021
5

how to get all table names in sql query

BY LOVE SINGH

SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_CATALOG='YOUR_Database_name'
Posted by: Guest on May-19-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language