ODBC bridge ->MSSQL ->prepared Like statements
Hi,
are any known problems when using the JDBC/ODBC bridge, with MS_SQL and then using PreparedStatements with LIKE.
We where going to do this, we had something like :
PreparedStatement pstmt = conn.prepareStatement("Select * from Employees where LastName like ? ");
pstmt.setString(1, 'A%');
rs = pstmt.executeQuery();
And it did not work. (returned no rows).
We "solved" the problem by installing another JDBC driver, and it works fine (same code/data).
So I just like to know if there is a way to go around this or if this...
Thanx
-reynir@hugsmidjan.is

