How To Insert Date In MicroSoft Sql Server
843859Oct 17 2007 — edited Oct 17 2007If I insert the date as "insert into <tabName> values(GETDATE())" in MicroSoft Sql Server, it is properly inserted. While inserting this through PreparedStatement, then it gives some error. How can I insert the date through PreparedStatement. What data type GETDATE() returns and is there any alternative to insert date through PreparedStatement in MicroSoft Sql Server