just do it in the BULK INSERT instead
examples
Bulk Insert which will lock the table
BULK INSERT Northwind.dbo.[ORDER Details]
FROM 'f:\orders\lineitem.tbl'
WITH
(
FIELDTERMINATOR = '|',
ROWTERMINATOR = ':\n',
FIRE_TRIGGERS,
TABLOCK --this is it
)
This statement will not lock the table
BULK INSERT Northwind.dbo.[ORDER Details]
FROM 'f:\orders\lineitem.tbl'
WITH
(
FIELDTERMINATOR = '|',
ROWTERMINATOR = ':\n',
FIRE_TRIGGERS
)
BCP with tablock by using the -h (for hint) switch and "TABLOCK"
bcp pubs..authors2 in authors.txt -c -t, -Sservername -Usa -Ppass -h "TABLOCK"
you could do a bulk insert from within SSIS or DTS and to the table lock there
for example in DTS under transform data task look at the options tab, check use fast load and table lock
SSIS has something similar