|
Hello i i have a data base that is used for an application which state that there is no space available. I would like to increase the size limit for this data base. how can I accomplish this, and what should I check before I do so?
(comments are locked)
|
|
Start with by checking the logical names and attributes of the datafile and log file associated with your database, use sp_helpfile stored procedure like these:
You should be able to see the size of your data and log files. If you dont have space on the disk make sure you free up some space or move your files to a bigger disk space. But if the autogrowth is not turned on and the data is full you can go to Studio Management and right click on the database in question, select properties then on the left side choose Files. Then you can change the database size accordingly. Or you can use the following ALTER DATABASE statement by changing the Database name, your data and log file along with your new size.
Dont depend on autogrow, make sure you plan the size of your databases ahead. Also if your databases are in FULL Recovery mode, make sure to properly maintain the transaction log. Good Luck!
(comments are locked)
|
|
You can do this either using Enterprise Manager or T-SQL. Both are explained in MSDN. Enterprise Manager: T-SQL (use ALTER DATABASE):
(comments are locked)
|

