2
此功能在MySQL as shown in this post中可用,并且根据Sybase documentation也应该支持,但Sybase不提供工作示例,因此您必须解释以下:如何在Sybase ASE中使用单个INSERT语句插入多条记录
语法1用指定的表达式列值插入一行或多行。多行,如果指定,通过额外的括号
分隔所以我理解“额外的括号”的期待下面的代码与
Incorrect syntax near ',' on line 7
我上班
create table #tmp_codes (
code varchar(12) NULL
)
insert into #tmp_codes (code)
values
('AAA'),
('BBB'),
('CCC')
然而,它的错误使用Sybase ASE 15并且看不到任何插入多行的引用on this support page for the INSERT statement
I Sybase在Sybase中提供了这个功能吗?