Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. DESCRIBE `tablename`;
  2. # returns the following information:
  3. # Field
  4. # Type
  5. # Null
  6. # Key
  7. # Default
  8. # Extra
  9.  
  10. # if you need the Comment as well:
  11.  
  12. SHOW FULL COLUMNS FROM `tablename`;
  13. # returns the following information:
  14. # Field
  15. # Type
  16. # Collation
  17. # Null
  18. # Key
  19. # Default
  20. # Extra
  21. # Privileges
  22. # Comment
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement