db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: stored procedure
Date Wed, 11 Jul 2007 20:33:38 GMT
jill han wrote:
> String sql = "exec doLogin(" + clientName + ", " + username + ", " +
> password + ")";

My guess would be that clientName, username and password are strings
which need to be quoted in the SQL statement, like

String sql = "exec doLogin('" + clientName + "', '" + username + "', '"
+ password + "')";

Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message