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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Satish BSr. MIS executive Database ManagementAuthor Commented:
Actually i need to run the query what is solution in this situation?
0
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SQL

From novice to tech pro — start learning today.