Click here to Skip to main content
15,887,585 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL to return only first few records? Pin
jensenx21-Oct-07 21:10
jensenx21-Oct-07 21:10 
GeneralRe: SQL to return only first few records? [modified] Pin
GuyThiebaut22-Oct-07 1:28
professionalGuyThiebaut22-Oct-07 1:28 
GeneralRe: SQL to return only first few records? Pin
Pete O'Hanlon22-Oct-07 1:48
mvePete O'Hanlon22-Oct-07 1:48 
QuestionSecurity - Stored Procedure - Views - Tables Pin
DotNetWWW20-Oct-07 4:38
DotNetWWW20-Oct-07 4:38 
AnswerRe: Security - Stored Procedure - Views - Tables Pin
Colin Angus Mackay21-Oct-07 13:21
Colin Angus Mackay21-Oct-07 13:21 
QuestionType mismatch error for date field (MS ACCESS) Pin
Trav120-Oct-07 3:00
Trav120-Oct-07 3:00 
AnswerRe: Type mismatch error for date field (MS ACCESS) Pin
Blue_Boy21-Oct-07 9:27
Blue_Boy21-Oct-07 9:27 
QuestionAmbiguous column name 'Primary_ID'. whats wrong?? Pin
Vimalsoft(Pty) Ltd18-Oct-07 22:59
professionalVimalsoft(Pty) Ltd18-Oct-07 22:59 
Hi All the Following Statement in SQL gives me an Error, the Primary_ID is the Primary key for both tables

Ambiguous column name 'Primary_ID'.



<br />
select E1.Primary_ID, E2.Primary_ID,<br />
   IsNull(E1.Lis_key, E2.Lis_key) AS Liskey,  <br />
 IsNull(E1.Attrib_code, E2.Attrib_code) AS Attributecode<br />
from Property_Mass E1<br />
full outer join Property_Home_Match E2<br />
on E1.Lis_key = E2.Lis_key<br />
 and E1.Attrib_code = E2.Attrib_code<br />
where (E1.Primary_ID is null or Primary_ID is null)<br />


Thanks



Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


AnswerRe: Ambiguous column name 'Primary_ID'. whats wrong?? Pin
GuyThiebaut18-Oct-07 23:05
professionalGuyThiebaut18-Oct-07 23:05 
AnswerRe: Ambiguous column name 'Primary_ID'. whats wrong?? Pin
Colin Angus Mackay18-Oct-07 23:05
Colin Angus Mackay18-Oct-07 23:05 
GeneralRe: Ambiguous column name 'Primary_ID'. whats wrong?? Pin
Vimalsoft(Pty) Ltd18-Oct-07 23:10
professionalVimalsoft(Pty) Ltd18-Oct-07 23:10 
GeneralRe: Ambiguous column name 'Primary_ID'. whats wrong?? Pin
Colin Angus Mackay18-Oct-07 23:21
Colin Angus Mackay18-Oct-07 23:21 
Question@ and @@ parameters Pin
Sonia Gupta18-Oct-07 22:43
Sonia Gupta18-Oct-07 22:43 
AnswerRe: @ and @@ parameters Pin
Joe18-Oct-07 23:42
Joe18-Oct-07 23:42 
GeneralRe: @ and @@ parameters Pin
Sonia Gupta18-Oct-07 23:52
Sonia Gupta18-Oct-07 23:52 
AnswerRe: @ and @@ parameters Pin
Pete O'Hanlon21-Oct-07 10:06
mvePete O'Hanlon21-Oct-07 10:06 
AnswerRe: @ and @@ parameters Pin
squattyarun21-Oct-07 23:01
squattyarun21-Oct-07 23:01 
Questioncursors in functions Pin
Sonia Gupta18-Oct-07 22:40
Sonia Gupta18-Oct-07 22:40 
AnswerRe: cursors in functions Pin
Krish - KP18-Oct-07 23:24
Krish - KP18-Oct-07 23:24 
GeneralRe: cursors in functions Pin
Sonia Gupta18-Oct-07 23:35
Sonia Gupta18-Oct-07 23:35 
GeneralRe: cursors in functions Pin
Rocky#19-Oct-07 0:55
Rocky#19-Oct-07 0:55 
AnswerRe: cursors in functions Pin
neeraj_indianic19-Oct-07 19:25
neeraj_indianic19-Oct-07 19:25 
QuestionCORBA , MSP Pin
hellogany18-Oct-07 17:36
hellogany18-Oct-07 17:36 
AnswerRe: CORBA , MSP Pin
Colin Angus Mackay18-Oct-07 22:37
Colin Angus Mackay18-Oct-07 22:37 
AnswerRe: CORBA , MSP Pin
Paul Conrad21-Oct-07 10:31
professionalPaul Conrad21-Oct-07 10:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.