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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dts import give sql server cannot obtain a lock resource

Status
Not open for further replies.

shresthaal

Programmer
Jun 8, 2005
62
US
i am trying to copy about 100000 records from one table to another using dts
i am using a query similar to this
select x,y,z
from ddtable
where ddtable.id >= val1 and ddtable.id < val2

gives me sql server cannot obtain a lock resource everytime

exec sp_configure gives

5000 213..... 10000 10000

can anyone explain whats going on
 
TRY ...

Code:
select x,y,z
from ddtable with (NOLOCK)
where ddtable.id >= val1 and ddtable.id < val2

Thanks

J. Kusch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top