Link to home
Create AccountLog in
Avatar of JulieGrace
JulieGraceFlag for United States of America

asked on

NO Lock SQL Server 2000 DTS in the Execute Task

Can  a "No Lock" be added to a T-SQL statement inside a DTS package where it is just an executable not a transformation task?
Avatar of JestersGrind
JestersGrind
Flag of United States of America image

You can use NOLOCK in a execute SQL task.  

Greg


Avatar of JulieGrace

ASKER

How would it read in the following T-SQL script inside the task container?

For example:

Select DATE_ON_FILE from Daily_run_count a
where 14<(select count(*) from Daily_run_count b
where a.system=b.system and a.DATE_ON_FILE <b.DATE_ON_FILE
and a.status=b.status)
and a.system='Claims_Detail'
and a.status='Success'
ASKER CERTIFIED SOLUTION
Avatar of JestersGrind
JestersGrind
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer