January 9, 2007 at 7:42 pm
Frances,
The answer has been mentioned in this thread so many times... USE THIS..
update InpatientMedStat set InpatientMedStat.PrincipalDiagnosisCode = ltrim(rtrim(rptpxa2.DCode)) from InpatientMedStat
INNER JOIN rptpxa2 ON InpatientMedStat.PatientAccountNumber = rptpxa2.PNO
WHERE (LEN(RTRIM(InpatientMedStat.PrincipalDiagnosisCode)) = 0) and (rptPXA2.DCode) = '1'
January 9, 2007 at 9:08 pm
Thanx for the vote of trust .
January 10, 2007 at 6:06 am
Thanks. I was so wrapped for error and update field .
January 10, 2007 at 6:33 am
HTH. Do you still need help understanding the concept of implicit conversions?
January 10, 2007 at 6:38 am
I think I am OK. Thx. I will pay more attention to execute plan in the future.
Viewing 5 posts - 16 through 19 (of 19 total)
You must be logged in to reply to this topic. Login to reply