MySql statistical method
SELECT count (*) FROM information_schema.tables WHERE TABLE_SCHEMA = 'library name'
SqlServer statistical method
select count (*) as TableCount from sysobjects where type = 'u' and status> = 0
SELECT count (*) FROM information_schema.tables WHERE TABLE_SCHEMA = 'library name'
SqlServer statistical method
select count (*) as TableCount from sysobjects where type = 'u' and status> = 0