Commit f7df27df02b7fb32d75d57290391becc7fb0c3b0

Authored by Amrita Vishnoi
1 parent c6296f1e

License Expiration script

150-DOCUMENTATION/002-DBScripts/ExtendingLicenseExpiry_2.sql 0 → 100644
  1 +/*AUTHOR: ASHISH JAIN
  2 +PURPOSE: Extending Licenses for Institution: EMC Publishing LLC po E10007276
  3 +DATE: 19-Oct-2016 */
  4 +
  5 +update License set IsActive=1
  6 +where id in (
  7 +SELECT LicenseId FROM LicenseSubscriptionDetail
  8 +WHERE LicenseId in
  9 +(SELECT Id from License where InstitutionName = 'EMC Publishing LLC po E10007276')
  10 +and (SubscriptionValidFrom='2016-10-19 00:00:00.000' and SubscriptionValidThrough='2017-10-18 23:59:59.997'))
0 11 \ No newline at end of file
... ...