Click here to Skip to main content
15,886,691 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends, how can I get a set of query from users search i.e. when a user comes on a web site & searches for some data for eg. nokia mobile range form 10000 to 15000 then how to get such a query workload i.e. set of query whatever user has searched for?(eg.
Select mobile name=nokia from tablename where prize>10000 prize<15000.) Whenever any query comes in the web site, how to get it?

[EDIT]
The query in the must be: select mobile from tableName where name='nokia' and (prize between 10000 and 15000)
[EDIT]
Posted
Updated 25-Aug-11 0:45am
v2

1 solution

If your using MS SQL Server you can try Sql Server Profiler[^] .
 
Share this answer
 
Comments
Dylan Morley 25-Aug-11 6:35am    
Careful using profiler on a live database though, could cause performance issues for website
maheshpardeshi 26-Aug-11 2:14am    
is there any other way to get high performance & get query's from users

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900