work in process
IM008
Invalid cursor state
SET NOCOUNT ON
deque