Skip to content

Commit

Permalink
SQL : Add Rule in Conf Form For entomo Proto
Browse files Browse the repository at this point in the history
  • Loading branch information
romfabbro committed Sep 21, 2016
1 parent 1a47581 commit 1e3658b
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
update f SET Rules = '{"operator":"disable","target":"'+Name+'","source":"sampled","value":1}'
FROM ModuleForms f
where typeobj = (SELECT ID FROM ProtocoleType WHERE Name = 'Entomo_pop_Census')

GO


INSERT INTO [dbo].[TVersion] (TVer_FileName,TVer_Date,TVer_DbName) VALUES ('94_Add_Disable_Rule_EntomoPopCensus_inForm',GETDATE(),(SELECT db_name()))


GO

0 comments on commit 1e3658b

Please sign in to comment.