File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Date in MS SQL Server

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
The problem here is:
Whenever i insert a date in my sql server database it takes it
as 1/1/1900 regardless of whatever date i specify and when
queried from the front-end(java) it returns it as 1/1/1899
could anyone please help me out
thanks
------------------
 
narayana satish
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check out whether it may be default date.Because some one might have created the default constraints in the date.
You can check with some other way, i.e., create your own table with the date field and try to enter into that.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic