mysql regexp issue range
i need to match a range of values for a field which is part of the whole string for the field.
e.g.:
dataname="a1-2-30";
for this i need to match the field starting from 30 to 45;
i tried:
select * from tabel1 where dataname = 'a1-2-'. regexp '[30-45]';
but its not working, errocode given is 1064.
please let me know if this is correct or solution.
thanks in advance.
Subject
Written By
Posted
mysql regexp issue range
October 12, 2010 06:06AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.