MySQL Forums
Forum List  »  Performance

Re: select count(distinct)
Posted by: Roland Bouman
Date: July 07, 2005 06:13AM

suppose you're database is already the current database, you could do

select engine
from information_schema.tables
where table_schema = database()
and table_name = '<table_name>'

Options: ReplyQuote


Subject
Views
Written By
Posted
97331
July 05, 2005 07:23PM
28762
July 05, 2005 07:37PM
22391
July 06, 2005 05:44AM
Re: select count(distinct)
19290
July 07, 2005 06:13AM
17263
July 07, 2005 09:11AM
17307
July 07, 2005 10:48AM
9998
July 07, 2005 10:51AM
8824
July 08, 2005 05:27AM
9928
July 08, 2005 05:48AM
8117
August 19, 2005 05:22AM
8982
July 06, 2005 02:11AM
8310
July 06, 2005 05:33AM
7335
July 06, 2005 06:13PM
7277
July 07, 2005 05:14AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.