+ 1
Is it posisible that some of the infos in the database are empty before saving it ?
If its possible..How will I do that ? Someone help me. Please.
3 ответов
+ 1
yes it can be. While creating your table you need to specify the default value for the fields or you can simply set it to null
+ 1
you can use second form to insert data in table which specifies both the column names and the values to be inserted:
INSERT INTO table_name (column1,column2,column3,...)
VALUES (value1,value2,value3,...);
provide only those columns which you want to save data & their values. remaining will be saved as per their default values as specified or set to null by default
0
But is it possible to save a program with an incomplete data to mysql database. Specially from netbeans.