Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Help Needed to Unravel a Query Response (3 replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>