Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Using MAXSIZE to manage less available memory for multiple database in server

$
0
0

I have only 1 gb space in server.

And i have to keep 2 database there. 

1 want to specify 700 mb to DATABASE1 and remaingin 300MB to DATABASE2.

I used the following code 

ALTER DATABASE saurav_gautam_mashareqdb
MODIFY FILE
(
    NAME=N'saurav_gautam_mashareqdb',
    MAXSIZE=700MB
)

Now i would like to know what this code will do.

Will it stop storing data after the size reaches to 700mb? (that is what i want)

Please help


Viewing all articles
Browse latest Browse all 8428

Trending Articles



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