Book a Demo

Author Topic: SQL editor with SUBSELECT  (Read 3550 times)

viarellano

  • EA User
  • **
  • Posts: 36
  • Karma: +0/-0
    • View Profile
SQL editor with SUBSELECT
« on: May 18, 2009, 11:41:43 pm »
Hi,

is there any possibility to do a query definition with a subselect?.
When i tried it, EA gives me next error msg:

SELECT * FROM (SELECT *  FROM t_object);

DAO.QueryDef [3131]
Syntax Error in from Clause.

Thanks!

Vi


Wyatt

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: SQL editor with SUBSELECT
« Reply #1 on: May 21, 2009, 03:26:41 pm »
That syntax is not valid in the standard Jet engine.  If you choose the option to use Jet 4.0 (tools | options -- restart required), it will work as expected.

viarellano

  • EA User
  • **
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: SQL editor with SUBSELECT
« Reply #2 on: May 25, 2009, 11:38:00 pm »
thanks
it is posible to set this value to the SqlServer deployed version of EA ?

regards