Invalid SQL?
I don't understand why this doesn't work.
I have a custom "Players" column named val_last_aggressor_p defined as:
Now I want to create another column named str_last_aggressor_p for formatting purposes.
The following expression is accepted as valid:
but if I change it to
it gives me an invalid SQL error.
What gives?
I have a custom "Players" column named val_last_aggressor_p defined as:
- Code: Select all
RIGHT(cash_hand_summary.str_aggressors_p, 1)
Now I want to create another column named str_last_aggressor_p for formatting purposes.
The following expression is accepted as valid:
- Code: Select all
val_p_last_aggressor = '0'
but if I change it to
- Code: Select all
if[val_p_last_aggressor = '0', 'BTN', 'Other']
it gives me an invalid SQL error.
What gives?
