首页 > 代码库 > sql server 数据库机种 insert 语句用法insert into emproyee(e_name,e_sex)values('唐家三少',0); insert into emproyee

sql server 数据库机种 insert 语句用法insert into emproyee(e_name,e_sex)values('唐家三少',0); insert into emproyee

刚倒弄sql server 对insert 语句插入多条数据时总结下》

单条数据插入:

insert into emproyee(e_name,e_sex)values(‘唐家三少‘,0);
insert into emproyee(e_name,e_sex)select‘骷髅精灵‘,0


多条数据插入:

insert into emproyee(e_name,e_sex)select‘天蚕土豆‘,0 
union all select ‘我吃西红柿‘,0
union all select ‘逆苍天‘,0

sql server 数据库机种 insert 语句用法insert into emproyee(e_name,e_sex)values('唐家三少',0); insert into emproyee