Skip to content

"untyped" SQL function parameters #154

Answered by EvgSkv
rvalek asked this question in Q&A
Discussion options

You must be logged in to vote

We have to use SqlExpr to pass this.
So we should do something like this:

Q() = TimestampDiff(CurrentTimestamp(), CurrentTimestamp(), SqlExpr("DAY", {}));

or this:

Q() = SqlExpr("Timestamp_Diff(Current_Timestamp(), Current_Timestamp(), DAY)", {});

Let me know if you have further questions.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rvalek
Comment options

Answer selected by rvalek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants