Created
May 31, 2018 22:16
-
-
Save rscott78/2fca2e7097971bbf7242767a00960481 to your computer and use it in GitHub Desktop.
This will update the the registration and link it to an activation code.
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 ac | |
set ac.lastUpdated = r.dateCreated, | |
ac.dateUsed = r.dateCreated, | |
ac.registrationId = r.Id, | |
ac.isEnabled = 0 | |
from activationCode ac, | |
registration r | |
where ac.[name] = '0895-C5720785507' | |
and r.Id = 13695 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment