Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Contains sql and ASP

Status
Not open for further replies.

mickywall

Programmer
Sep 2, 2002
88
GB
test=request.querystring("search")
'start the sql string
sqlstr = "SELECT Distinct Email,Name,Keywords,About,Url FROM [livingscience] WHERE CONTAINS(KEYWORDS, '" & test & "');"


i am getting a syntax error..
 
That is not what an ASP querystring is.

The Response.QueryString object is a string representing arguments submitted from a form on a web page. This has nothing to do with SQL Server.
 
what i am doing is using what has been entered into a textbox and submitting that value into the sql string and executing it against a sql server database using the contains function and full text indexing...
surely this has something to do with sql server...
 
i got it sorted...
sorry if i got the wrong forum though i thought my SQL STRING was wrong.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top