Espero que te entení,
intenta así:
Código SQL:
Ver originalSELECT C.name, A.*
FROM sys.TABLES T
INNER JOIN sys.COLUMNS C ON T.OBJECT_ID = C.OBJECT_ID
INNER JOIN sys.types A ON C.system_type_id = A.system_type_id AND C.user_type_id=A.user_type_id
WHERE T.NAME = 'prueba'