Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Dynamic parameters in derived table
Tue, Oct 14 2008 10:24 AMPermanent Link

"Jan-Erik Johansen"
Hi Tim,

I have the following issue.

Using a query like
 select fields from (select from table where field = ?) as derivedtablename

gives #700 An error ..... (Invalid expression ? found, dynamic parameter
references not allowed)

The workaround I found was using the following query but this is much slower
than using a derived table (10x acutually).
select fields from table where field IN (select fields where field = ?)

Is this a known limitation/issue?

2.02b1 DAC

--
Jan-Erik
Tue, Oct 14 2008 10:39 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jan-Erik,

<< Is this a known limitation/issue? >>

Yes.  Derived tables use temporary views, and currently views cannot contain
parameters.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image