This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am trying to do a convert from a parameter to a datetime stamp. Here is my code: ... bus_start_date between (CONVERT(DATETIME,\'args\', 102)) and (CONVERT(DATETIME,\'args\', 102))) ... Exception in thread "main" java.sql.SQLException: Syntax error converting datetime from character string.
When I enter a hard coded sting instead of the parms it works ex('2008-01-02 00:00:00')