Skip to content

Instantly share code, notes, and snippets.

@thiago122
Created March 9, 2016 17:16
Show Gist options
  • Save thiago122/19fb1a884c90d23d6288 to your computer and use it in GitHub Desktop.
Save thiago122/19fb1a884c90d23d6288 to your computer and use it in GitHub Desktop.
Query para exibir as definições dos campos da tabela
SELECT
*
FROM information_schema.table_constraints
WHERE table_name= 'table_name'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment