SyntaxFix
Write A Post
Hire A Developer
Questions
LTRIM(RTRIM(FCT_TYP_CD)) & ') AND (' & LTRIM(RTRIM(DEP_TYP_ID)) & ')'
I think you're missing a ) on both of the trims. Some SQL versions support just TRIM which does both L and R trims...
)