Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sql Statement to know Data Size

Status
Not open for further replies.

RemingtonSteel

Programmer
Jul 14, 2006
65
GB
Hello!

Can somebody help me get a SQL statement to get the size of a table and the whole database? I am using SQL 2005.

Thanks.
Gene
 
You should post this question in a different forum. SQL here is specific to FoxPro and the solution for FP may be different than the solution you need.

mmerlinn


"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Steven Raymond
 
Gene,

The answer depends on which database back-end you are using. In most cases, the information you are looking for can be obtained from metadata (something like sysobjects in SQL Server, for example). But the details vary with the back-end.

So, in addition to Mmerlinn's point about it not being a VFP question, you really need to post it in a forum for your specific back end.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top