CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge -> Programming

 Custom Variable in SQL query (keywords)

Print topic Send  topic

Author Message

Posts: 121
Posted: 03/21/2009, 3:53 AM

Hi guys,

Im 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 dont 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.

View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.