Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: ThomasTI am trying to use a parameter i have written as brainscript in i DBQuery to find the first day of the previous month.
str(dateAdjust(date(date().str().left(8)+"01","CCY Y-MM-DD"),-1,"months")).replace("-","")
I get the following error:
WARN: OCI Error 1741: ORA-01741: illegal zero-length identifier
Error Code: brain.node.OciUtils.cpp.83
The string i get with the code works if i type the parameter as text.
Is it that you cant use brainscript parameters as inputs in DBqueries?
Br
Thomas