Re: what's wrong w/ my queries?
From: oj (nospam_ojngo_at_home.com)
Date: 09/13/04
- Next message: Erland Sommarskog: "Re: Create Index on BIT column?"
- Previous message: oj: "Re: Best way to search database table - parsing?"
- In reply to: John: "Re: what's wrong w/ my queries?"
- Next in thread: John: "Re: what's wrong w/ my queries?"
- Reply: John: "Re: what's wrong w/ my queries?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Sep 2004 15:13:07 -0700
okay, i'm not going to add more naggin' instead i'll give you a solution to
your *merge" based on your info (no pk, no relation, etc.).
e.g.
declare @t1 table(i int, j int)
declare @t2 table(k char, l char, m bit)
insert @t1 select 1,2 union all select 3,4
insert @t2 select 'a','b',0
select t1.*,t2.*
into #tmp
from @t1 t1 full join @t2 t2 on 1=2
go
select * from #tmp
"John" <jtaylor@kmznet.com> wrote in message
news:2qmfnbFu27orU1@uni-berlin.de...
> Curses! He's seen through my diabolical Master Plan!
> heh
>
> Thanks for the help AM!
> To answer the DBA posts, basically,
> I'm just glad to have a job coding so early in my schooling and
> am learning as I go. Letting clients dictate processes to me?
> Hell yeah! The man directing me has been programming for
> more than 20 years. I offer my insight, but I'm not going to
> dictate to him how his programs should run. He dictates to me.
> If I can't figure out how to work around legacy apps, I'm
> sure he can find others who can.
>
>
- Next message: Erland Sommarskog: "Re: Create Index on BIT column?"
- Previous message: oj: "Re: Best way to search database table - parsing?"
- In reply to: John: "Re: what's wrong w/ my queries?"
- Next in thread: John: "Re: what's wrong w/ my queries?"
- Reply: John: "Re: what's wrong w/ my queries?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|