Created
April 10, 2019 14:00
-
-
Save accasey/e85b6ffd694a1f3643d7000e8162af30 to your computer and use it in GitHub Desktop.
Update version of Query Manager via sql
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 PSLOCK SET VERSION = VERSION + 1 WHERE OBJECTTYPENAME = 'QDM' | |
/ | |
UPDATE PSVERSION SET VERSION = VERSION + 1 WHERE OBJECTTYPENAME IN ('QDM','SYS') | |
/ | |
UPDATE PSQRYDEFN SET VERSION = (SELECT VERSION FROM PSLOCK WHERE OBJECTTYPENAME = 'QDM') | |
WHERE OPRID = :1 | |
AND QRYNAME = :2 | |
/ | |
COMMIT | |
/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment