keycloak-scim/testsuite/performance/db-failover/concat.sql
2017-10-26 15:27:57 +02:00

3 lines
208 B
SQL

SELECT CONCAT(
'SELECT "', table_name, '" AS table_name, COUNT(*) AS exact_row_count FROM `', table_schema, '`.`', table_name, '` UNION '
) FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = 'keycloak';