You're welcome.
>Sergey,
>
>>It's better to enclouse string literals in single quotes because it's
>> standard string literal delimiter in SQL Server.
>
>That does the trick. Changing from double to single quotes gives me the expected cursor.
>
>Many thanks,
>Alan
--sb--