Author |
Topic |
Steel_m
Starting Member
25 Posts |
Posted - 2008-12-19 : 12:35:08
|
Hi all, I keep getting prompted with a 'primary table full' message when importing files from ms access to sqlserver. The file growth is not restricted and i have space availabe on the drive. Please help me fix this |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2008-12-19 : 12:37:06
|
It probably couldn't expand fast enough for your import. Manually grow your file through the GUI or via ALTER DATABASE command. Here's a recent script that I used to grow a file manually:DECLARE @sql nvarchar(500), @size intSET @size = 68863WHILE @size <= 80063BEGIN SET @sql = 'ALTER DATABASE dbName MODIFY FILE (NAME = dbName_Data, SIZE = ' + CONVERT(varchar(5), @size) + ' MB)' SET @size = @size + 100 WAITFOR DELAY '00:00:05' EXEC (@sql)END Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/Subscribe to my blog |
|
|
Steel_m
Starting Member
25 Posts |
Posted - 2009-01-02 : 09:53:50
|
Sorry for the late reponse. I tried ur solution but its saying I have a license limit of 2048 mb per database. DO you know how i can get around this ? |
|
|
elancaster
A very urgent SQL Yakette
1208 Posts |
Posted - 2009-01-02 : 10:10:15
|
what version / edition of sql server are you using? MSDE? if so, it has a 2gb limit and that's thatEm |
|
|
Steel_m
Starting Member
25 Posts |
Posted - 2009-01-02 : 16:24:42
|
Im using sql server 2003 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
Steel_m
Starting Member
25 Posts |
Posted - 2009-01-02 : 16:47:11
|
my bad. Its sql server 2000 8.00.760 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
Steel_m
Starting Member
25 Posts |
Posted - 2009-01-07 : 09:11:13
|
Its Microsoft SQL 2000 - 8.00.760 (Intel X86) I am importing the tables from ms access |
|
|
elancaster
A very urgent SQL Yakette
1208 Posts |
Posted - 2009-01-07 : 09:13:18
|
that is not the entire output of select @@version. try againEm |
|
|
Steel_m
Starting Member
25 Posts |
Posted - 2009-01-07 : 13:30:18
|
It is Microsoft SQL 2000 - 8.00.760 (Intel X86) Dec 17 2002 14:22:05 Copyright (c) 1988-2003 Microsoft Corporation Desktop Engine on Windows NT 5.0 (Build 2195: Service Pack 4) |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
Steel_m
Starting Member
25 Posts |
Posted - 2009-01-07 : 15:03:35
|
thanks for the advice. I actually will need to add more data. I guess i will have to make the system admin aware |
|
|
|