I have a weird problem - I wonder if someone could spare a second for me. I have posted this exact question in the SQL Server forum but was advised to post it here instead.
I am running a DELETE statement inside a T-SQL Stored Procedure (for my C# .NET application). It's as simple as they get.
Expand|Select|Wrap|Line Numbers
- DELETE
- FROM groupPromotionRequests
- WHERE groupPromotionRequestId = @requestId;
Expand|Select|Wrap|Line Numbers
- SET NOCOUNT OFF;
I am very familiar with this setup and have used it all over my application, but for some reason this time it just won't work. I've tried renaming the procedure, debugging the return value from ExecuteNonQuery() and rewriting the procedure but nothing appears to work.
Does anyone have any clues? Thanks for your time.
Chris