Subject | Re: [firebird-support] Exept select syntax |
---|---|
Author | Milan Babuskov |
Post date | 2003-11-14T08:12:44Z |
Uwe Oeder wrote:
select * from Materials m
where not exists (
select * from MaterialsCopy mc
where m.PK = mc.PK
)
Where PK is the primary key of both tables.
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net
> Don't know if this works in firebirdAFAIK, It does not. You can always use something like this:
>
> SELECT * FROM Materials
>
> MINUS
>
> SELECT * FROM MaterialsCopy
select * from Materials m
where not exists (
select * from MaterialsCopy mc
where m.PK = mc.PK
)
Where PK is the primary key of both tables.
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net