#1  
Old 3rd February 2004, 01:32 AM
F. Alvarado
 
Posts: n/a
Default sql don't work

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  
Old 3rd February 2004, 01:43 AM
Franz-Leo Chomse [NDX]
 
Posts: n/a
Default Re: sql don't work

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  
Old 3rd February 2004, 01:57 AM
F. Alvarado
 
Posts: n/a
Default Re: sql don't work

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  
Old 3rd February 2004, 02:17 AM
Franz-Leo Chomse [NDX]
 
Posts: n/a
Default Re: sql don't work


>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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +11. The time now is 05:17 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.