Inserting nothing takes a long time
- From: Hennie7863 <hdenooijer@xxxxxxxxxxx>
- Date: Thu, 20 Mar 2008 05:32:25 -0700 (PDT)
Hi,
I've a strange problem with a INSERT query. It's taking a long time to
execute. The format is like this :
INSERT INTO table1
SELECT ..
FROM table2
Executing the SELECT .. FROM table2 is taking 30 seconds. The result
is nothing: no records are selected.
When i include the INSERT part it will take 12 hours to complete
INSERT INTO table1
SELECT ..
FROM table2
There's is an index on the table and when i delete it, it gives still
the problem.
Keh?
Greetz,
Hennie
.
- Follow-Ups:
- Re: Inserting nothing takes a long time
- From: B D Jensen
- Re: Inserting nothing takes a long time
- Prev by Date: Re: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
- Next by Date: SQL2005 performance problem
- Previous by thread: The combination of Dataphor and Sql Server resumes development
- Next by thread: Re: Inserting nothing takes a long time
- Index(es):
Relevant Pages
|