Hi,
I am very new to this stuff and would greatly appreciate some help unraveling the response to this query in VB.Net or C#:
"SELECT table_schema , SUM( data_length + index_length) / 1024 / 1024 " & _
"""Data Base Size in MB"" FROM information_schema.TABLES GROUP BY table_schema ;"
The query does what I want - I can see the correct response in the Workbench. The Workbench response shows two columns: table_schema and Sum(data_length etc..
I've done something which I think is similar using a DataTable (another creature I am new to) but I have been unable to modify that code to handle this situation.
So ... if someone could help me out I'd appreciate it.
Bob
I am very new to this stuff and would greatly appreciate some help unraveling the response to this query in VB.Net or C#:
"SELECT table_schema , SUM( data_length + index_length) / 1024 / 1024 " & _
"""Data Base Size in MB"" FROM information_schema.TABLES GROUP BY table_schema ;"
The query does what I want - I can see the correct response in the Workbench. The Workbench response shows two columns: table_schema and Sum(data_length etc..
I've done something which I think is similar using a DataTable (another creature I am new to) but I have been unable to modify that code to handle this situation.
So ... if someone could help me out I'd appreciate it.
Bob