Hi! i need some help...
I want to execute a update, update a DATETIME registry with the GETDATE() sql server function, but i don't know how to do.
I've this:
I try with this too:Code:this.simpleJdbcTemplate.update("update [dbo].[PersonaNatural] set FCExpiracion = ? where IDPersona = ? ","getdate()" , personaRut.getIdPersona());
Code:this.procGetDate = new SimpleJdbcCall(jdbcTemplate).withFunctionName("getdate"); this.simpleJdbcTemplate.update("update [dbo].[PersonaNatural] set FCExpiracion = ? where IDPersona = ? ", procGetDate.execute(), personaRut.getIdPersona());![]()



Reply With Quote
