diff --git a/150-DOCUMENTATION/002-DBScripts/ExtendingLicenseExpiry_2.sql b/150-DOCUMENTATION/002-DBScripts/ExtendingLicenseExpiry_2.sql new file mode 100644 index 0000000..a7efdbc --- /dev/null +++ b/150-DOCUMENTATION/002-DBScripts/ExtendingLicenseExpiry_2.sql @@ -0,0 +1,10 @@ +/*AUTHOR: ASHISH JAIN +PURPOSE: Extending Licenses for Institution: EMC Publishing LLC po E10007276 +DATE: 19-Oct-2016 */ + +update License set IsActive=1 +where id in ( +SELECT LicenseId FROM LicenseSubscriptionDetail +WHERE LicenseId in +(SELECT Id from License where InstitutionName = 'EMC Publishing LLC po E10007276') +and (SubscriptionValidFrom='2016-10-19 00:00:00.000' and SubscriptionValidThrough='2017-10-18 23:59:59.997')) \ No newline at end of file