hazelsisson
Programmer
Hi guys,
just a quick question (hopefully).
This is my desired query (simplified):
But I get the error "ORA-00933: SQL command not properly ended" because of the use of the trim function before the (+).
Is there any way of using the trim function in this scenario, or will I need to pad out the other side of the join instead? The field x.post_no is always 12 characters long and is filled with spaces, whereas p.post_num is already "trimmed".
Many thanks,
Hazel
just a quick question (hopefully).
This is my desired query (simplified):
Code:
select p.dm_id, x.title
from post p, post_desc x
where p.post_num = trim(x.post_no)(+)
But I get the error "ORA-00933: SQL command not properly ended" because of the use of the trim function before the (+).
Is there any way of using the trim function in this scenario, or will I need to pad out the other side of the join instead? The field x.post_no is always 12 characters long and is filled with spaces, whereas p.post_num is already "trimmed".
Many thanks,
Hazel