USE AdventureWorks2008 GO SELECT t.name, t1.name, t.name, t1.name, c.name, c.max_length, c.precision, c.collation_name FROM sys.TABLES t JOIN sys.COLUMNS c ON t.object_id = c.object_id JOIN sys.types t1 ON c.user_type_id = t1.user_type_id WHERE t.name = 'Employee'
No comments:
Post a Comment