how to convert JAVA string in "hh:mm dd/mm/yyyy" to sql datetime format?



Hi,
In my JAVA code I have a string in "15:45 03/17/2007" this format.
Could any one let me know how can i insert/update it on to sql
database where the column is of type datetime ? If any one has a
sample code to do this, that will be great.
Regards,
Shivaraj

.



Relevant Pages

  • .Net DateTime type and SQL DateTime type
    ... I've created an object which I persist to a SQL DB table. ... Human has a DateOfBirth property of the type DateTime. ... Then that I persist my you Human to the database. ...
    (microsoft.public.sqlserver.programming)
  • Re: how to convert JAVA string in "hh:mm dd/mm/yyyy" to sql datetime format?
    ... database where the column is of type datetime? ... I'd use String split to decompose the date and time and the use String concatenation to reassemble the parts in the form expected by SQL. ...
    (comp.lang.java.databases)
  • Re: how to convert JAVA string in "hh:mm dd/mm/yyyy" to sql datetime format?
    ... Could any one let me know how can i insert/update it on to sql ... database where the column is of type datetime? ...
    (comp.lang.java.databases)
  • Re: dbdebunk Quote of Week comment
    ... > a lot of really bad SQL programmers. ... But SQL does not have a pointer data type or the ... > being told to design a database. ... But why is little Cindy Lou Who employee ...
    (comp.databases.theory)
  • Re: DBMS and lisp, etc.
    ... Naively implemented with SQL, again for 10 ... (1 query for the initial orders, 1 query for each order for its ... soon as you upgrade to the SQL database. ... (eq (order-customer orderA) ...
    (comp.lang.lisp)