select from database with special characters
Use the following query : 

select * from outstanding where lcocode LIKE 'PN007\\\\00128'


Backslash is an escape prefix for both strings and LIKE patterns. So you need to double it once for LIKE, and again for string literal syntax.