I tried running this select query but it gave me the following error. It also gave me the same error when i tried it without nolock. The database is read only, not sure if that makes a difference.
select * from abc(nolock);
Server: Msg 601, Level 12, State 3, Line 1
Could not continue scan with NOLOCK due to data movement.