cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

EXCEPT and INTERSECT SQL command in query manager

jbrotto
Active Contributor
0 Likes
533

Is it possible to use the intersect and/or except SQL command in the queries stored in the query manager?

It would make writting some queires more easier.

Accepted Solutions (0)

Answers (1)

Answers (1)

LoHa
Active Contributor

Hi Jonathan,

according to: Link

you can do it like this

SELECT 
TOP 10 
DocEntry
FROM ORDR
EXCEPT --Union
SELECT DocEntry FROM ORDR WHERE DocEntry = 10

regards Lothar

jbrotto
Active Contributor
0 Likes

From what I could see you need to comment the word union as to use the intersect or except command.

LoHa
Active Contributor
0 Likes

Have a look in the link above.

The query-manager always try to use FOR BROWSE (golden Arrows).

It is deactivated when using Union

regards Lothar