Hi, I’m having problems again when passing a variable through a query, the other time it was for a blank space, but now I can’t find the problem.
I have the query that I attach, it works correctly passing dates to it, now I want to pass the variable “Monday” and “Friday” but it gives me an error. It is a process that will be launched on Fridays, I work with Oracle.
Lunes = now.AddDays (-5) .ToString (“dd / MM / yyyy”)
Viernes = Now.ToString (“dd / MM / yyyy”)
‘"+ Lunes +"’
‘"+ viernes +"’
It tells me that string constants have to end in double quotes.