Last active
May 18, 2017 10:16
-
-
Save roman-yagodin/95c7af2a907c00b5c3d94d7cd4cf4d42 to your computer and use it in GitHub Desktop.
DNN: Update cache time of modules by definition name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE {databaseOwner}[{objectQualifier}TabModules] SET CacheTime = 0 WHERE ModuleID IN ( | |
select ModuleID from {databaseOwner}[{objectQualifier}Modules] where ModuleDefID = | |
(select ModuleDefID from {databaseOwner}[{objectQualifier}ModuleDefinitions] where DefinitionName = N'ModuleDefinitionName')) | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment