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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

if stmt within query?

Status
Not open for further replies.

ecannizzo

Programmer
Sep 19, 2000
213
US
Can I do something like this within my query?

if h.notes = "Issue" then
left outer join ISSUES i on h.record_id = i.id
else
left outer join ISSUES2 i on h.record_id = i.id
end;

thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top