Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to create index

Status
Not open for further replies.

fogal

Technical User
Aug 20, 2001
87
US
I get the following error message when trying to create a new unique primary that increments. Total records = 5492520

What does the erroe message Primary filegroup full mean???
What should I do??

'xyz' table
- Unable to create index 'PK_xyz'.
ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space for object '(SYSTEM table id: -5492520)' in database 'a123' because the 'PRIMARY' filegroup is full.
[Microsoft][ODBC SQL Server Driver][SQL Server]Could not create constraint. See previous errors.
[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.
 
It means that the file that contains the database is full.
If you have a single mdf file and it is set to grow unconditionally it means that you disk is full.

Try
sp_helpdb 'mydbname'

It will tell you the filename.

======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top