RE: use temporary table in select

Thomas Fischer <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.torque.user
Message-ID <OFA3ED45D8.BD2486C0-ONC125742C.002E6047-C125742C.002EB40B@seitenbau.net>
I have looked through the Criteria methods, but I have not found anything
to produce this exact query.
Maybe you could use a Subselect instead ? This is possible in Torque 3.3
If not, you would have to compose the query manually.

    Thomas

> i need a temporary table in my select. It is possible to do this with
torque?
> The sql should look like this:
>
> SELECT * FROM (VALUES 12345, 23456, 34567, ...) AS LIST (ltemplist),
basetable
> WHERE basetable.artnr = templist
> ...
>
> Thanks for your help.
> Andre
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.