Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. MariaDB [phpipam]> describe locations;
  2. +---------------------------+---------------------------------------------------------------------------------------------------------------------------+------+-----+---------+----------------+
  3. | Field | Type | Null | Key | Default | Extra |
  4. +---------------------------+---------------------------------------------------------------------------------------------------------------------------+------+-----+---------+----------------+
  5. | id | int(11) unsigned | NO | PRI | NULL | auto_increment |
  6. | name | varchar(128) | NO | | | |
  7. | description | text | YES | | NULL | |
  8. | lat | varchar(12) | YES | | NULL | |
  9. | long | varchar(12) | YES | | NULL | |
  10. | address | varchar(128) | YES | | NULL | |
  11.  
  12.  
  13.  
  14. MariaDB [phpipam]> describe locations lat;
  15. +-------+-------------+------+-----+---------+-------+
  16. | Field | Type | Null | Key | Default | Extra |
  17. +-------+-------------+------+-----+---------+-------+
  18. | lat | varchar(12) | YES | | NULL | |
  19. +-------+-------------+------+-----+---------+-------+
  20. 1 row in set (0.00 sec)
  21.  
  22.  
  23. MariaDB [phpipam]> describe locations long;
  24. ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'long' at line 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement