Skip to content

Instantly share code, notes, and snippets.

@januszm
Created August 17, 2021 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save januszm/a96f43b9337c5b7899f4085c29a07481 to your computer and use it in GitHub Desktop.
Save januszm/a96f43b9337c5b7899f4085c29a07481 to your computer and use it in GitHub Desktop.
SELECT
TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, COLUMN_DEFAULT
FROM
INFORMATION_SCHEMA.COLUMNS
WHERE
TABLE_NAME='Xxx';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment