Hi,, I'm trying to use a left outer join along with an inner join,,,
Select CMRC_Categories.CategoryNa
me,cmrc_pr
oducts.pro
ductID,mod
elname,act
ive,unitco
st,listpri
ce,thumbna
il, longdesc, eventdate, eventlocation, eventaddress, eventcity, eventstate, eventzip, CMRC_EventProduct_Schedule
.Agenda
from cmrc_products,CMRC_Categor
ies_Produc
ts,CMRC_Ca
tegories LEFT OUTER JOIN CMRC_EventProduct_Schedule
ON CMRC_Products.ProductID = CMRC_EventProduct_Schedule
.ProductID
where
CMRC_Categories_Products.p
roductID = CMRC_Products.ProductID
and
CMRC_Categories_Products.C
ategoryID = 3
and
CMRC_Categories.CategoryId
=3
and
CMRC_EventProduct_Schedule
.ProductID
=CMRC_Prod
ucts.Produ
ctID
and
CMRC_Products.catspecial = 0
and
CMRC_Products.active='y'
and CMRC_Products.Hide='0'
I'm obviously doing something wrong because I'm getting the following error:
Msg 2809, Level 18, State 1, Line 1
The request for procedure 'CMRC_Products' failed because 'CMRC_Products' is a table object.
Can anyone help?
Start Free Trial