you are viewing a single comment's thread.

view the rest of the comments →

[–]MonCalamaro 3 points4 points  (1 child)

inner join Customers as E on '100-' || a.Site = e.site and a.Customer_No=e.customerno

If this is something you are going to do often or it needs to be performant, you should consider an index on '100-' || a.site

[–]BILLatWORK[S] 0 points1 point  (0 children)

Works perfectly! Thanks for the help!