Can we use "NOT LIKE '%abc%'"
just opposite of LIKE '%abc%'
?
i tried and got some result but dont look like correct!!
Is there anything similar to regex in SQL
.
Eg:
i hae a table with 3 field.
id name address
1 xyz 1234 abcd
2 abc nomans land
3 omg #123 new-york
3 nom $123 &7up
can i fetch the address **with special characters with out checking each special character one by one . How
In db2 (version 9.7.900.250), I've successfully specified "not like" this way:
select * from orders
where not(orders.order_number like 'S%')
This shows all orders where the order# does NOT start with a capital "S".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With