Just wondering whether forgetful, and above all lazy, developers could get some extra help in the table editor...
I tend to forget the single quotes around a default in the table editor, which leads to a "Column not allowed" error.
E.g.
Can we add a feature that checks if the default value for character fields is enclosed in quotes, if not, add the quotes. If not, and there are quotes in the default value, double those quotes up for proper inclusion.
E.g.
I tend to forget the single quotes around a default in the table editor, which leads to a "Column not allowed" error.
E.g.
Code:
ALTER TABLE tbl ADD new_clmn CHAR(1) DFEAULT N
E.g.
- N would become 'N'
- 'N would become '''N'