MYSQL

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • detecting the table type by sql?

    0 answers - 694 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    This is of course MySQL 5
    SELECT engine FRM information_schema.tables
    WHERE table_schema='' AND table_name='';
    I haven't used MySQL 4
    Maybe this might help
    SHW CREATE TABLE <tbl-name>;
    You should see TYPE=MyISAM or TYPE=BDB or some other engine in the string
    Message
    From: "Marten Lehmann" <lehmann (AT) cnm (DOT) de>
    To: mysql (AT) lists (DOT) mysql.com
    Sent: Tuesday, February 6, 2007 12:54:45 PM (GMT-0500) US/Eastern
    Subject: detecting the table type by sql?
    Hello,
    how can I get the type of a table (MyISAM, InnoDB, Berkeley DB) by a
    given table name with sql?
    Regards
    Marten

Re: detecting the table type by sql?


max 4000 letters.
Your nickname that display:
In order to stop the spam: 7 + 7 =
QUESTION ON "MYSQL"

EMSDN.COM