alfonso
Posts: 121
|
Posted: 03/21/2009, 3:53 AM |
|
Hi guys,
I´m trying to insert in a grid SQL a query a custom variable, i mean, in grid, in where clause i can compare with a url parameter, but i need to compare with a result of a previous query.
I have tags(keywords separatted by coma) in a field of news table, and i need to search another news that have almost onte tag in common, with LIKE clause %()% is possible. But i don´t know how i can do the sql query,i mean, compare tags between the new i have watching and all the others news...
Is it possible? If i can compare with a variable, i can "extract" the tags of the new that i have watching and then do a sql query, comparing tags (LIKE clause) with all the other news.
Thanks.
|
|
|
|