Subject | Re: Combine 2 tables |
---|---|
Author | a_broekhuis |
Post date | 2004-06-07T12:26:51Z |
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@m...>
wrote:
doesn't have it should list null for them.
Alexander
wrote:
> > You can do that with UNION ALL :other one.
> >
> > SELECT
> > SomeName AS Field1,
> > SomeOtherStuff AS Field2
> > FROM
> > Table1
> > UNION ALL
> > SELECT
> > OtherName,
> > SomeOtherStuff
> > FROM
> > Table2
> >
> > NOTE! If both fields from table1 and table2 have a different
> > datatype/length
> > then you must cast 1 of them to the same datatype/length as the
> >I don't mind the nulls, if some table has a colomn that the other
> > Regards,
> > Arno Brinkman
> > ABVisie
>
> Won't that give him all the nulls as well?
> Alan
doesn't have it should list null for them.
Alexander