Dec 28, 2003 #1 johno77 Technical User Nov 1, 2003 40 GB Hello i am trying to search a field in a database to see if a certain substring exists i.e. re in fred or oh in johnny. SELECT * FROM whatever where fieldinquestion='???' Could someone point me in the right direction. many thanks john
Hello i am trying to search a field in a database to see if a certain substring exists i.e. re in fred or oh in johnny. SELECT * FROM whatever where fieldinquestion='???' Could someone point me in the right direction. many thanks john
Dec 28, 2003 #2 icrf Programmer Dec 4, 2001 1,300 US More of an sql question than perl, but I'll bite. Look at the LIKE operator in the WHERE clause: http://www.w3schools.com/sql/sql_where.asp ________________________________________ Andrew - Perl Monkey Upvote 0 Downvote
More of an sql question than perl, but I'll bite. Look at the LIKE operator in the WHERE clause: http://www.w3schools.com/sql/sql_where.asp ________________________________________ Andrew - Perl Monkey