Pages

Men

rh

7/07/2012

How to Find Out the List Schema Name and Table Name for the Database?

We can use following script:
SELECT '['+SCHEMA_NAME(schema_id)+'].['+name+']' AS SchemaTable
FROM sys.tables

No comments :

Post a Comment