Skip to content

Instantly share code, notes, and snippets.

@rdeavila
Created December 6, 2013 11:44
Show Gist options
  • Save rdeavila/7822464 to your computer and use it in GitHub Desktop.
Save rdeavila/7822464 to your computer and use it in GitHub Desktop.
SQL Server: Lista todas as colunas VARCHAR de um banco de dados.
SELECT
*
FROM
INFORMATION_SCHEMA.COLUMNS
WHERE
DATA_TYPE = 'VARCHAR'
-- Fonte: http://stackoverflow.com/a/2723185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment