Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE PROCEDURE [dbo].[crud_tst-calendar_deleteItem]
- @itemID int,
- @username nvarchar(32)
- AS
- begin
- SET NOCOUNT off ;
- -- удаление элемента
- delete from as_events where id = @itemID and username=@username
- if (@@ROWCOUNT > 0) begin
- select '' Msg, 1 Result
- end else begin
- select 'Не получилось удалить событие' Msg, 0 Result
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement