Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Inserting records failing everyday

$
0
0
We have one schedule job which dropping and inserting records into table on daily basis. But this job is failing due to "Could not allocate space for object 'dbo.SORT temporary run storage: 143199672664064' in database 'tempdb' because the 'PRIMARY' filegroup is full". I have added couple of tempdb with additional disk space but it's failing due to same reason.Table is inserting from view and it contains million of rows.select * into CONSUMPTION_SUPPLYfrom V_Consumption_SupplyIs there any other way we write the query to eliminate the space issue?Thanks all for your help in advance.

Viewing all articles
Browse latest Browse all 3145

Trending Articles