Running into issues using in DB tools. I need to get the month to date average and the year to date average using in DB. I have tried to use (datetimeadd and datetimefirstofmonth) but it did not work using Formula in DB. Are there any work arounds i am not thinking of ?
Solved! Go to Solution.
Right that is what i am trying to do but i can't figure out the syntax to get that first of the month or first of the year.
Hi @Mansenie
The syntax that you use in-DB executes on the server and is dependent on the specific database you're connected to. Which one are you using, Oracle, SQL server, Teradata, etc?
Dan
I am using teradata and IBM DB2.
User | Count |
---|---|
18 | |
14 | |
13 | |
9 | |
8 |