Create Table Foo (Code Char(3) Not Null, Descr Varchar(50)); PreparedStatement ps = new PreparedStatement( "Select * From Foo Where Code = ? Or Descr = ?"); ps.setString(1, txtInput.value); ps.setString(1, txtInput.value);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)