SqliteAssets.sql 385 B

12345
  1. -- The following converts the UUID from XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  2. -- to XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX. This puts it in Guid native format
  3. -- for .NET, and the prefered format for LLUUID.
  4. update assets set UUID = SUBSTR(UUID,1,8) || "-" || SUBSTR(UUID,9,4) || "-" || SUBSTR(UUID,13,4) || "-" || SUBSTR(UUID,17,4) || "-" || SUBSTR(UUID,21,12) where UUID not like '%-%';