Hi Guys
I have two table tblTelephoneCallPlans which has fileds TelephoneCallPlansID, TelephoneSuppliersID and TelephoneCallPlanName.
tblTelephoneSuppliers has fields tblTelephoneSuppliersID and TelephoneSupplierName.
I'm trying to us the select procedure to select the the TelephoneCallPlanName according to TelephoneSuppliersID with parameter @TelephoneSuppliersID.
I tried doing it like this:
Select Distinct
TelephoneCallPlanName
From tblTelephoneCallPlans, tblTelephoneSuppliers
Where
Enabled <> 0
AND
TelephoneSupplierID = @TelephoneSupplierID
But keep on getting errors.
Does anyone knows what i needs to amend
Thanks,
Mac
I have two table tblTelephoneCallPlans which has fileds TelephoneCallPlansID, TelephoneSuppliersID and TelephoneCallPlanName.
tblTelephoneSuppliers has fields tblTelephoneSuppliersID and TelephoneSupplierName.
I'm trying to us the select procedure to select the the TelephoneCallPlanName according to TelephoneSuppliersID with parameter @TelephoneSuppliersID.
I tried doing it like this:
Select Distinct
TelephoneCallPlanName
From tblTelephoneCallPlans, tblTelephoneSuppliers
Where
Enabled <> 0
AND
TelephoneSupplierID = @TelephoneSupplierID
But keep on getting errors.
Does anyone knows what i needs to amend
Thanks,
Mac