Union query

Post Reply
chand012
Posts: 70
Joined: Mon Dec 18, 2000 4:34 pm

Union query

Post by chand012 »

I need to do a union query, for which there is no example in your documentation (it just says you can do it). The basic query works fine, but I also need to order the results and it doesn't seem you can do this:

select orgname oname from orgs union select acronym oname from orgs where acronym != '' order by oname

Instead, you get the error "100 Could not find field oname in the function Evaluate".

This type of syntax works, for example in Microsoft Access. Is there a technique available in Texis for order the results of a union query?

Thanks,
David
chand012
Posts: 70
Joined: Mon Dec 18, 2000 4:34 pm

Union query

Post by chand012 »

Texis version: Commercial Version 3.01.959738425 of May 30, 2000 (sparc-sun-solaris2.5.1)

The "order by 1" syntax produces "Segmentation Fault".
Post Reply