Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have one project....

So i need urs help...

Frontend using sql query and backend also using store procedure but execution only.....

May i possible this one....Help me......
Help me......Help me......
Help me......
Posted
Comments
Kenneth Haugland 8-Oct-12 5:10am    
Is your house on fire or something? Unfortunatly we are not firefighters...

 
Share this answer
 
Am I correct that you want to create a query string in front end and then execute this string inside a stored procedure?

If so you can pass the query in as a parameter and inside the stored procedure you would call sp_executesql. You need to be careful though and ensure that no user can enter illegal sql statements as an input. Read up on SQL Injection and prevention techniques: Understanding SQL Injection and Creating SQL Injection Proof ASP.NET Applications[^]
 
Share this answer
 

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