Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to make a new column in my table.
table:
load
order_no,
customer ref no,
date
from xyz.qvd
My customer ref no column contain information like :
1234568
abcdefg
321456
RMA:123456/0
RMA:abcdef/0
I want to make a column what will contain just these customer ref no's information:
1234568
abcdefg
321456
Can I use IF condition to do this?
if(customer ref no = RMA:, ignore and go to next customer ref)
Could someone help me with my problem please.
Best Regards,
Constantin
if you want to do this for one column do this:
if(left([customer ref no],3) <> 'RMA',[customer ref no]) as column_name
Hi
try this in where condition:
left([customer ref no],3) <> 'RMA'
if you want to do this for one column do this:
if(left([customer ref no],3) <> 'RMA',[customer ref no]) as column_name
Thanks for your answer. Is really helpful!