Advertisement
Ruslan_Rayanov

fm_watch_textru_saveItem

Apr 5th, 2022
1,252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.75 KB | None | 0 0
  1. CREATE PROCEDURE [dbo].[fm_watch_textru_saveItem]
  2.    @username nvarchar(256),
  3.    @itemID int,
  4.    @parameters ExtendedDictionaryParameter readonly
  5. AS
  6. BEGIN
  7.     declare @text nvarchar(max) = (select Value2 from @parameters where [Key] = 'text')
  8.  
  9.     -- SELECT 1 (Result, Msg)
  10.     select 1 Result, '
  11.    Задание создано. В форме ниже нажимайте кнопку Обновить - как задание будет выполнено, будут показаны результаты
  12.    <div class="as-form" data-code="watch_textru2" data-itemID="0"></div>
  13.    ' Msg, '.as-form[data-code=watch_textru] .as-form-res' RefreshContainer
  14.    
  15.     -- select 2
  16.     select 'apirequest' type, 'textru' code, 'text' p1_name, @text p1_value
  17.  
  18. END
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement