0

I have a table tbls with a field name containing names of tables.

I'm trying to form a statement to get the number of rows of each of this tables.

Should I use a stored procedure or is there a simpler way to do it?

NotGaeL
  • 8,344
  • 5
  • 40
  • 70

1 Answers1

1

There is a thread that talks about how you can Get record counts for all tables in MySQL database. Using the result, you can constraint the result set to tables specified in the tbls table.

Community
  • 1
  • 1
David Z.
  • 5,621
  • 2
  • 20
  • 13