Answers for "my sql server select all tables names in schema"

SQL
1

mssql get all table names

SELECT name from sysobjects where type = 'U'
Posted by: Guest on August-24-2021
0

All SQL Server Tables in a Schema

DECLARE @schema SYSNAME;
SET @schema = N'some_schema';

SELECT [table] = s.name + N'.' + t.name
  FROM sys.tables AS t
  INNER JOIN sys.schemas AS s
  ON t.[schema_id] = s.[schema_id]
  WHERE s.name = @schema;
Posted by: Guest on July-19-2021

Code answers related to "my sql server select all tables names in schema"

Code answers related to "SQL"

Browse Popular Code Answers by Language