Ask SQL SERVERE how to insert a row of data intermittently, that is, a few fields and then a few fields.

ask SQL SERVERE how to insert a row of data intermittently, that is, a few fields in the first row and then several fields

Sql
Mar.18,2021

for example, there are three fields
id name age
insert into table (id) value (10);
insert into table (name,age) value ("Zhang San", 10);


look at the structure of your own watch, if you have a self-growing Id in your table

the second Insert is automatically added to the next line

if so, Insert first and then change other fields according to the Id Update that added this data


the first few fields insert, the last few fields update

Menu