Hi
I'm using tables created from a linked ODC source. One of the fields from the original database has leading spaces, which is affecting any attempts to run a query. The corresponding field in another table has no spaces
So essentially the SQL would be querying: WHERE " 123" = "123". How do i strip the leading spaces?
I've tried using a "create table" query and then running an update on that, but no dice. I've tried:
UPDATE test2 SET test2.contract_no = Trim([contract_no]);
But this just gives the same string with leading spaces.
I must admit I'm still at a basic level on this side of things, if any further information is required, let me know.