I’m using a MS SQL database with the AppSheet app. The table has some non-null columns, which are imported into AppSheets as required columns. The initial value is set to (‘’) by the app. which makes sense, if I was using java to write to SQL, I’d set the non-null column values to ‘value’ or ‘’ for blanks. However, when I try to add a row, the operations fails, with a error message that says:
Unable to add row to table ‘Xxxxxxx’. → Cannot insert the value NULL into column ‘yyyy’, table ‘SANDBOX.zzzzzzzzz’; column does not allow nulls. INSERT fails.
Changing the database to allow null values is not an option.
@Marc_Dillon that technically works, but it seems like a work around then a solution. The default initial value the app put in is (‘’) so for a table that has 100 non-null columns, it’s trivial work to change them all (’ '). But I have tables that have more columns that are non-null. Do you happen to know of bulk changing the initial value for multiple columns at the same time?