Skip to content

Instantly share code, notes, and snippets.

@januszm
Created August 17, 2021 14:22
Show Gist options
  • 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