CrystalStart
IS-IT--Management
Please help me one more time with syntax
select * from call_master where call_master.dertis in
(SELECT dertis FROM mss_dertis
WHERE LTRIM(RTRIM(prodcode)) in ('GFLI') AND LTRIM(RTRIM(compcode)) in ('6180') AND runreport = 'Y')
and date = '2005-02-12'
----------------------------
as yyz inner join mss_dertis on (mss_dnis.dertis = yyz.dertis and mss_dertis.compcode = yyz.compcode
I fixed top portion before the line but whole thing need to be executed and it's not workinmg
Incorrect syntax near the keyword 'as' (I've tried commas and all - no luck)
THANKS
select * from call_master where call_master.dertis in
(SELECT dertis FROM mss_dertis
WHERE LTRIM(RTRIM(prodcode)) in ('GFLI') AND LTRIM(RTRIM(compcode)) in ('6180') AND runreport = 'Y')
and date = '2005-02-12'
----------------------------
as yyz inner join mss_dertis on (mss_dnis.dertis = yyz.dertis and mss_dertis.compcode = yyz.compcode
I fixed top portion before the line but whole thing need to be executed and it's not workinmg
Incorrect syntax near the keyword 'as' (I've tried commas and all - no luck)
THANKS