Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I was contemplating if the Max DB size supported by SQL server 2008 R2 express edition(10GB) is stored in one of the system tables ? If so, where and how do I query it.

Currently, I query the DB to obtain it's current size and compare with a hard coded value of 10GB to see if it exceeded its upper limit. Was thinking, if I can replace the hard coding with a query to the DB to obtain it's max supported size.

Any suggestions are greatly appreciated.

Thanks.
Posted
Comments
RossMW 29-Jun-15 16:09pm    
I cant imagine Microsoft building in a means of letting you exceed the designed limitation of express. Otherwise they would never sell any of the other versions. Legally I should imagine this would be a no no..

1 solution

Max DB size is hard-coded and you can not query it from one of the system tables...
To be honest I can't even see why you should...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900