Hi All
I want to check whether there is a record present in my database with value:
StartDate="Todays's Date"
where start date is the column name with datatype DATE.
Masood Ali
0
Newbie Poster
Recommended Answers
Jump to PostUse PreparedStatement and new Date (using java.sql.Date not java.util.Date).
If you question is how to formulate a query in general, then please find an SQL forum.
Jump to PostIf you have a query to fire , then use the SYSDATE as the standard one.
For example, on Oracle if I query as follows,"select SYSDATE from DUAL", it should get me today's date. You may need to use this as part of your query. I understand you …
All 5 Replies
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
meduri99
0
Newbie Poster
Sakthimeenakshi
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
Sakthimeenakshi
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.