+ 6

What is the answer?

When inserting data into a table: We don't have to insert values for all columns in the table Names of the columns MUST always be mentioned in the insert statement The number of columns in the insert statement and the number of columns of the table MUST be the same

21st Feb 2019, 3:49 PM
FirstSoloKiller
FirstSoloKiller - avatar
7 Respostas
+ 8
Q: We don't have to insert values for all columns in the table A: True, auto increment/identity column auto generates their value. Q: Names of the columns MUST always be mentioned in the insert statement A: Not necessarily, we can leave out fields we don't want to fill IF they have default value set, or they allow NULL. Q: The number of columns in the insert statement and the number of columns of the table MUST be the same A: Again, not necessarily, there's the auto-increment/identity field and also fields with defaults and nullable fields. This was AFAIK, I may be wrong, and if I am please correct me 👍
21st Feb 2019, 4:39 PM
Ipang
+ 10
It is a one question with three answers. What us the true answer?
21st Feb 2019, 4:42 PM
FirstSoloKiller
FirstSoloKiller - avatar
+ 10
It is choose one answer.
21st Feb 2019, 4:51 PM
FirstSoloKiller
FirstSoloKiller - avatar
+ 10
Thanks.
21st Feb 2019, 4:52 PM
FirstSoloKiller
FirstSoloKiller - avatar
+ 5
You mean it was multiple choice or choose one answer? if only one answer I'd say the first option is truthy (cmiiw)
21st Feb 2019, 4:45 PM
Ipang
+ 5
You're welcome, glad if it helps 👍
21st Feb 2019, 4:54 PM
Ipang
0
Wifi at if we?
21st Feb 2019, 10:35 PM
Michael Juersivich
Michael Juersivich - avatar