I have written a procedure and I need some help.
I want to list a bunch of routes but also
have two different destination locations.
Here is part of the procedure:
routestops.routecode = 'NEC5-1'or routestops.routecode = 'NEC2-1' or routestops.routecode = 'NEC3-1'
or routestops.routecode = 'NEC7-1')
and customernumber='2086' and sequence <> '1'
I want to add customernumber='BOA014' so I want it to look like this:
and customernumber='2086' and customernumber='BOA014' and sequence <>'1'
It is not working, do I need brackets or something?
Thanks
I want to list a bunch of routes but also
have two different destination locations.
Here is part of the procedure:
routestops.routecode = 'NEC5-1'or routestops.routecode = 'NEC2-1' or routestops.routecode = 'NEC3-1'
or routestops.routecode = 'NEC7-1')
and customernumber='2086' and sequence <> '1'
I want to add customernumber='BOA014' so I want it to look like this:
and customernumber='2086' and customernumber='BOA014' and sequence <>'1'
It is not working, do I need brackets or something?
Thanks