Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select Query Help !!!!!

Status
Not open for further replies.

latitude800

IS-IT--Management
Feb 11, 2006
19
0
0
US
I have the following query that pulls a TermID Publication source. I am not getting any results, I get the Term ID but Publication source NULL. Please any suggestions. Thanks very much in advance.

SELECT gps.TermID, gps.PubSourceID, gpsr.PubSource,
FormattedPubSource=CASE WHEN gps.PubSourceID<>'' THEN '<i>Source Publication: </i>' END,
PubSourceBreak=CASE WHEN gps.PubSourceID<>'' THEN '<br>' END
FROM ispe_Glossary_PubSource gps
LEFT OUTER JOIN ispe_Glossary_PubSource_Ref gpsr
ON gps.PubSourceID=gpsr.PubSourceID
ORDER BY gps.TERMID
 
Do you have any records in gpsr which meet
the join condition
ON gps.PubSourceID=gpsr.PubSourceID ?

Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
Eschewing obfuscation diurnally.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top