Thanks for the reply.
The stored proc works from outside of asp.net (command line, studio, another
non-asp.net app).
No warnings/errors when executed from the studio.
Could you elaborate on "... calling the proc with the wrong type..." ?
Again, what is weird is that the call succeeds - i.e. the target record is
deleted from the database.
Thanks,
Bogdan
> Can you execute the stored proc from SQL Server Studio manager and observe
> the result . If it is -1 then you need to post the stored proc code. Else
[quoted text clipped - 16 lines]
>> Thanks,
>> Bogdan
OHM ( One Handed Man ) - 27 Apr 2008 23:43 GMT
It may be simply that the server is not returnning the number of rows
affected, which is the value you actually need. More than likely its your
stored proc which is to blame.
> Thanks for the reply.
>
[quoted text clipped - 30 lines]
>>> Thanks,
>>> Bogdan
bogdan - 28 Apr 2008 14:49 GMT
You were absolutely correct. There was SET NOCOUNT ON at the top of the
stored proc.
Thanks,
Bogdan
> It may be simply that the server is not returnning the number of rows
> affected, which is the value you actually need. More than likely its your
[quoted text clipped - 34 lines]
>>>> Thanks,
>>>> Bogdan