Evaluate true/false on string saved expression
Hi,
if a have a stored expressions in a column, can I evaluate it to true or false?
for example,
I have a column with values like:
exp (column name)
1=1
1=1 and 'a'<>'b'
and want to get back:
exp eval_result
1=1 true
1=1 and 'a'<>'b' true
1=1 and 'a'='l' true
is it possible?
0
Answers
My immediate thought is to generate SQL statements to evaluate the expressions...
Example:
Or this: