dbUpgrade7_0011-to-7_0012_db2zOS.sql 453 B

12345678910111213
  1. -- Licensed Materials - Property of IBM
  2. --
  3. -- BI and PM: CM
  4. --
  5. -- (C) Copyright IBM Corp. 2012, 2013
  6. --
  7. -- US Government Users Restricted Rights - Use, duplication or disclosure
  8. -- restricted by GSA ADP Schedule Contract with IBM Corp.
  9. ALTER TABLE CMDATA ADD column DATAURI varchar(256);
  10. update CMDATA set DATAURI = (select concat(concat('/repository/sid/cm/oid/', CMSTOREIDS.STOREID),'/content') FROM CMSTOREIDS WHERE CMDATA.CMID = CMSTOREIDS.CMID)