Fix date truncation for HANA
This commit is contained in:
parent
aead5fe92a
commit
058f31a769
|
@ -314,7 +314,7 @@ public class CommonFunctionFactory {
|
|||
* SAP HANA
|
||||
*/
|
||||
public void trunc_roundMode() {
|
||||
trunc( "round(?1,0,round_down)", "round(?1,?2,round_down)", TruncFunction.DatetimeTrunc.FORMAT, "to_date" );
|
||||
trunc( "round(?1,0,round_down)", "round(?1,?2,round_down)", TruncFunction.DatetimeTrunc.FORMAT, "to_timestamp" );
|
||||
}
|
||||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Reference in New Issue