Created
October 4, 2012 20:16
-
-
Save hlodwig/3836137 to your computer and use it in GitHub Desktop.
Tipos de dato de las columnas de una BD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
DISTINCT | |
TIPO.name | |
, TABLA.name | |
, COL.name | |
FROM OKW.SYS.columns COL | |
INNER JOIN OKW.SYS.tables TABLA ON COL.object_id = TABLA.object_id | |
INNER JOIN OKW.SYS.types TIPO ON COL.system_type_id = TIPO.system_type_id | |
WHERE | |
TIPO.name NOT IN ('sysname') | |
AND | |
TABLA.name NOT IN ('sysdiagrams') | |
ORDER BY TIPO.name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment