Java Datetime Strategies with SqlServer
From: Ian Walsh (spondishy_at_tiscali.co.uk)
Date: 05/12/04
- Previous message: Axel Hallez: "Re: "No suitable driver" is a classpath problem?"
- Next in thread: Michael Rauscher: "Re: Java Datetime Strategies with SqlServer"
- Reply: Michael Rauscher: "Re: Java Datetime Strategies with SqlServer"
- Reply: Sampsa Sohlman: "Re: Java Datetime Strategies with SqlServer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 12 May 2004 06:24:29 -0700
Hi,
I'm new to Java (from a .Net background) and I'm having problems
inserting a 'datetime' field into a SqlServer Database. I can insert a
date (01/01/2004) and a time (eg 01/01/1970 15:23) but not a Datetime
(eg 01/01/2004 15:23).
Can I do this using Java.Sql? If not, what is the usual strategy for
inserting datetime values into a SqlServer database.
All help appreciated.
Thanks.
- Previous message: Axel Hallez: "Re: "No suitable driver" is a classpath problem?"
- Next in thread: Michael Rauscher: "Re: Java Datetime Strategies with SqlServer"
- Reply: Michael Rauscher: "Re: Java Datetime Strategies with SqlServer"
- Reply: Sampsa Sohlman: "Re: Java Datetime Strategies with SqlServer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|