This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes PreparedStatement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "PreparedStatement" Watch "PreparedStatement" New topic


Manuel Paco
Ranch Hand

Joined: Sep 23, 2001
Posts: 58
Would you please tell what is wrong with my "String query" ? . DATEVALUE('?') does not seem to work.
DATEVALUE('2001-10-10') is a MS-Access function.
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

try losing the single quotes(not necessary with preparedStatements):

it worked for me.

[This message has been edited by Jamie Robertson (edited October 17, 2001).]
Manuel Paco
Ranch Hand

Joined: Sep 23, 2001
Posts: 58
Thanks Jamie.
Have you checked out Aspose?
subject: PreparedStatement
It's not a secret anymore!