Sandro Psaila
11-24-02, 11:14
| hi all I am building an application where the user enters a conditional statement and then i want to perform some action. Eg user input > if customer.name = sandro then send email My program will read the user input and then dynamically constructs an sql statement to retrieve the required info... if the sql returns data i.e. the condition succeeds, then a separate method is invoked. My problem is to transform this statement into the appropriate SQL...since this need to be constructed at run time and for any type of user input.. The language i am using is java, however i dont expect any code...I was only wondering if someone has any ideas of how this can be done.. Thank you in anticipation. |