Advertisement
indraginanjar

all_field.sql

Dec 13th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.22 KB | None | 0 0
  1. select table_schema,
  2.     table_name,
  3.     column_name,
  4.     column_type,
  5.     is_nullable,
  6.     column_comment
  7. from information_schema.columns
  8. where table_schema = '<database/schema name>'
  9. order by table_schema, table_name, ordinal_position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement