Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Why is this dynamic?
Sun, Mar 1 2009 10:14 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate


ElevateDB Error #700 An error was found in the statement at line 3 and column 48 (Invalid expression ? found, dynamic parameter references not allowed)


SELECT
_Date,
CAST((CURRENT_DATE - _Date) DAY AS INTEGER) - (:Readings - 1), <<<<<<<<<<<<<<<<<<<<<<<<<<
_Dialings,
_Connected,
_Positive,
_Negative,
_Score
FROM UserStats
WHERE
_fkStaff = :UserID
AND
(CURRENT_DATE - _Date)  DAY <= :Readings
ORDER BY _Date

Roy Lambert
Mon, Mar 2 2009 7:16 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< ElevateDB Error #700 An error was found in the statement at line 3 and
column 48 (Invalid expression ? found, dynamic parameter references not
allowed) >>

It's just the description that we use for parameters in DML statements
(SELECT, INSERT, UPDATE, or DELETE).  We call them "dynamic" as opposed to
parameters for scripts, procedures, etc., which are pre-defined and static.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image