on ‎2008 Mar 12 4:33 AM
Hi All
i am using SQL Server 2005 as a backend for webservices, i want to select the data based on the user input in where condition,
SELECT [NO]
,[NAME]
,[PAGE_COUNT]
FROM [DS].[DB].[tablename]
where [NO]=???Ex: i will pass the NO to the webservice to get the respective data from SQL,but i am not sure what operand to give in where condition,does anybody have idea on this
Thanks and Regards
Chaitanya.A
Request clarification before answering.
Hi,
Make use of prepared statements
http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.