Check ('y',’n’)

Check ('y',’n’)
0.0 0

#1

Hi everyone! I am very new to databasing. I am trying to add a active_flag column to a PRICE table with a constraint type of CHECK (‘Y’,’N’), but I don’t quite understand how to write it. Can anyone help me?