Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE OR ALTER PROCEDURE [dbo].[fm_example_checkItem]
- @username nvarchar(256),
- @itemID int,
- @parameters ExtendedDictionaryParameter readonly
- AS
- BEGIN
- -- GAG
- select 1 Result, '' Msg
- return
- -- check form parameters...
- /*
- example_data1
- */
- declare @id int
- if(@id >0)
- begin
- select 0 Result, 'Already exists (ID='+cast(@id as nvarchar)+')' Msg
- end else
- begin
- select 1 Result, '' Msg
- end
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement