create table tb(id int identity primary key,name varchar(10))insert into tb values('bbb') insert into tb(name) values('aaa')
create table tb(id int identity primary key,name varchar(10))insert into tb values('bbb') insert into tb(name) values('aaa')select * from tb id name ----------- ---------- 1 bbb 2 aaa(2 行受影响)drop table tb
能说详细点吗? 比如我在info表中插入一条新记录,并且主键ID为1005应该怎么插入? insert into info (1005, , , , , , , ,)//后边这么多空字段该怎么办 有没有简便的插于语句啊
create table tb(id int identity primary key,name varchar(10))insert into tb values('bbb')
insert into tb(name) values('aaa')
insert into tb(name) values('aaa')select * from tb
id name
----------- ----------
1 bbb
2 aaa(2 行受影响)drop table tb
比如我在info表中插入一条新记录,并且主键ID为1005应该怎么插入?
insert into info (1005, , , , , , , ,)//后边这么多空字段该怎么办
有没有简便的插于语句啊