Icon View Incident Report

Minor Minor
Reported By: Tim Young
Reported On: 1/20/2008
For: Version 1.07 Build 3
# 2535 Errors in Dynamic SQL Statements in Routines Returning Improper Line and Column Information

The line and column number reported for dynamic SQL statements is sometimes incorrect if the dynamic statement is being built using variables and other non-literal references.

SCRIPT (IN SQLStatement VARCHAR, IN TableName VARCHAR)
BEGIN
   DECLARE ResultCursor SENSITIVE CURSOR WITH RETURN FOR Stmt;
   PREPARE Stmt FROM REPLACE('$TableName' WITH TableName IN SQLStatement);
   OPEN ResultCursor;
END



Comments Comments
To correct this, the error reporting was changed so that the reported line and column is always the very beginning of the dynamic SQL statement expression.


Resolution Resolution
Fixed Problem on 1/21/2008 in version 1.08 build 1


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 VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image