|
Log in | ||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
THIS very simple sql, don't work, only show data for first select, but if
delete clausule where in second select, show rows correct of first select and all rows in second select (for demostrate that 2 select run, but second where don't work) SELECT idpedido, montaje, fecha, descripcion, proveedor, valor, factura, anulado, importereal, importepedido, importeprevisto, nombrepos FROM Pedido where montaje ='464-M-03' UNION ALL SELECT idpedido, montaje, fecha, descripcion, proveedor, valor, factura, anulado, importereal, importepedido, importeprevisto, nombrepos FROM d2003.Pedido where montaje ='464-M-03' |
|
#2
|
|||
|
|||
|
On Mon, 2 Feb 2004 14:32:53 +0100, "F. Alvarado" <empresa@neta2.com>
wrote: >THIS very simple sql, don't work, only show data for first select, but if >delete clausule where in second select, show rows correct of first select >and all rows in second select (for demostrate that 2 select run, but second >where don't work) > >SELECT idpedido, montaje, fecha, descripcion, proveedor, valor, factura, >anulado, importereal, importepedido, importeprevisto, nombrepos > >FROM Pedido where montaje ='464-M-03' > >UNION ALL > >SELECT idpedido, montaje, fecha, descripcion, proveedor, valor, factura, >anulado, importereal, importepedido, importeprevisto, nombrepos > >FROM d2003.Pedido where montaje ='464-M-03' > Nexus does not support SQL statement which include tables from more than one database. Multi Alias SQL is already on the wishlist. Regards from Germany Franz-Leo Chomse [NexusDB Expert] franz.leo.chomse@ndx.nexusdb_x.com (please remove "_x" to reply) |
|
#3
|
|||
|
|||
|
do you have any solution or good idea please?.
"Franz-Leo Chomse [NDX]" <franz.leo.chomse@ndx.nexusdb.com> escribió en el mensaje news:duks1054tkbhrt3qsa39mcmbtp45mls2qj@4ax.com... > On Mon, 2 Feb 2004 14:32:53 +0100, "F. Alvarado" <empresa@neta2.com> > wrote: > > >THIS very simple sql, don't work, only show data for first select, but if > >delete clausule where in second select, show rows correct of first select > >and all rows in second select (for demostrate that 2 select run, but second > >where don't work) > > > >SELECT idpedido, montaje, fecha, descripcion, proveedor, valor, factura, > >anulado, importereal, importepedido, importeprevisto, nombrepos > > > >FROM Pedido where montaje ='464-M-03' > > > >UNION ALL > > > >SELECT idpedido, montaje, fecha, descripcion, proveedor, valor, factura, > >anulado, importereal, importepedido, importeprevisto, nombrepos > > > >FROM d2003.Pedido where montaje ='464-M-03' > > > > Nexus does not support SQL statement which include tables from more > than one database. > > Multi Alias SQL is already on the wishlist. > > > Regards from Germany > > Franz-Leo Chomse [NexusDB Expert] > franz.leo.chomse@ndx.nexusdb_x.com (please remove "_x" to reply) |
|
#4
|
|||
|
|||
|
>do you have any solution or good idea please?. The only one is to combine the resultset of two TnxQuery instances into a local table (momory table) on client side. Regards from Germany Franz-Leo Chomse [NexusDB Expert] franz.leo.chomse@ndx.nexusdb_x.com (please remove "_x" to reply) |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FYI, mirror driver does not work on windows 7 | Hannes Danzl[NDD] | nexusdb.public.support.portal | 6 | 3rd June 2010 05:29 PM |
| how does the host service work on Windows 7? | Will Owyong | nexusdb.public.support.portal | 6 | 19th February 2010 12:41 PM |
| rfsPlugin does not work | Jago Post | nexusdb.public.support.thirdparty | 1 | 20th March 2007 07:38 AM |
| SUM() does not work with Word32-Fields ?! | Pascal | nexusdb.public.support.sql | 1 | 5th November 2003 10:47 PM |
| operator 'NOT LIKE' doesn't work with a secondary index | Mickael WONG | nexusdb.public.support.sql | 4 | 16th October 2003 12:29 AM |