Click here to Skip to main content
15,888,968 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how we can solve the could not allocate space for object in database because the 'primary' filegroup is full
please help me
Posted
Updated 20-Feb-12 7:30am
v2
Comments
Oshtri Deka 20-Feb-12 7:51am    
I think you should re-tag your question. This sounds as DB problem.

SQL
sp_helpdb ptitsolutions

--to check database and log file size information

SQL
ALTER DATABASE ptitsolutions  SET RECOVERY SIMPLE

As per your own demand if dont wants to make log file
SQL
DBCC SHRINKFILE(DBNAME_log)

ALTER DATABASE DBNAME
MODIFY FILE(NAME = DBNAME_data, MAXSIZE = 500MB);--set size
MODIFY FILE(NAME = DBNAME_data, SIZE = 500MB);--set size
MODIFY FILE(NAME = DBNAME_log, MAXSIZE = 500MB);--set size
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900