Grrr!
Thanks for all the suggestions but I still am unable to get correct syntax to work
I am pasting my complete INSERT script. The errors are the converts
INSERT INTO F_ContractAcq (ContractNo, ContractName, Reference, SalesRep, UID, Acq_Date, Start_Date, End_Date,
Termlength, TermType, ContCur, AcqInRpt, PostedInRpt, BacklogInRpt, HomeCur, AcqInHome,
PostedInHome, BacklogInHome, Region)
SELECT left(ContractNo,9) as ContractNo,
left(ContractName,50) as ContractName,
left(Reference,50) as Reference,
left(SalesRep, 9) as SalesRep,
left(UID,6) as UID,
convert(datetime, Acq_Date,5) as Acq_Date,
convert(datetime, Start_Date,5) as Start_Date,
convert(datetime, End_Date,5) as End_Date,
left(TermLength,3) as Termlength,
left(TermType, 8) as TermType,
left(ContCur,3) as ContCur,
convert(float,replace([AcqInRpt],'.','') )as AcqInRpt,**
convert(float,replace([PostedInRpt],'.','') )as PostedInRpt,**
convert(float,replace([BacklogInRpt],'.','') )as BacklogInRpt,**
left(HomeCur,3) as HomeCur,--
convert(float,replace([AcqInHome],'.','') )as AcqInHome,--
convert(float,replace([PostedInHome],'.','') )as PostedInHome,
convert(float,replace([BacklogInHome],'.','') )as BacklogInHome,
left(Region,3) as Region
FROM B_ContractAcq
WHERE ContractNo not in (SELECT ContractNo from F_ContractAcq)
All the suggestions to date are much appreciated
reg
ash