Does anyone know what the Oracle function syntax would be for the following pseudo code:
LIKE %(UPPER(VariableName))%
where VariableName is an input variable? I am trying to do both an UPPER and a LIKE command at once. I think it should look something like this:
LIKE ''% ' || UPPER('''||ElementName||''') || ' %''
but I just can't seem to get the quotes right in the function (it works as a straight SQL query, but not as a function).
Or, if anyone knows where the rules for quotes in Oracle functions are written, that would help too.
Thanks!
Codehead
LIKE %(UPPER(VariableName))%
where VariableName is an input variable? I am trying to do both an UPPER and a LIKE command at once. I think it should look something like this:
LIKE ''% ' || UPPER('''||ElementName||''') || ' %''
but I just can't seem to get the quotes right in the function (it works as a straight SQL query, but not as a function).
Or, if anyone knows where the rules for quotes in Oracle functions are written, that would help too.
Thanks!
Codehead