Icon View Incident Report

Serious Serious
Reported By: Jeff Cook [Aspect Systems Ltd]
Reported On: 2/12/2015
For: Version 2.17 Build 1
# 4145 Cannot Use the CAST() Function to Convert a String into a BLOB Value for Insertion

In the following SQL, ConfigValue is a BLOB and I'm trying to put the string value 'OFF' into it and I get this error:

ElevateDB Error #1011 An error occurred with the value OFF (A conversion error occurred with the value OFF)

CREATE TABLE "Config"
(
"ConfigKey" VARCHAR(60) COLLATE "UNI_CI",
"ComputerName" VARCHAR(40) COLLATE "UNI_CI",
"UserName" VARCHAR(40) COLLATE "UNI_CI",
"ConfigValue" BLOB,
CONSTRAINT "PrimaryKey" PRIMARY KEY ("ConfigKey", "ComputerName", "UserName")
)

INSERT INTO Config (ConfigKey,ComputerName,UserName,ConfigValue)
VALUES('Maintenance Mode', '', 'Jeff Cook', CAST('OFF' AS BLOB))



Resolution Resolution
Fixed Problem on 2/15/2015 in version 2.18 build 4


Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB LCL Standard with Source
ElevateDB PHP Standard
ElevateDB PHP Standard with Source
ElevateDB PHP Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image