mysql - Show Full Tables throughs error -


i'm using mysql database server.

i'm using query fetch table records database.

show full tables in dbname table_type = 'base table' ;

and works fine on servers on rest of servers troughs error.

error

you have error in sql syntax;  check manual corresponds mysql      server version right syntax use near  'where table_type = 'base table'' @ line 1 

note:-we can using information_schema.tables.but doesn't have access on information_schema.tables.

from http://dev.mysql.com/doc/refman/5.0/en/show-tables.html

"before mysql 5.0.1, output show tables contains single column of table names. beginning mysql 5.0.1, statement lists views in database. of mysql 5.0.2, full modifier supported such show full tables displays second output column. values second column base table table , view view."

almost hitting old mysql version in servers query not working, may have modify query factor tables 1 field available.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -