Could not allocate space for object 'dbo.ABC_XYZ_XYZ'.'AB__ABC_XYZ__XYZ' in database 'ABC' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
- Login to SQL Server Management studio with sa user.
- Expand databases tab.
- Right click on database in question and click on Properties.
- Go to Files tab.
- Click on Browse button for Autogrowth option.
- Increase size as per your requirement in Maximum file size → Restrict File Growth option.