Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

like

0
votes
1 answer
31 views

Match() against() doesn't work but like '%$s%' does

I have a fulltext field in my table. One of the rows is: "this is the dog that ran over there" I have the following mysql statements: SELECT * FROM…
asked June 19, 2011 10:54 am CDT
user522962
1
vote
2 answers
29 views

MySQL LIKE Statement not working

I'm trying to copy data from one table to another. Here is my statement: UPDATE tblMerchants T, retailers R SET T.linklabel = R.linklabel,…
asked June 18, 2011 8:33 pm CDT
PaperChase
0
votes
2 answers
19 views

Problem with mysql (LIKE function)

I'm running a query: $result = mysql_query("SELECT *, CONCAT(fname, ' ', lname) AS fullname FROM `users` WHERE fullname LIKE '%$keyword%' "); while…
asked June 11, 2011 10:00 am CDT
user636180
0
votes
2 answers
33 views

Php mysql LIKE with special characters does not work properly

So i am trying to do a LIKE query and get some results but the text that i pass has some special characters that break the query. if we assume that…
asked June 9, 2011 5:54 pm CDT
fxuser
0
votes
1 answers
22 views

Optimizing SQLite multiple LIKE search for iOS

I'm executing an SQLite select statement with several LIKE clauses. The statements resemble the following: SELECT * FROM mytable WHERE name LIKE…
asked June 8, 2011 10:01 pm CDT
SK9
0
votes
3 answers
36 views

MySQL: Transform "LIKE" search to fulltext?

I have a pretty simple LIKE search for MySQL that i'd like to transform into a fulltext. The problem is i need to be able to implement it so that it…
asked June 7, 2011 4:00 pm CDT
qwerty
0
votes
1 answer
34 views

How to prioritize a LIKE query select based on string position in field?

I am attempting to query a table for a limited resultset in order to populate an autocomplete field in javascript. I am, therefore, using a LIKE…
asked June 7, 2011 8:01 am CDT
lancsuni
1
vote
1 answer
27 views

Using Like and Concat in MySQL query

I'm loading text files into my db and trying to do some quick matching between a table that lists names of organizations, and a table that holds the…
asked May 24, 2011 2:54 pm CDT
tchaymore
0
votes
4 answers
25 views

MySQL LIKE limiting

Basicly I have a row in my table, that has the following format for it's value - 1,2,3,4,10,11,21,34 etc.. I'm retrieving values with LIKE…
asked May 20, 2011 12:14 pm CDT
Tom
0
votes
2 answers
31 views

SQL Join with not like

I'm on Mysql 5.0. I basically have a List Item table and a List Title table. For each Title, there can be 60+ items, which are all text. Dynamically…
asked May 10, 2011 4:17 pm CDT
Neil M.
0
votes
1 answers
36 views

PHP QUERY still shows NOT results with LIKE??

I have a search that finds everything correctly, but my only problem now is that it also shows results I don't want to pull up. Query code below:…
asked May 8, 2011 3:22 pm CDT
yanike
0
votes
3 answers
34 views

SQL query LIKE problem?

I am trying to query: $title2 = (isset($row_DetailRS1['r_bus_name']) ? $row_DetailRS1['r_bus_name'] : ""); $query_test = "SELECT * FROM table WHERE…
asked May 3, 2011 8:51 pm CDT
eberswine
0
votes
3 answers
28 views

StringInString Query?

Hello, I have this database where I have stored some tags in it. I stored the tags like this: "humor,funny,animal" Now I need a mysql query that…
asked May 3, 2011 7:20 pm CDT
Hans
0
votes
2 answers
41 views

How to make "LIKE" query work in MONGODB using PHP?

I have a list of street names and I want to select all that start with "Al". In my mysql I would do something like SELECT * FROM streets WHERE…
asked April 26, 2011 7:44 pm CDT
jM2.me
1
vote
6 answers
37 views

MySQL - How to search for exact word match using LIKE?

Hey, I'm using this query to select data: mysql_query("SELECT * FROM products WHERE product_name LIKE '%".$search."%'"); The only problem is, that…
asked April 21, 2011 5:59 am CDT
Mike
0
votes
2 answers
31 views

Php mysql query like (contains)

I'm trying to filter sql query by a word that is contained within a db column. This is working (Please don't tell me the Having is wrong... it…
asked April 9, 2011 9:20 pm CDT
Jeffrey
0
votes
2 answers
21 views

SQLite: Select all similar rows that are possible duplicates using LIKE?

After importing information about songs into my SQLite database, I want to use a SELECT statement to find all possible duplicate songs using this…
asked April 7, 2011 9:14 pm CDT
compcentral
0
votes
8 answers
32 views

Complex sql like clause

Hi Guys, I am querying a db to get all blog posts from a certain month of a certain year. The date is stored in the database as YYYY-MM-DD What is…
asked April 2, 2011 5:59 am CDT
Inigo
0
votes
0 answers
37 views

Using like pattern in mysql case statement with two different tables

Hi I have a table with names (names). I have another that holds ids (user) . I have a conditional construct - a case when statement that is supposed…
asked March 29, 2011 2:30 am CDT
user587244
0
votes
2 answers
50 views

SQL select query with wildcard on input parameter

Hi everybody! Same question as my other thread basically! I have a db table and I need to write a query that will return results based on a partial…
asked March 28, 2011 1:55 pm CDT
mixkat
Pages : 1 | 2 >
40

like

Tagged: like
Related Tags
mysql × 29
php × 11
sql × 9
sqlite × 6
select × 6
query × 4
postgresql × 3
index × 2
regex × 2
join × 2
split × 1
integer × 1
varchar × 1
error × 1
group-by × 1
routines × 1
ios × 1
table × 1
create × 1
complex × 1
log × 1
transform × 1
tree × 1