Getting error of insufficient disk space in filegroup 'PRIMARY' in sql server 2012 express version

hi
i got error while running the query in sql server 2012 express version, below is full description of that error.

Could not allocate a new page for database 'Swadhaar_JLG' because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
Satish BSr. MIS executive Database ManagementAsked:
Who is Participating?
 
Deepak ChauhanSQL Server DBACommented:
You can create new database and move some data from this database to new database. Otherwise you will have to take backup of this database and restore it on another Licensed version.
1
 
Deepak ChauhanSQL Server DBACommented:
Express version is limited up to 10GB of database size.

If this size limit not reached for your database Please check the database file property, if there is limited file growth set.

1. Check the datafile growth limit. you can check it from database property > click on File > check autogrowth setting.
2. Check the disk space where file exists physically.
0
 
Satish BSr. MIS executive Database ManagementAuthor Commented:
Please check screenshot which i attached. also have 21 gb free in C drive.
Error.png
0
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
Deepak ChauhanSQL Server DBACommented:
Screen shot showing size 10240 MB  so it means 10 GB limit reached.

10240 / 1024 = 10GB.  -- this is the limitation of Express edition and file will not grow more.
0
 
Satish BSr. MIS executive Database ManagementAuthor Commented:
Actually i need to run the query what is solution in this situation?
0
 
Pawan KumarDatabase ExpertCommented:
The best solution in this case is that you have to move the database to a full version of SQL.

>> Actually i need to run the query what is solution in this situation?
Which query you are talking about ?
1
 
Satish BSr. MIS executive Database ManagementAuthor Commented:
Thanks Deepak your valuable time.
0
 
Deepak ChauhanSQL Server DBACommented:
Thanks Satish..... happy to assist.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.